Class ValidValuesHandler<VALID_VALUE,​VALID_VALUE_ASSIGNMENT,​VALID_VALUE_ASSIGNMENT_DEF,​VALID_VALUE_IMPLEMENTATION,​VALID_VALUE_IMPLEMENTATION_DEF,​VALID_VALUE_MAPPING,​REFERENCE_VALUE_ASSIGNMENT,​REFERENCE_VALUE_ASSIGNED_ITEM>


  • public class ValidValuesHandler<VALID_VALUE,​VALID_VALUE_ASSIGNMENT,​VALID_VALUE_ASSIGNMENT_DEF,​VALID_VALUE_IMPLEMENTATION,​VALID_VALUE_IMPLEMENTATION_DEF,​VALID_VALUE_MAPPING,​REFERENCE_VALUE_ASSIGNMENT,​REFERENCE_VALUE_ASSIGNED_ITEM>
    extends ReferenceableHandler<VALID_VALUE>
    ValidValuesHandler provides the methods to create and maintain lists of valid value definitions grouped into a valid value set. Both valid value definitions and valid value sets have the same attributes and so inherit from ValidValue where all of the attributes are defined.

    A set is just grouping of valid values. Valid value definitions and set can be nested many times in other valid value sets.

    • Constructor Detail

    • Method Detail

      • createValidValueSet

        public String createValidValueSet​(String userId,
                                          String externalSourceGUID,
                                          String externalSourceName,
                                          String qualifiedName,
                                          String displayName,
                                          String description,
                                          String usage,
                                          String scope,
                                          boolean isDeprecated,
                                          Map<String,​String> additionalProperties,
                                          Map<String,​Object> extendedProperties,
                                          Date effectiveFrom,
                                          Date effectiveTo,
                                          String methodName)
                                   throws InvalidParameterException,
                                          UserNotAuthorizedException,
                                          PropertyServerException
        Create a new valid value set. This just creates the Set itself. Members are added either as they are created, or they can be attached to a set after they are created.
        Parameters:
        userId - calling user.
        externalSourceGUID - guid of the software server capability entity that represented the external source - null for local
        externalSourceName - name of the software server capability entity that represented the external source
        qualifiedName - unique name.
        displayName - displayable descriptive name.
        description - further information.
        usage - how/when should this set be used.
        scope - what is the scope of this set's values.
        isDeprecated - is the valid value deprecated
        additionalProperties - additional properties for this set.
        extendedProperties - properties that need to be populated into a subtype.
        effectiveFrom - starting time for this relationship (null for all time)
        effectiveTo - ending time for this relationship (null for all time)
        methodName - calling method
        Returns:
        unique identifier for the new set
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • createValidValueDefinition

        public String createValidValueDefinition​(String userId,
                                                 String externalSourceGUID,
                                                 String externalSourceName,
                                                 String setGUID,
                                                 String qualifiedName,
                                                 String displayName,
                                                 String description,
                                                 String usage,
                                                 String scope,
                                                 String preferredValue,
                                                 boolean isDeprecated,
                                                 Map<String,​String> additionalProperties,
                                                 Map<String,​Object> extendedProperties,
                                                 Date effectiveFrom,
                                                 Date effectiveTo,
                                                 String methodName)
                                          throws InvalidParameterException,
                                                 UserNotAuthorizedException,
                                                 PropertyServerException
        Create a new valid value definition.
        Parameters:
        userId - calling user.
        externalSourceGUID - guid of the software server capability entity that represented the external source - null for local
        externalSourceName - name of the software server capability entity that represented the external source
        setGUID - unique identifier of the set to attach this to.
        qualifiedName - unique name.
        displayName - displayable descriptive name.
        description - further information.
        usage - how/when should this value be used.
        scope - what is the scope of the values.
        preferredValue - the value that should be used in an implementation if possible.
        isDeprecated - is the valid value deprecated
        additionalProperties - additional properties for this definition.
        extendedProperties - properties that need to be populated into a subtype.
        effectiveFrom - starting time for this relationship (null for all time)
        effectiveTo - ending time for this relationship (null for all time)
        methodName - calling method
        Returns:
        unique identifier for the new definition
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • updateValidValue

        public void updateValidValue​(String userId,
                                     String externalSourceGUID,
                                     String externalSourceName,
                                     String validValueGUID,
                                     String qualifiedName,
                                     String displayName,
                                     String description,
                                     String usage,
                                     String scope,
                                     String preferredValue,
                                     boolean isDeprecated,
                                     Map<String,​String> additionalProperties,
                                     Map<String,​Object> extendedProperties,
                                     Date effectiveFrom,
                                     Date effectiveTo,
                                     String methodName)
                              throws InvalidParameterException,
                                     UserNotAuthorizedException,
                                     PropertyServerException
        Update the properties of the valid value. All properties are updated. If only changing some if the properties, retrieve the current values from the repository and pass existing values back on this call if they are not to change.
        Parameters:
        userId - calling user.
        externalSourceGUID - guid of the software server capability entity that represented the external source - null for local
        externalSourceName - name of the software server capability entity that represented the external source
        validValueGUID - unique identifier of the valid value.
        qualifiedName - unique name.
        displayName - displayable descriptive name.
        description - further information.
        usage - how/when should this value be used.
        scope - what is the scope of the values.
        preferredValue - the value that should be used in an implementation if possible.
        isDeprecated - is the valid value deprecated
        additionalProperties - additional properties for this valid value.
        extendedProperties - properties that need to be populated into a subtype.
        effectiveFrom - starting time for this relationship (null for all time)
        effectiveTo - ending time for this relationship (null for all time)
        methodName - calling method
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • deleteValidValue

        public void deleteValidValue​(String userId,
                                     String externalSourceGUID,
                                     String externalSourceName,
                                     String validValueGUID,
                                     String qualifiedName,
                                     String methodName)
                              throws InvalidParameterException,
                                     UserNotAuthorizedException,
                                     PropertyServerException
        Remove the valid value form the repository. All links to it are deleted too.
        Parameters:
        userId - calling user
        externalSourceGUID - guid of the software server capability entity that represented the external source - null for local
        externalSourceName - name of the software server capability entity that represented the external source
        validValueGUID - unique identifier of the value to delete
        qualifiedName - unique name of the value to delete. This is used to verify that the correct valid value is being deleted.
        methodName - calling method
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • attachValidValueToSet

        public void attachValidValueToSet​(String userId,
                                          String externalSourceGUID,
                                          String externalSourceName,
                                          String setGUID,
                                          String validValueGUID,
                                          Date effectiveFrom,
                                          Date effectiveTo,
                                          String methodName)
                                   throws InvalidParameterException,
                                          UserNotAuthorizedException,
                                          PropertyServerException
        Create a link between a valid value set or definition and a set. This means the valid value is a member of the set.
        Parameters:
        userId - calling user.
        externalSourceGUID - guid of the software server capability entity that represented the external source - null for local
        externalSourceName - name of the software server capability entity that represented the external source
        setGUID - unique identifier of the set.
        validValueGUID - unique identifier of the valid value to add to the set.
        effectiveFrom - starting time for this relationship (null for all time)
        effectiveTo - ending time for this relationship (null for all time)
        methodName - calling method
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • detachValidValueFromSet

        public void detachValidValueFromSet​(String userId,
                                            String externalSourceGUID,
                                            String externalSourceName,
                                            String setGUID,
                                            String validValueGUID,
                                            Date effectiveTime,
                                            String methodName)
                                     throws InvalidParameterException,
                                            UserNotAuthorizedException,
                                            PropertyServerException
        Remove the link between a valid value and a set it is a member of.
        Parameters:
        userId - calling user
        externalSourceGUID - guid of the software server capability entity that represented the external source - null for local
        externalSourceName - name of the software server capability entity that represented the external source
        setGUID - owning set
        validValueGUID - unique identifier of the member to be removed.
        effectiveTime - the time that the retrieved elements must be effective for
        methodName - calling method
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • linkValidValueToImplementation

        public void linkValidValueToImplementation​(String userId,
                                                   String externalSourceGUID,
                                                   String externalSourceName,
                                                   String validValueGUID,
                                                   String assetGUID,
                                                   String symbolicName,
                                                   String implementationValue,
                                                   Map<String,​String> additionalValues,
                                                   Date effectiveFrom,
                                                   Date effectiveTo,
                                                   String methodName)
                                            throws InvalidParameterException,
                                                   UserNotAuthorizedException,
                                                   PropertyServerException
        Link a valid value to an asset that provides the implementation. Typically this method is used to link a valid value set to a code table.
        Parameters:
        userId - calling user.
        externalSourceGUID - guid of the software server capability entity that represented the external source - null for local
        externalSourceName - name of the software server capability entity that represented the external source
        validValueGUID - unique identifier of the valid value.
        assetGUID - unique identifier of the asset that implements the valid value.
        symbolicName - lookup name for valid value
        implementationValue - value used in implementation
        additionalValues - additional values stored under the symbolic name
        effectiveFrom - starting time for this relationship (null for all time)
        effectiveTo - ending time for this relationship (null for all time)
        methodName - calling method
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • unlinkValidValueFromImplementation

        public void unlinkValidValueFromImplementation​(String userId,
                                                       String externalSourceGUID,
                                                       String externalSourceName,
                                                       String validValueGUID,
                                                       String assetGUID,
                                                       Date effectiveTime,
                                                       String methodName)
                                                throws InvalidParameterException,
                                                       UserNotAuthorizedException,
                                                       PropertyServerException
        Remove the link between a valid value and an implementing asset.
        Parameters:
        userId - calling user.
        externalSourceGUID - guid of the software server capability entity that represented the external source - null for local
        externalSourceName - name of the software server capability entity that represented the external source
        validValueGUID - unique identifier of the valid value.
        assetGUID - unique identifier of the asset that used to implement the valid value.
        effectiveTime - the time that the retrieved elements must be effective for
        methodName - calling method
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • assignValidValueToConsumer

        public void assignValidValueToConsumer​(String userId,
                                               String externalSourceGUID,
                                               String externalSourceName,
                                               String validValueGUID,
                                               String consumerGUID,
                                               boolean strictRequirement,
                                               Date effectiveFrom,
                                               Date effectiveTo,
                                               String methodName)
                                        throws InvalidParameterException,
                                               UserNotAuthorizedException,
                                               PropertyServerException
        Link a valid value typically to a schema element or glossary term to show that it uses the valid values.
        Parameters:
        userId - calling user.
        externalSourceGUID - guid of the software server capability entity that represented the external source - null for local
        externalSourceName - name of the software server capability entity that represented the external source
        validValueGUID - unique identifier of the valid value.
        consumerGUID - unique identifier of the element to link to.
        strictRequirement - the valid values defines the only values that are permitted.
        effectiveFrom - starting time for this relationship (null for all time)
        effectiveTo - ending time for this relationship (null for all time)
        methodName - calling method
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • unassignValidValueFromConsumer

        public void unassignValidValueFromConsumer​(String userId,
                                                   String externalSourceGUID,
                                                   String externalSourceName,
                                                   String validValueGUID,
                                                   String consumerGUID,
                                                   Date effectiveTime,
                                                   String methodName)
                                            throws InvalidParameterException,
                                                   UserNotAuthorizedException,
                                                   PropertyServerException
        Remove the link between a valid value and a consumer.
        Parameters:
        userId - calling user.
        externalSourceGUID - guid of the software server capability entity that represented the external source - null for local
        externalSourceName - name of the software server capability entity that represented the external source
        validValueGUID - unique identifier of the valid value.
        consumerGUID - unique identifier of the element to remove the link from.
        effectiveTime - the time that the retrieved elements must be effective for
        methodName - calling method
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • assignReferenceValueToItem

        public void assignReferenceValueToItem​(String userId,
                                               String externalSourceGUID,
                                               String externalSourceName,
                                               String validValueGUID,
                                               String referenceableGUID,
                                               int confidence,
                                               String steward,
                                               String notes,
                                               Date effectiveFrom,
                                               Date effectiveTo,
                                               String methodName)
                                        throws InvalidParameterException,
                                               UserNotAuthorizedException,
                                               PropertyServerException
        Link a valid value as a reference value to a referencable to act as a tag/classification to help with locating and grouping the referenceable.
        Parameters:
        userId - calling user.
        externalSourceGUID - guid of the software server capability entity that represented the external source - null for local
        externalSourceName - name of the software server capability entity that represented the external source
        validValueGUID - unique identifier of the valid value.
        referenceableGUID - unique identifier of the element to link to.
        confidence - how confident is the steward that this mapping is correct (0-100).
        steward - identifier of steward
        notes - additional notes from the steward
        effectiveFrom - starting time for this relationship (null for all time)
        effectiveTo - ending time for this relationship (null for all time)
        methodName - calling method
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • unassignReferenceValueFromItem

        public void unassignReferenceValueFromItem​(String userId,
                                                   String externalSourceGUID,
                                                   String externalSourceName,
                                                   String validValueGUID,
                                                   String referenceableGUID,
                                                   Date effectiveTime,
                                                   String methodName)
                                            throws InvalidParameterException,
                                                   UserNotAuthorizedException,
                                                   PropertyServerException
        Remove the reference value link between a valid value and a referenceable (item).
        Parameters:
        userId - calling user.
        externalSourceGUID - guid of the software server capability entity that represented the external source - null for local
        externalSourceName - name of the software server capability entity that represented the external source
        validValueGUID - unique identifier of the valid value.
        referenceableGUID - unique identifier of the element to remove the link from.
        effectiveTime - time that the retrieved elements must be effective for
        methodName - calling method
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • mapValidValues

        public void mapValidValues​(String userId,
                                   String externalSourceGUID,
                                   String externalSourceName,
                                   String validValue1GUID,
                                   String validValue2GUID,
                                   String associationDescription,
                                   int confidence,
                                   String steward,
                                   String notes,
                                   Date effectiveFrom,
                                   Date effectiveTo,
                                   String methodName)
                            throws InvalidParameterException,
                                   UserNotAuthorizedException,
                                   PropertyServerException
        Link together 2 valid values from different sets that have equivalent values/meanings.
        Parameters:
        userId - calling user.
        externalSourceGUID - guid of the software server capability entity that represented the external source - null for local
        externalSourceName - name of the software server capability entity that represented the external source
        validValue1GUID - unique identifier of the valid value.
        validValue2GUID - unique identifier of the other valid value to link to.
        associationDescription - how are the valid values related?
        confidence - how confident is the steward that this mapping is correct (0-100).
        steward - identifier of steward
        notes - additional notes from the steward
        effectiveFrom - starting time for this relationship (null for all time)
        effectiveTo - ending time for this relationship (null for all time)
        methodName - calling method
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • unmapValidValues

        public void unmapValidValues​(String userId,
                                     String externalSourceGUID,
                                     String externalSourceName,
                                     String validValue1GUID,
                                     String validValue2GUID,
                                     Date effectiveTime,
                                     String methodName)
                              throws InvalidParameterException,
                                     UserNotAuthorizedException,
                                     PropertyServerException
        Remove the reference value link between a valid value and a referenceable (item).
        Parameters:
        userId - calling user.
        externalSourceGUID - guid of the software server capability entity that represented the external source - null for local
        externalSourceName - name of the software server capability entity that represented the external source
        validValue1GUID - unique identifier of the valid value.
        validValue2GUID - unique identifier of the other valid value element to remove the link from.
        effectiveTime - the time that the retrieved elements must be effective for
        methodName - calling method
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • getValidValueByName

        public List<VALID_VALUE> getValidValueByName​(String userId,
                                                     String name,
                                                     String nameParameterName,
                                                     int startFrom,
                                                     int pageSize,
                                                     Date effectiveTime,
                                                     String methodName)
                                              throws InvalidParameterException,
                                                     UserNotAuthorizedException,
                                                     PropertyServerException
        Retrieve a specific valid value from the repository. Duplicates may be returned if multiple valid values have been assigned the same qualified name.
        Parameters:
        userId - calling user
        name - name to search for - this must be an exact match on the display name or qualified name
        nameParameterName - property that provided the name
        startFrom - starting element (used in paging through large result sets)
        pageSize - maximum number of results to return
        effectiveTime - the time that the retrieved elements must be effective for
        methodName - calling method
        Returns:
        Valid value beans
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • findValidValues

        public List<VALID_VALUE> findValidValues​(String userId,
                                                 String searchString,
                                                 String searchStringParameterName,
                                                 int startFrom,
                                                 int pageSize,
                                                 Date effectiveTime,
                                                 String methodName)
                                          throws InvalidParameterException,
                                                 UserNotAuthorizedException,
                                                 PropertyServerException
        Locate valid values that match the search string. It considers the names, description, scope, usage and preferred value.
        Parameters:
        userId - calling user
        searchString - string value to look for - may contain RegEx characters.
        searchStringParameterName - name of parameter providing search string
        startFrom - paging starting point
        pageSize - maximum number of return values.
        effectiveTime - the time that the retrieved elements must be effective for
        methodName - calling method
        Returns:
        list of valid value beans
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • getValidValueSetMembers

        public List<VALID_VALUE> getValidValueSetMembers​(String userId,
                                                         String validValueSetGUID,
                                                         String validValueSetGUIDParameter,
                                                         int startFrom,
                                                         int pageSize,
                                                         Date effectiveTime,
                                                         String methodName)
                                                  throws InvalidParameterException,
                                                         UserNotAuthorizedException,
                                                         PropertyServerException
        Page through the members of a valid value set.
        Parameters:
        userId - calling user
        validValueSetGUID - unique identifier of the valid value set
        validValueSetGUIDParameter - name of parameter providing the validValueSetGUID
        startFrom - paging starting point
        pageSize - maximum number of return values.
        effectiveTime - the time that the retrieved elements must be effective for
        methodName - calling method
        Returns:
        list of valid value beans
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • getSetsForValidValue

        public List<VALID_VALUE> getSetsForValidValue​(String userId,
                                                      String validValueGUID,
                                                      String validValueGUIDParameter,
                                                      int startFrom,
                                                      int pageSize,
                                                      Date effectiveTime,
                                                      String methodName)
                                               throws InvalidParameterException,
                                                      UserNotAuthorizedException,
                                                      PropertyServerException
        Page through the list of valid value sets that a valid value definition/set belongs to.
        Parameters:
        userId - calling user
        validValueGUID - unique identifier of valid value to query
        validValueGUIDParameter - parameter name providing the validValueGUID
        startFrom - paging starting point
        pageSize - maximum number of return values.
        effectiveTime - the time that the retrieved elements must be effective for
        methodName - calling method
        Returns:
        list of valid value beans
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • getValidValuesAssignmentConsumers

        public List<VALID_VALUE_ASSIGNMENT> getValidValuesAssignmentConsumers​(String userId,
                                                                              String validValueGUID,
                                                                              String validValueGUIDParameter,
                                                                              List<String> serviceSupportedZones,
                                                                              int startFrom,
                                                                              int pageSize,
                                                                              Date effectiveTime,
                                                                              String methodName)
                                                                       throws InvalidParameterException,
                                                                              UserNotAuthorizedException,
                                                                              PropertyServerException
        Page through the list of consumers for a valid value.
        Parameters:
        userId - calling user
        validValueGUID - unique identifier of valid value to query
        validValueGUIDParameter - parameter name for validValueGUID
        serviceSupportedZones - list of zones that define which assets can be retrieved.
        startFrom - paging starting point
        pageSize - maximum number of return values.
        effectiveTime - the time that the retrieved elements must be effective for
        methodName - calling method
        Returns:
        list of valid value consumer beans
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • getValidValuesAssignmentDefinition

        public List<VALID_VALUE_ASSIGNMENT_DEF> getValidValuesAssignmentDefinition​(String userId,
                                                                                   String referenceableGUID,
                                                                                   String referenceableGUIDParameter,
                                                                                   int startFrom,
                                                                                   int pageSize,
                                                                                   Date effectiveTime,
                                                                                   String methodName)
                                                                            throws InvalidParameterException,
                                                                                   UserNotAuthorizedException,
                                                                                   PropertyServerException
        Page through the list of valid values assigned to referenceable element.
        Parameters:
        userId - calling user
        referenceableGUID - unique identifier of anchoring referenceable
        referenceableGUIDParameter - name of parameter for referenceableGUID
        startFrom - paging starting point
        pageSize - maximum number of return values.
        effectiveTime - the time that the retrieved elements must be effective for
        methodName - calling method
        Returns:
        list of valid value consumer beans
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • getValidValuesImplementationAssets

        public List<VALID_VALUE_IMPLEMENTATION> getValidValuesImplementationAssets​(String userId,
                                                                                   String validValueGUID,
                                                                                   String validValueGUIDParameter,
                                                                                   List<String> serviceSupportedZones,
                                                                                   int startFrom,
                                                                                   int pageSize,
                                                                                   Date effectiveTime,
                                                                                   String methodName)
                                                                            throws InvalidParameterException,
                                                                                   UserNotAuthorizedException,
                                                                                   PropertyServerException
        Page through the list of implementations for a valid value.
        Parameters:
        userId - calling user
        validValueGUID - unique identifier of valid value to query
        validValueGUIDParameter - parameter supplying the validValueGUID value
        serviceSupportedZones - list of zones that define which assets can be retrieved.
        startFrom - paging starting point
        pageSize - maximum number of return values.
        effectiveTime - the time that the retrieved elements must be effective for
        methodName - calling method
        Returns:
        list of valid value beans
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • getValidValuesImplementationDefinitions

        public List<VALID_VALUE_IMPLEMENTATION_DEF> getValidValuesImplementationDefinitions​(String userId,
                                                                                            String assetGUID,
                                                                                            String assetGUIDParameter,
                                                                                            int startFrom,
                                                                                            int pageSize,
                                                                                            Date effectiveTime,
                                                                                            String methodName)
                                                                                     throws InvalidParameterException,
                                                                                            UserNotAuthorizedException,
                                                                                            PropertyServerException
        Page through the list of valid values defining the content of a reference data asset. This is always called from the assetHandler after it has checked that the asset is in the right zone.
        Parameters:
        userId - calling user
        assetGUID - unique identifier of asset to query
        assetGUIDParameter - parameter providing the assetGUID value
        startFrom - paging starting point
        pageSize - maximum number of return values.
        effectiveTime - the time that the retrieved elements must be effective for
        methodName - calling method
        Returns:
        list of valid value beans
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • getValidValueMappings

        public List<VALID_VALUE_MAPPING> getValidValueMappings​(String userId,
                                                               String validValueGUID,
                                                               String validValueGUIDParameter,
                                                               int startFrom,
                                                               int pageSize,
                                                               Date effectiveTime,
                                                               String methodName)
                                                        throws InvalidParameterException,
                                                               UserNotAuthorizedException,
                                                               PropertyServerException
        Page through the list of mappings for a valid value. These are other valid values from different valid value sets that are equivalent in some way. The association description covers the type of association.
        Parameters:
        userId - calling user
        validValueGUID - unique identifier of valid value to query
        validValueGUIDParameter - name of parameter supplying the validValueGUID
        startFrom - paging starting point
        pageSize - maximum number of return values.
        effectiveTime - the time that the retrieved elements must be effective for
        methodName - calling method
        Returns:
        list of mappings to other valid value beans
        Throws:
        InvalidParameterException - one of the parameters is invalid.
        UserNotAuthorizedException - the user is not authorized to make this request.
        PropertyServerException - the repository is not available or not working properly.
      • getReferenceValueAssignedItems

        public List<REFERENCE_VALUE_ASSIGNED_ITEM> getReferenceValueAssignedItems​(String userId,
                                                                                  String validValueGUID,
                                                                                  String validValueGUIDParameter,
                                                                                  List<String> serviceSupportedZones,
                                                                                  int startFrom,
                                                                                  int pageSize,
                                                                                  Date effectiveTime,
                                                                                  String methodName)
                                                                           throws InvalidParameterException,
                                                                                  UserNotAuthorizedException,
                                                                                  PropertyServerException
        Page through the list of referenceables that have this valid value as a reference value.
        Parameters:
        userId - calling user
        validValueGUID - unique identifier of valid value to query
        validValueGUIDParameter - name of parameter that provides the validValueGUID value
        serviceSupportedZones - list of zones that define which assets can be retrieved
        startFrom - paging starting point
        pageSize - maximum number of return values
        effectiveTime - the time that the retrieved elements must be effective for
        methodName - calling method
        Returns:
        list of referenceable beans
        Throws:
        InvalidParameterException - one of the parameters is invalid
        UserNotAuthorizedException - the user is not authorized to make this request
        PropertyServerException - the repository is not available or not working properly