Package org.apereo.cas.clouddirectory
Class CloudDirectoryUtils
- java.lang.Object
-
- org.apereo.cas.clouddirectory.CloudDirectoryUtils
-
public class CloudDirectoryUtils extends java.lang.ObjectThis isCloudDirectoryUtils.- Since:
- 5.2.0
-
-
Constructor Summary
Constructors Constructor Description CloudDirectoryUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.amazonaws.services.clouddirectory.model.AttributeKeyAndValuegetAttributeKeyValueByName(com.amazonaws.services.clouddirectory.model.ListObjectAttributesResult attributesResult, java.lang.String attributeName)Gets attribute key value by name.static com.amazonaws.services.clouddirectory.model.ListIndexRequestgetListIndexRequest(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.ListObjectAttributesRequestgetListObjectAttributesRequest(java.lang.String arnName, java.lang.String objectId)Gets list object attributes request.static com.amazonaws.services.clouddirectory.model.ObjectAttributeRangegetObjectAttributeRanges(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.ObjectReferencegetObjectRefById(java.lang.String objectId)Gets object ref by id.static com.amazonaws.services.clouddirectory.model.ObjectReferencegetObjectRefByPath(java.lang.String path)Gets object ref by path.
-
-
-
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 resultattributeName- 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 nameobjectId- 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 nameattributeValue- the attribute valuereference- the referencecloud- 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 arnfacetName- the facet nameattributeName- the attribute nameattributeValue- the attribute value- Returns:
- the object attribute ranges
-
-