Class UseCaseDescriptorCaller


  • public class UseCaseDescriptorCaller
    extends Object
    The Class UseCaseDescriptorCaller.
    Author:
    Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Sep 14, 2022
    • Constructor Detail

      • UseCaseDescriptorCaller

        public UseCaseDescriptorCaller()
    • 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 path
        listValues - 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 ID
        theHandlerType - 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
      • readTemporalDimensionTemplate

        public org.bson.Document readTemporalDimensionTemplate​(String profileID)
                                                        throws Exception
        Read temporal dimension template.
        Parameters:
        profileID - the profile ID
        Returns:
        the document
        Throws:
        Exception - the exception