Class ProvisioningEntity
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.ProvisioningUpdatable
edu.internet2.middleware.grouper.app.provisioning.ProvisioningEntity
entity is a member of a group which is typically a user/account or person
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canDeleteAttribute
(String name) boolean
canInsertAttribute
(String name) boolean
canUpdateAttribute
(String name) clone()
deep clone the fields in this objectstatic List<ProvisioningEntity>
cloneWithOneMembership
(List<ProvisioningEntity> provisioningEntities) do a deep clone of the data, but add as many objects as there are objects and membership attribute values, one per wrapperdeep clone the fields in this object without the membership attributestatic List<ProvisioningEntity>
cloneWithoutMemberships
(List<ProvisioningEntity> provisioningEntities) do a deep clone of the datagetEmail()
email of entity (optional)getId()
id uniquely identifies this record, might be a uuid, or subject idid index in target (optional)login id could be a subject identifier or subject id (optional)getName()
name field in the entity (optional)boolean
isLoggable
(boolean strong) boolean
boolean
matchesAttribute
(String logAllObjectsVerboseEntityAttribute, String logAllObjectsVerboseForTheseSubjectId) boolean
matchesAttribute
(String logAllObjectsVerboseEntityAttribute, Set<String> logAllObjectsVerboseForTheseSubjectIds) boolean
matchesAttribute
(Set<String> logAllObjectsVerboseEntityAttributes, Set<String> logAllObjectsVerboseForTheseSubjectIds) get the object type name, e.g.retrieveAttributeValue
(GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute) base on attribute get the valueretrieveAttributeValueString
(GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute) void
setDescription
(String description) void
email of entity (optional)void
id uniquely identifies this record, might be a uuid, or subject idvoid
setIdIndex
(Long idIndex1) id index in target (optional)void
setLoginId
(String login1) login id could be a subject identifier or subject id (optional)void
name field in the entity (optional)void
setProvisioningEntityWrapper
(ProvisioningEntityWrapper provisioningEntityWrapper) void
setSubjectId
(String subjectId) void
setSubjectIdentifier0
(String subjectIdentifier0) void
setSubjectIdentifier1
(String subjectIdentifier1) void
setSubjectIdentifier2
(String subjectIdentifier2) void
setSubjectResolutionResolvable
(Boolean subjectResolutionResolvable) void
setSubjectSourceId
(String subjectSourceId) toString()
toString
(boolean includeDataActions) Methods inherited from class edu.internet2.middleware.grouper.app.provisioning.ProvisioningUpdatable
_internal_toJsonForCache, addAttributeValue, addAttributeValueForMembership, addInternal_objectChange, assignAttributeValue, attributeNamesDifferentForCache, clearAttribute, clone, cloneUpdatable, fromJsonForCache, getException, getGrouperProvisioner, getInternal_objectChanges, getMatchingIdAttributeNameToValues, getProvisioned, getProvisioningWrapper, getSearchIdAttributeNameToValues, getTruncatedAttributes, hasAttribute, internal_retrieveAttributeNameToIndex, isEmpty, isGrouperTargetObject, isRemoveFromList, provisioningUpdatableTypeShort, removeAttribute, retainAttributes, retrieveAttributes, retrieveAttributeValue, retrieveAttributeValueBoolean, retrieveAttributeValueInteger, retrieveAttributeValueLong, retrieveAttributeValueSet, retrieveAttributeValueSetForMemberships, retrieveAttributeValueString, retrieveProvisioningAttribute, retriveAttributeConfig, setException, setMatchingIdAttributeNameToValues, setProvisioned, setRemoveFromList, setSearchIdAttributeNameToValues, stringValueWithType, toJsonForCache, toStringAppendField, toStringAppendField, toStringProvisioningUpdatable
-
Constructor Details
-
ProvisioningEntity
public ProvisioningEntity(boolean grouperFormat) -
ProvisioningEntity
public ProvisioningEntity()
-
-
Method Details
-
isLoggableHelper
public boolean isLoggableHelper() -
isLoggable
public boolean isLoggable(boolean strong) -
cloneWithOneMembership
public static List<ProvisioningEntity> cloneWithOneMembership(List<ProvisioningEntity> provisioningEntities) do a deep clone of the data, but add as many objects as there are objects and membership attribute values, one per wrapper- Parameters:
provisioningUpdatables
-- Returns:
- the cloned list
-
cloneWithoutMemberships
public static List<ProvisioningEntity> cloneWithoutMemberships(List<ProvisioningEntity> provisioningEntities) do a deep clone of the data- Parameters:
provisioningUpdatables
-- Returns:
- the cloned list
-
cloneWithoutMemberships
deep clone the fields in this object without the membership attribute -
getIdIndex
id index in target (optional)- Returns:
- id index
-
setIdIndex
id index in target (optional)- Parameters:
idIndex1
-
-
getSubjectIdentifier0
- Returns:
- subjectIdentifier0
-
setSubjectIdentifier0
- Parameters:
subjectIdentifier0
-
-
getSubjectIdentifier1
- Returns:
- subjectIdentifier1
-
setSubjectIdentifier1
- Parameters:
subjectIdentifier1
-
-
getSubjectIdentifier2
- Returns:
- subjectIdentifier2
-
getSubjectIdentifier
- Returns:
- subjectIdentifier
-
setSubjectIdentifier2
- Parameters:
subjectIdentifier2
-
-
getDescription
- Returns:
- description
-
setDescription
- Parameters:
description
-
-
getSubjectResolutionResolvable
- Returns:
- subjectResolutionResolvable
-
setSubjectResolutionResolvable
- Parameters:
subjectResolutionResolvable
-
-
getSubjectSourceId
- Returns:
- subject source id
-
setSubjectSourceId
- Parameters:
subjectSourceId
-
-
getSubjectId
- Returns:
-
setSubjectId
- Parameters:
subjectId
-
-
getId
id uniquely identifies this record, might be a uuid, or subject id- Returns:
- id
-
setId
id uniquely identifies this record, might be a uuid, or subject id- Parameters:
id1
-
-
getLoginId
login id could be a subject identifier or subject id (optional)- Returns:
- login id
-
setLoginId
login id could be a subject identifier or subject id (optional)- Parameters:
login1
-
-
getName
name field in the entity (optional)- Returns:
- name
-
setName
name field in the entity (optional)- Parameters:
name1
-
-
getEmail
email of entity (optional)- Returns:
-
setEmail
email of entity (optional)- Parameters:
email1
-
-
getProvisioningEntityWrapper
-
setProvisioningEntityWrapper
-
retrieveAttributeValueString
public String retrieveAttributeValueString(GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute) - Parameters:
name
-value
-
-
retrieveAttributeValue
public Object retrieveAttributeValue(GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute) base on attribute get the value- Parameters:
grouperProvisioningConfigurationAttribute
-- Returns:
- the value
-
toString
-
toString
- Specified by:
toString
in classProvisioningUpdatable
-
clone
deep clone the fields in this object -
canInsertAttribute
- Specified by:
canInsertAttribute
in classProvisioningUpdatable
-
canUpdateAttribute
- Specified by:
canUpdateAttribute
in classProvisioningUpdatable
-
canDeleteAttribute
- Specified by:
canDeleteAttribute
in classProvisioningUpdatable
-
objectTypeName
Description copied from class:ProvisioningUpdatable
get the object type name, e.g. group, entity, membership- Specified by:
objectTypeName
in classProvisioningUpdatable
- Returns:
- the object type name
-
matchesAttribute
public boolean matchesAttribute(Set<String> logAllObjectsVerboseEntityAttributes, Set<String> logAllObjectsVerboseForTheseSubjectIds) - Parameters:
logAllObjectsVerboseEntityAttributes
-logAllObjectsVerboseForTheseSubjectIds
-- Returns:
- if matches attribute
-
matchesAttribute
public boolean matchesAttribute(String logAllObjectsVerboseEntityAttribute, Set<String> logAllObjectsVerboseForTheseSubjectIds) - Parameters:
string
-logAllObjectsVerboseForTheseSubjectIds
-- Returns:
-
matchesAttribute
-