Class GrouperProvisioningObjectMetadata
java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningObjectMetadata
- Direct Known Subclasses:
AzureSyncObjectMetadata
,DuoRoleSyncObjectMetadata
,GoogleSyncObjectMetadata
,LdapSyncObjectMetadata
,MidpointSyncObjectMetadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendMetadataItemsFromConfig
(Collection<GrouperProvisioningObjectMetadataItem> grouperProvisioningObjectMetadataItems) append metadata items from configboolean
see if a metadata item already existsreference back up to the provisionerlist of metadata items for this metadata objectmap of metadata items for this metadata object by namestatic boolean
groupNameMatchesRegex
(String groupName, String whichNameIfMatchesRegex) If you want to filter for groups in this provisionable folder by a regex on its name, specify here.void
index metadatavoid
init built in metadata after the configuration and behaviors are setvoid
setGrouperProvisioner
(GrouperProvisioner grouperProvisioner1) reference back up to the provisionervalidateMetadataInputForFolder
(Map<String, Object> nameToValueFromUsersInput) return an error message if the value is wrongvalidateMetadataInputForGroup
(Map<String, Object> nameToValueFromUsersInput) return an error message if the value is wrongvalidateMetadataInputForMember
(Map<String, Object> nameToValueFromUsersInput) return an error message if the value is wrongvalidateMetadataInputForMembership
(Map<String, Object> nameToValueFromUsersInput) return an error message if the value is wrong
-
Constructor Details
-
GrouperProvisioningObjectMetadata
public GrouperProvisioningObjectMetadata()
-
-
Method Details
-
getGrouperProvisioningObjectMetadataItemsByName
public Map<String,GrouperProvisioningObjectMetadataItem> getGrouperProvisioningObjectMetadataItemsByName()map of metadata items for this metadata object by name- Returns:
- map
-
groupNameMatchesRegex
If you want to filter for groups in this provisionable folder by a regex on its name, specify here. If the regex matches then the group is provisionable. If using 'not matches' then it will filter groups. e.g.
folderExtension matches ^.*_someExtension$
folderName not matches ^.*_someExtension$
groupExtension matches ^.*_someExtension$
groupName not matches ^.*_someExtension$- Parameters:
groupName
-whichNameIfMatchesRegex
- folderName not matches ^.*_someExtension$- Returns:
- true if matches, false if not
-
containsMetadataItemByName
see if a metadata item already exists- Parameters:
name
-- Returns:
- true if exists
-
initBuiltInMetadata
public void initBuiltInMetadata()init built in metadata after the configuration and behaviors are set -
getGrouperProvisioner
reference back up to the provisioner- Returns:
- the provisioner
-
setGrouperProvisioner
reference back up to the provisioner- Parameters:
grouperProvisioner1
-
-
getGrouperProvisioningObjectMetadataItems
list of metadata items for this metadata object- Returns:
-
appendMetadataItemsFromConfig
public void appendMetadataItemsFromConfig(Collection<GrouperProvisioningObjectMetadataItem> grouperProvisioningObjectMetadataItems) append metadata items from config- Parameters:
grouperProvisioningObjectMetadataItems
-
-
validateMetadataInputForFolder
public Map<String,String> validateMetadataInputForFolder(Map<String, Object> nameToValueFromUsersInput) return an error message if the value is wrong- Parameters:
name
-value
-- Returns:
- the name and error message
-
validateMetadataInputForGroup
public Map<String,String> validateMetadataInputForGroup(Map<String, Object> nameToValueFromUsersInput) return an error message if the value is wrong- Parameters:
name
-value
-- Returns:
- the name and error message
-
validateMetadataInputForMember
public Map<String,String> validateMetadataInputForMember(Map<String, Object> nameToValueFromUsersInput) return an error message if the value is wrong- Parameters:
name
-value
-- Returns:
- the name and error message
-
validateMetadataInputForMembership
public Map<String,String> validateMetadataInputForMembership(Map<String, Object> nameToValueFromUsersInput) return an error message if the value is wrong- Parameters:
name
-value
-- Returns:
- the name and error message
-
indexBuiltInMetadata
public void indexBuiltInMetadata()index metadata
-