org.gcube.application.aquamaps.aquamapsspeciesview.servlet.utils
Class Utils

java.lang.Object
  extended by org.gcube.application.aquamaps.aquamapsspeciesview.servlet.utils.Utils

public class Utils
extends Object


Field Summary
static String xmlHeader
           
 
Constructor Summary
Utils()
           
 
Method Summary
static String dateFormatter(Date time)
           
static Collection<String> getAvailableScopes()
           
static org.gcube.application.framework.core.session.ASLSession getSession(javax.servlet.http.HttpSession httpSession)
           
static String removeVRE(String currentScope)
          Returns the enclosing VO scope in case currentScope is a VRE, otherwise the passed scope itself
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlHeader

public static final String xmlHeader
See Also:
Constant Field Values
Constructor Detail

Utils

public Utils()
Method Detail

dateFormatter

public static String dateFormatter(Date time)

getSession

public static org.gcube.application.framework.core.session.ASLSession getSession(javax.servlet.http.HttpSession httpSession)
                                                                          throws Exception
Throws:
Exception

getAvailableScopes

public static Collection<String> getAvailableScopes()
                                             throws Exception
Throws:
Exception

removeVRE

public static String removeVRE(String currentScope)
Returns the enclosing VO scope in case currentScope is a VRE, otherwise the passed scope itself

Parameters:
currentScope -
Returns:


Copyright © 2014. All Rights Reserved.