Class ProvisioningGroup
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.ProvisioningUpdatable
edu.internet2.middleware.grouper.app.provisioning.ProvisioningGroup
group in target system
-
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<ProvisioningGroup>
cloneWithOneMembership
(List<ProvisioningGroup> provisioningGroups) 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<ProvisioningGroup>
cloneWithoutMemberships
(List<ProvisioningGroup> provisioningGroups) do a deep clone of the data, without membershipsdisplay name (optional)getId()
id uniquely identifies this record, might be a target uuid, or grouper id index, uuid, or nameid index in target (optional)getName()
name of group in target system.boolean
isLoggable
(boolean strong) boolean
static void
boolean
matchesAttribute
(String logAllObjectsVerboseGroupAttribute, Object logAllObjectsVerboseForTheseGroupName) boolean
matchesAttribute
(String logAllObjectsVerboseGroupAttribute, Set<String> logAllObjectsVerboseForTheseGroupNames) boolean
matchesAttribute
(Set<String> logAllObjectsVerboseGroupAttributes, Set<String> logAllObjectsVerboseForTheseGroupNames) get the object type name, e.g.retrieveAttributeValue
(GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute) base on attribute get the valueretrieveAttributeValueString
(GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute) void
setDisplayName
(String displayName1) display name (optional)void
id uniquely identifies this record, might be a target uuid, or grouper id index, uuid, or namevoid
setIdIndex
(Long idIndex1) id index in target (optional)void
name of group in target system.void
setProvisioningGroupWrapper
(ProvisioningGroupWrapper provisioningGroupWrapper) toString()
toString
(boolean includeDataChanges) 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
-
ProvisioningGroup
public ProvisioningGroup() -
ProvisioningGroup
public ProvisioningGroup(boolean grouperFormat)
-
-
Method Details
-
isLoggableHelper
public boolean isLoggableHelper() -
isLoggable
public boolean isLoggable(boolean strong) -
main
-
getId
id uniquely identifies this record, might be a target uuid, or grouper id index, uuid, or name- Returns:
- id
-
setId
id uniquely identifies this record, might be a target uuid, or grouper id index, uuid, or name- Parameters:
id1
-
-
getExtension
- Returns:
-
getName
name of group in target system. could be group system name, extension, or other- Returns:
- name
-
setName
name of group in target system. could be group system name, extension, or other- Parameters:
name1
-
-
getIdIndex
id index in target (optional)- Returns:
- id index
-
setIdIndex
id index in target (optional)- Parameters:
idIndex1
-
-
getDisplayName
display name (optional)- Returns:
- display name
-
getDisplayExtension
- Returns:
-
setDisplayName
display name (optional)- Parameters:
displayName1
-
-
getProvisioningGroupWrapper
-
setProvisioningGroupWrapper
-
toString
-
toString
- Specified by:
toString
in classProvisioningUpdatable
-
clone
deep clone the fields in this object -
cloneWithoutMemberships
public static List<ProvisioningGroup> cloneWithoutMemberships(List<ProvisioningGroup> provisioningGroups) do a deep clone of the data, without memberships- Parameters:
provisioningUpdatables
-- Returns:
- the cloned list
-
cloneWithOneMembership
public static List<ProvisioningGroup> cloneWithOneMembership(List<ProvisioningGroup> provisioningGroups) 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
deep clone the fields in this object without the membership attribute -
canInsertAttribute
- Specified by:
canInsertAttribute
in classProvisioningUpdatable
-
canUpdateAttribute
- Specified by:
canUpdateAttribute
in classProvisioningUpdatable
-
canDeleteAttribute
- Specified by:
canDeleteAttribute
in classProvisioningUpdatable
-
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
-
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> logAllObjectsVerboseGroupAttributes, Set<String> logAllObjectsVerboseForTheseGroupNames) - Parameters:
logAllObjectsVerboseGroupAttributes
-logAllObjectsVerboseForTheseGroupNames
-- Returns:
- if matches attribute
-
matchesAttribute
public boolean matchesAttribute(String logAllObjectsVerboseGroupAttribute, Set<String> logAllObjectsVerboseForTheseGroupNames) - Parameters:
string
-logAllObjectsVerboseForTheseGroupNames
-- Returns:
-
matchesAttribute
-