Class UseCaseDescriptorCaller
- java.lang.Object
-
- org.gcube.application.geoportalcommon.geoportal.UseCaseDescriptorCaller
-
public class UseCaseDescriptorCaller extends Object
The Class UseCaseDescriptorCaller.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Sep 14, 2022
-
-
Field Summary
Fields Modifier and Type Field Description static StringTIMELINE_CONFIG_TJT_DOCUMENT
-
Constructor Summary
Constructors Constructor Description UseCaseDescriptorCaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.gcube.application.geoportal.common.model.useCaseDescriptor.HandlerDeclaration>getHandlersByType(String profileID, String theHandlerType)Gets the handlers by type.List<org.gcube.application.geoportal.common.model.useCaseDescriptor.UseCaseDescriptor>getList()Gets the list.List<org.gcube.application.geoportal.common.model.useCaseDescriptor.UseCaseDescriptor>getListForHandlerIds(List<String> listHandlersIds)Gets the list for handler ids.List<org.gcube.application.geoportal.common.model.useCaseDescriptor.UseCaseDescriptor>getListForJSONPath(String jsonPath, List<String> listValues)Gets the list for JSON path.List<org.gcube.application.geoportal.common.model.useCaseDescriptor.RelationshipDefinition>getRelationshipDefinitions(String profileID)Gets the relationship definitions.org.gcube.application.geoportal.common.model.useCaseDescriptor.UseCaseDescriptorgetUCDForId(String profileID)Gets the UCD for id.org.bson.DocumentreadTemporalDimensionTemplate(String profileID)Read temporal dimension template.org.gcube.application.geoportal.common.rest.UseCaseDescriptorsIuseCaseDescriptorsClient()Use case descriptors client.
-
-
-
Field Detail
-
TIMELINE_CONFIG_TJT_DOCUMENT
public static final String TIMELINE_CONFIG_TJT_DOCUMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
useCaseDescriptorsClient
public org.gcube.application.geoportal.common.rest.UseCaseDescriptorsI useCaseDescriptorsClient()
Use case descriptors client.- Returns:
- the use case descriptors I
-
getList
public List<org.gcube.application.geoportal.common.model.useCaseDescriptor.UseCaseDescriptor> getList() throws Exception
Gets the list.- Returns:
- the list
- Throws:
Exception- the exception
-
getListForHandlerIds
public List<org.gcube.application.geoportal.common.model.useCaseDescriptor.UseCaseDescriptor> getListForHandlerIds(List<String> listHandlersIds) throws Exception
Gets the list for handler ids.- Parameters:
listHandlersIds- the list handlers ids- Returns:
- the list for handler ids
- Throws:
Exception- the exception
-
getListForJSONPath
public List<org.gcube.application.geoportal.common.model.useCaseDescriptor.UseCaseDescriptor> getListForJSONPath(String jsonPath, List<String> listValues) throws Exception
Gets the list for JSON path.- Parameters:
jsonPath- the json pathlistValues- the list values- Returns:
- the list for JSON path
- Throws:
Exception- the exception
-
getUCDForId
public org.gcube.application.geoportal.common.model.useCaseDescriptor.UseCaseDescriptor getUCDForId(String profileID) throws Exception
Gets the UCD for id.- Parameters:
profileID- the profile ID- Returns:
- the UCD for id
- Throws:
Exception- the exception
-
getHandlersByType
public List<org.gcube.application.geoportal.common.model.useCaseDescriptor.HandlerDeclaration> getHandlersByType(String profileID, String theHandlerType) throws Exception
Gets the handlers by type.- Parameters:
profileID- the profile IDtheHandlerType- the the handler type- Returns:
- the handlers by type
- Throws:
Exception- the exception
-
getRelationshipDefinitions
public List<org.gcube.application.geoportal.common.model.useCaseDescriptor.RelationshipDefinition> getRelationshipDefinitions(String profileID) throws Exception
Gets the relationship definitions.- Parameters:
profileID- the profile ID- Returns:
- the relationship definitions
- Throws:
Exception- the exception
-
-