public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addFetchedBasketId(org.gcube.application.framework.core.session.ASLSession session,
int objId) |
static String |
dateFormatter(Date time) |
static Collection<String> |
getAvailableScopes() |
static org.gcube.application.framework.core.session.ASLSession |
getSession(javax.servlet.http.HttpSession httpSession) |
static SettingsDescriptor |
getStats(org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Job job) |
static org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Envelope |
loadCustomizations(org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Envelope toUpdate,
String speciesId,
org.gcube.application.framework.core.session.ASLSession session) |
static org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Job |
loadSettings(org.gcube.application.framework.core.session.ASLSession session,
boolean fetchSpeciesIDs,
boolean fetchResources) |
static String |
removeVRE(String currentScope)
Returns the enclosing VO scope in case currentScope is a VRE, otherwise the passed scope itself
|
public static final String xmlHeader
public static org.gcube.application.framework.core.session.ASLSession getSession(javax.servlet.http.HttpSession httpSession)
throws Exception
Exceptionpublic static void addFetchedBasketId(org.gcube.application.framework.core.session.ASLSession session,
int objId)
throws Exception
Exceptionpublic static org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Envelope loadCustomizations(org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Envelope toUpdate,
String speciesId,
org.gcube.application.framework.core.session.ASLSession session)
throws Exception
Exceptionpublic static org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Job loadSettings(org.gcube.application.framework.core.session.ASLSession session,
boolean fetchSpeciesIDs,
boolean fetchResources)
throws Exception
Exceptionpublic static SettingsDescriptor getStats(org.gcube.application.aquamaps.aquamapsservice.stubs.datamodel.enhanced.Job job) throws Exception
Exceptionpublic static Collection<String> getAvailableScopes() throws Exception
ExceptionCopyright © 2016. All Rights Reserved.