Class GrouperProvisioningAttributeManipulation
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningAttributeManipulation
- Direct Known Subclasses:
DuoProvisioningAttributeManipulation
,DuoRoleProvisioningAttributeManipulation
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assignDefault
(Collection<Object> changedObjects, ProvisioningUpdatable provisioningUpdatable, GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute, int[] count) assignDefaultField
(Collection<Object> changedObjects, ProvisioningUpdatable provisioningUpdatable, Object currentValue, GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute, int[] assignDefaultFieldsAndAttributesCount) assignDefaultsForEntities
(List<ProvisioningEntity> provisioningEntities, GrouperProvisioningConfigurationAttribute attribute) assignDefaultsForGroups
(List<ProvisioningGroup> provisioningGroups, GrouperProvisioningConfigurationAttribute attribute) assignDefaultsForMemberships
(List<ProvisioningMembership> provisioningMemberships) void
convertNullsEmpties
(Collection<Object> changedObjects, ProvisioningUpdatable provisioningUpdatable, GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute, int[] count) if the provisioner should equate nulls and empties, then convert nulls to emptiesfilterEntityFieldsAndAttributes
(List<ProvisioningEntity> provisioningEntities, boolean filterSelect, boolean filterInsert, boolean filterUpdate) filterGroupFieldsAndAttributes
(List<ProvisioningGroup> provisioningGroups, boolean filterSelect, boolean filterInsert, boolean filterUpdate) filterMembershipFieldsAndAttributes
(List<ProvisioningMembership> provisioningMemberships, boolean filterSelect, boolean filterInsert, boolean filterUpdate) boolean
provisioner can decide to convert all nulls to emptymanipulateAttributesEntities
(List<ProvisioningEntity> provisioningEntities) manipulateAttributesGroups
(List<ProvisioningGroup> provisioningGroups) manipulateAttributesMemberships
(List<ProvisioningMembership> provisioningMemberships) manipulateDefaultsFilterAttributesEntities
(List<ProvisioningEntity> provisioningEntities, boolean assignDefaults, boolean filterSelect, boolean filterInsert, boolean filterUpdate) manipulateDefaultsFilterAttributesGroups
(List<ProvisioningGroup> provisioningGroups, boolean assignDefaults, boolean filterSelect, boolean filterInsert, boolean filterUpdate) manipulateDefaultsFilterAttributesMemberships
(List<ProvisioningMembership> provisioningMemberships, boolean assignDefaults, boolean filterSelect, boolean filterInsert, boolean filterUpdate) void
manipulateValue
(Collection<Object> changedObjects, ProvisioningUpdatable provisioningUpdatable, GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute, int[] count) void
removeAccentedCharacters
(Collection<Object> changedObjects, ProvisioningUpdatable provisioningUpdatable, GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute, int[] count) removeAccentedCharactersHelper
(Object currentValue) void
setGrouperProvisioner
(GrouperProvisioner grouperProvisioner)
-
Field Details
-
DEFAULT_VALUE_EMPTY_STRING_CONFIG
- See Also:
-
-
Constructor Details
-
GrouperProvisioningAttributeManipulation
public GrouperProvisioningAttributeManipulation()
-
-
Method Details
-
getGcGrouperSync
-
getGrouperProvisioner
-
setGrouperProvisioner
-
isConvertNullValuesToEmpty
public boolean isConvertNullValuesToEmpty()provisioner can decide to convert all nulls to empty- Returns:
- if convert nulls to empty
-
manipulateAttributesGroups
public Set<ProvisioningGroup> manipulateAttributesGroups(List<ProvisioningGroup> provisioningGroups) -
manipulateAttributesEntities
public Set<ProvisioningEntity> manipulateAttributesEntities(List<ProvisioningEntity> provisioningEntities) -
manipulateAttributesMemberships
public Set<ProvisioningMembership> manipulateAttributesMemberships(List<ProvisioningMembership> provisioningMemberships) -
assignDefaultsForGroups
public Set<ProvisioningGroup> assignDefaultsForGroups(List<ProvisioningGroup> provisioningGroups, GrouperProvisioningConfigurationAttribute attribute) - Parameters:
provisioningGroups
-attribute
- null for all or an attribute name for a specific one- Returns:
- changed groups
-
manipulateDefaultsFilterAttributesEntities
public Set<ProvisioningEntity> manipulateDefaultsFilterAttributesEntities(List<ProvisioningEntity> provisioningEntities, boolean assignDefaults, boolean filterSelect, boolean filterInsert, boolean filterUpdate) - Parameters:
provisioningEntities
-checkProcessedFlag
- true if not process if already processedfilterSelect
-filterInsert
-filterUpdate
-- Returns:
- changed entities
-
manipulateDefaultsFilterAttributesGroups
public Set<ProvisioningGroup> manipulateDefaultsFilterAttributesGroups(List<ProvisioningGroup> provisioningGroups, boolean assignDefaults, boolean filterSelect, boolean filterInsert, boolean filterUpdate) - Parameters:
provisioningGroups
-checkProcessedFlag
- true if not process if already processedfilterSelect
-filterInsert
-filterUpdate
-
-
assignDefaultsForEntities
public Set<ProvisioningEntity> assignDefaultsForEntities(List<ProvisioningEntity> provisioningEntities, GrouperProvisioningConfigurationAttribute attribute) - Parameters:
provisioningEntities
-attribute
- null for all or an attribute name for a specific one- Returns:
- changedEntities
-
assignDefaultsForMemberships
public Set<ProvisioningMembership> assignDefaultsForMemberships(List<ProvisioningMembership> provisioningMemberships) - Parameters:
provisioningMemberships
-- Returns:
- changedEntities
-
assignDefaultField
public Object assignDefaultField(Collection<Object> changedObjects, ProvisioningUpdatable provisioningUpdatable, Object currentValue, GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute, int[] assignDefaultFieldsAndAttributesCount) - Parameters:
currentValue
-grouperProvisioningConfigurationAttribute
-assignDefaultFieldsAndAttributesCount
-- Returns:
- return the current or new field
-
assignDefault
public void assignDefault(Collection<Object> changedObjects, ProvisioningUpdatable provisioningUpdatable, GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute, int[] count) -
manipulateValue
public void manipulateValue(Collection<Object> changedObjects, ProvisioningUpdatable provisioningUpdatable, GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute, int[] count) -
removeAccentedCharacters
public void removeAccentedCharacters(Collection<Object> changedObjects, ProvisioningUpdatable provisioningUpdatable, GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute, int[] count) -
removeAccentedCharactersHelper
-
convertNullsEmpties
public void convertNullsEmpties(Collection<Object> changedObjects, ProvisioningUpdatable provisioningUpdatable, GrouperProvisioningConfigurationAttribute grouperProvisioningConfigurationAttribute, int[] count) if the provisioner should equate nulls and empties, then convert nulls to empties- Parameters:
provisioningUpdatable
-grouperProvisioningConfigurationAttribute
-count
-
-
filterGroupFieldsAndAttributes
public Set<ProvisioningGroup> filterGroupFieldsAndAttributes(List<ProvisioningGroup> provisioningGroups, boolean filterSelect, boolean filterInsert, boolean filterUpdate) -
filterEntityFieldsAndAttributes
public Set<ProvisioningEntity> filterEntityFieldsAndAttributes(List<ProvisioningEntity> provisioningEntities, boolean filterSelect, boolean filterInsert, boolean filterUpdate) - Parameters:
provisioningEntities
-filterSelect
-filterInsert
-filterUpdate
-- Returns:
- changed entities
-
filterMembershipFieldsAndAttributes
public Set<ProvisioningMembership> filterMembershipFieldsAndAttributes(List<ProvisioningMembership> provisioningMemberships, boolean filterSelect, boolean filterInsert, boolean filterUpdate) -
manipulateDefaultsFilterAttributesMemberships
public Set<ProvisioningMembership> manipulateDefaultsFilterAttributesMemberships(List<ProvisioningMembership> provisioningMemberships, boolean assignDefaults, boolean filterSelect, boolean filterInsert, boolean filterUpdate) - Parameters:
provisioningMemberships
-checkProcessedFlag
- true if not process if already processedfilterSelect
-filterInsert
-filterUpdate
-- Returns:
- changed entities
-