Class CloudDirectoryUtils


  • public class CloudDirectoryUtils
    extends java.lang.Object
    Since:
    5.2.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.amazonaws.services.clouddirectory.model.AttributeKeyAndValue getAttributeKeyValueByName​(com.amazonaws.services.clouddirectory.model.ListObjectAttributesResult attributesResult, java.lang.String attributeName)
      Gets attribute key value by name.
      static com.amazonaws.services.clouddirectory.model.ListIndexRequest getListIndexRequest​(java.lang.String attributeName, java.lang.String attributeValue, com.amazonaws.services.clouddirectory.model.ObjectReference reference, org.apereo.cas.configuration.model.support.clouddirectory.CloudDirectoryProperties cloud)
      Gets list index request.
      static com.amazonaws.services.clouddirectory.model.ListObjectAttributesRequest getListObjectAttributesRequest​(java.lang.String arnName, java.lang.String objectId)
      Gets list object attributes request.
      static com.amazonaws.services.clouddirectory.model.ObjectAttributeRange getObjectAttributeRanges​(java.lang.String schemaArn, java.lang.String facetName, java.lang.String attributeName, java.lang.String attributeValue)
      Gets object attribute ranges.
      static com.amazonaws.services.clouddirectory.model.ObjectReference getObjectRefById​(java.lang.String objectId)
      Gets object ref by id.
      static com.amazonaws.services.clouddirectory.model.ObjectReference getObjectRefByPath​(java.lang.String path)
      Gets object ref by path.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CloudDirectoryUtils

        public CloudDirectoryUtils()
    • Method Detail

      • getAttributeKeyValueByName

        public static com.amazonaws.services.clouddirectory.model.AttributeKeyAndValue getAttributeKeyValueByName​(com.amazonaws.services.clouddirectory.model.ListObjectAttributesResult attributesResult,
                                                                                                                  java.lang.String attributeName)
        Gets attribute key value by name.
        Parameters:
        attributesResult - the attributes result
        attributeName - the attribute name
        Returns:
        the attribute key value by name
      • getListObjectAttributesRequest

        public static com.amazonaws.services.clouddirectory.model.ListObjectAttributesRequest getListObjectAttributesRequest​(java.lang.String arnName,
                                                                                                                             java.lang.String objectId)
        Gets list object attributes request.
        Parameters:
        arnName - the arn name
        objectId - the object id
        Returns:
        the list object attributes request
      • getObjectRefByPath

        public static com.amazonaws.services.clouddirectory.model.ObjectReference getObjectRefByPath​(java.lang.String path)
        Gets object ref by path.
        Parameters:
        path - the path
        Returns:
        the object ref by path
      • getObjectRefById

        public static com.amazonaws.services.clouddirectory.model.ObjectReference getObjectRefById​(java.lang.String objectId)
        Gets object ref by id.
        Parameters:
        objectId - the object id
        Returns:
        the object ref by id
      • getListIndexRequest

        public static com.amazonaws.services.clouddirectory.model.ListIndexRequest getListIndexRequest​(java.lang.String attributeName,
                                                                                                       java.lang.String attributeValue,
                                                                                                       com.amazonaws.services.clouddirectory.model.ObjectReference reference,
                                                                                                       org.apereo.cas.configuration.model.support.clouddirectory.CloudDirectoryProperties cloud)
        Gets list index request.
        Parameters:
        attributeName - the attribute name
        attributeValue - the attribute value
        reference - the reference
        cloud - the cloud
        Returns:
        the list index request
      • getObjectAttributeRanges

        public static com.amazonaws.services.clouddirectory.model.ObjectAttributeRange getObjectAttributeRanges​(java.lang.String schemaArn,
                                                                                                                java.lang.String facetName,
                                                                                                                java.lang.String attributeName,
                                                                                                                java.lang.String attributeValue)
        Gets object attribute ranges.
        Parameters:
        schemaArn - the schema arn
        facetName - the facet name
        attributeName - the attribute name
        attributeValue - the attribute value
        Returns:
        the object attribute ranges