Class GrouperProvisioningObjectMetadata

java.lang.Object
edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningObjectMetadata
Direct Known Subclasses:
AzureSyncObjectMetadata, DuoRoleSyncObjectMetadata, GoogleSyncObjectMetadata, LdapSyncObjectMetadata, MidpointSyncObjectMetadata

public class GrouperProvisioningObjectMetadata extends Object
  • 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

      public static 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. 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

      public boolean containsMetadataItemByName(String name)
      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

      public GrouperProvisioner getGrouperProvisioner()
      reference back up to the provisioner
      Returns:
      the provisioner
    • setGrouperProvisioner

      public void setGrouperProvisioner(GrouperProvisioner grouperProvisioner1)
      reference back up to the provisioner
      Parameters:
      grouperProvisioner1 -
    • getGrouperProvisioningObjectMetadataItems

      public List<GrouperProvisioningObjectMetadataItem> 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