Interface ResCatAPIInterface

    • Method Detail

      • getNumberOfArds

        int getNumberOfArds()
        Get number of ARDs in the currently selected repository.
        Returns:
        Number of ARDs in the repository. 0 or larger. Returns also 0 if repository does not exist.
      • viewARD_All

        Map<String,​String> viewARD_All()
        Retrieving the complete list of ARD descriptions
        Returns:
        Map(ARDId as key, ARDName as value). null if it is empty.
      • viewARD_Description

        Map<String,​String> viewARD_Description​(String ardDesc)
        Retrieving the complete list of ARD descriptions by an textual description
        Parameters:
        ardDesc - string used to search from description. Meaning of this information depends on implementation.
        Returns:
        Map(ARDId as key, ARDName as value). null if no matches are found.
      • viewARD_Capability

        Map<String,​String> viewARD_Capability​(String capability)
        Retrieving the complete list of ARD descriptions by an arbitrary capability
        Parameters:
        capability - Capability information string. Meaning of this information depends on implementation.
        Returns:
        Map(ARDId as key, ARDName as value). null if no matches are found.
      • viewARD_CapabilityParameter

        Map<String,​String> viewARD_CapabilityParameter​(String capability,
                                                             List<String> parameters,
                                                             List<String> values)
        Retrieving the complete list of ARD descriptions by an arbitrary capability and associated parameters. In order to match with the ARD, all given parameters (and possible values) must match with the capability content. I.e. if even one of parameters is not found, the ARD will not be added on the list of matches.
        Parameters:
        capability - Capability information string. Meaning of this information depends on implementation.
        parameters - List of parameter information. Meaning of this information depends on implementation.
        values - Optional. The list can be null. Links to a parameter on the parameters list. Must be same size and index as parameters list. Single item on the list can be null as well.
        Returns:
        Map(ARDId as key, ARDName as value). null if no matches are found.
      • viewARD_Category

        Map<String,​String> viewARD_Category​(String category)
        Retrieving the complete list of ARD descriptions by an arbitrary category
        Parameters:
        category - Category information string. Meaning of this information depends on implementation.
        Returns:
        Map(ARDId as key, ARDName as value). null if no matches are found.
      • viewARD_Interface

        Map<String,​String> viewARD_Interface​(String interfaceStd)
        Retrieving the complete list of ARD descriptions by an arbitrary interface standard.
        Parameters:
        interfaceStd - Interface (standard) information string. Meaning of this information depends on implementation.
        Returns:
        Map(ARDId as key, ARDName as value). null if no matches are found.
      • viewARD_Property

        Map<String,​String> viewARD_Property​(String property)
        Retrieving the complete list of ARD descriptions by an arbitrary property.
        Parameters:
        property - Property information string. Meaning of this information depends on implementation.
        Returns:
        Map(ARDId as key, ARDName as value). null if no matches are found.
      • viewProfile_ARDandCapability

        Map<String,​String> viewProfile_ARDandCapability​(String capability,
                                                              String ARDId)
                                                       throws ARDNotExistException
        Retrieving the complete list of Profiles descriptions of specific ARD containing an arbitrary capability
        Parameters:
        capability - Capability information string. Meaning of this information depends on implementation.
        ARDId - Abstract Resource Description (ARD) Id
        Returns:
        Map(ProfileId as key, Name of Profile as value). null if no matches are found.
        Throws:
        ARDNotExistException
      • viewProfile_ARDandCapabilityParameter

        Map<String,​String> viewProfile_ARDandCapabilityParameter​(String capability,
                                                                       String ARDId,
                                                                       List<String> parameters,
                                                                       List<String> values)
                                                                throws ARDNotExistException
        Retrieving the complete list of Profiles descriptions of specific ARD by an arbitrary capability and associated parameters. In order to match with the ARD and its Profile, all given parameters (and possible values) must match with the capability content. I.e. if even one of parameters is not found, the ARD's Profile will not be added on the list of matches.
        Parameters:
        capability - Capability information string. Meaning of this information depends on implementation.
        ARDId - Abstract Resource Description (ARD) Id
        parameters - List of parameter information. Meaning of this information depends on implementation.
        values - Optional. The list can be null. Links to a parameter on the parameters list. Must be same size and index as parameters list. Single item on the list can be null as well.
        Returns:
        Map(ProfileId as key, Name of Profile as value). null if no matches are found.
        Throws:
        ARDNotExistException
      • viewProfile_Capability

        Map<String,​ARDAndProfInfo> viewProfile_Capability​(String capability)
        Retrieving the complete list of ARDs and their Profiles containing an arbitrary capability
        Parameters:
        capability - Capability information string. Meaning of this information depends on implementation.
        Returns:
        Map(ARDId as key, ARDAndProfInfo as value>. null if no matches are found. (TODO Add link.)
      • viewProfile_CapabilityParameter

        Map<String,​ARDAndProfInfo> viewProfile_CapabilityParameter​(String capability,
                                                                         List<String> parameters,
                                                                         List<String> values)
        Retrieving the complete list of ARDs and their Profiles by an arbitrary capability and associated parameters. In order to match with the ARD and its Profile, all given parameters (and possible values) must match with the capability content. I.e. if even one of parameters is not found, the ARD's Profile will not be added on the list of matches. An ARD is not added, if it does not have any matching Profile(s).
        Parameters:
        capability - Capability information string. Meaning of this information depends on implementation.
        parameters - List of parameter information. Meaning of this information depends on implementation.
        values - Optional. The list can be null. Links to a parameter on the parameters list. Must be same size and index as parameters list. Single item on the list can be null as well.
        Returns:
        Map(ARDId as key, ARDAndProfInfo as value). null if no matches are found.
      • viewProfile_Category

        Map<String,​ARDAndProfInfo> viewProfile_Category​(String category)
        Retrieving the complete list of ARDs and their Profiles containing an arbitrary category
        Parameters:
        category - Category information string. Meaning of this information depends on implementation.
        Returns:
        Map(ARDId as key, ARDAndProfInfo as value>. null if no matches are found. (TODO Add link.)
      • viewProfile_Interface

        Map<String,​ARDAndProfInfo> viewProfile_Interface​(String interfaceStd)
        Retrieving the complete list of ARDs and their Profiles containing an arbitrary interface standard
        Parameters:
        interfaceStd - Interface (standard) information string. Meaning of this information depends on implementation.
        Returns:
        Map(ARDId as key, ARDAndProfInfo as value>. null if no matches are found. (TODO Add link.)
      • viewProfile_Property

        Map<String,​ARDAndProfInfo> viewProfile_Property​(String property)
        Retrieving the complete list of ARDs and their Profiles containing an arbitrary property
        Parameters:
        property - Property information string. Meaning of this information depends on implementation.
        Returns:
        Map(ARDId as key, ARDAndProfInfo as value>. null if no matches are found. (TODO Add link.)
      • getNumberOfRds

        int getNumberOfRds()
        Get number of RDs in the currently selected repository.
        Returns:
        Number of RDs in the repository. 0 or larger. Returns also 0 if repository does not exist.
      • viewRD_All

        Map<String,​String> viewRD_All()
        Retrieving the complete list of RD descriptions
        Returns:
        Map(RDId as key, Name of RD as value). null if it is empty.
      • viewRD_Description

        Map<String,​String> viewRD_Description​(String rdDesc)
        Retrieving the complete list of RD descriptions by an arbitrary RD related description
        Parameters:
        rdDesc - Description information string. Meaning of this information depends on implementation.
        Returns:
        Map(RDId as key, Name of RD as value). null if no matches are found.
      • viewRD_Capability

        Map<String,​String> viewRD_Capability​(String capability)
        Retrieving the complete list of RD descriptions by an arbitrary capability
        Parameters:
        capability - Capability information string. Meaning of this information depends on implementation.
        Returns:
        Map(RDId as key, Name of RD as value). null if no matches are found.
      • viewRD_CapabilityParameter

        Map<String,​String> viewRD_CapabilityParameter​(String capability,
                                                            List<String> parameters,
                                                            List<String> values)
        Retrieving the complete list of RD descriptions by an arbitrary capability and associated parameters. In order to match with the RD all given parameters (and possible values) must match with the capability content. I.e. if even one of parameters is not found, the RD will not be added on the list of matches.
        Parameters:
        capability - Capability information string. Meaning of this information depends on implementation.
        parameters - List of parameter information. Meaning of this information depends on implementation.
        values - Optional. The list can be null. Links to a parameter on the parameters list. Must be same size and index as parameters list. Single item on the list can be null as well.
        Returns:
        Map(RDId as key, RDName as value). null if no matches are found.
      • viewRD_Category

        Map<String,​String> viewRD_Category​(String category)
        Retrieving the complete list of RD descriptions by an arbitrary category
        Parameters:
        category - Category information string. Meaning of this information depends on implementation.
        Returns:
        Map(RDId as key, RDName as value). null if no matches are found.
      • viewRD_Interface

        Map<String,​String> viewRD_Interface​(String interfaceStd)
        Retrieving the complete list of RD descriptions by an arbitrary interface standard
        Parameters:
        interfaceStd - Interface (standard) information string. Meaning of this information depends on implementation.
        Returns:
        Map(RDId as key, Name of RD as value). null if no matches are found.
      • viewRD_Property

        Map<String,​String> viewRD_Property​(String property)
        Retrieving the complete list of RD descriptions by an arbitrary property
        Parameters:
        property - Property information string. Meaning of this information depends on implementation.
        Returns:
        Map(RDId as key, Name of RD as value). null if no matches are found.