Class UserLifecyclePolicyConfiguration
java.lang.Object
edu.internet2.middleware.grouper.app.config.GrouperConfigurationModuleBase
edu.internet2.middleware.grouper.userLifecycle.UserLifecyclePolicyConfiguration
- All Implemented Interfaces:
OptionValueDriver
public class UserLifecyclePolicyConfiguration
extends GrouperConfigurationModuleBase
implements OptionValueDriver
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Patternsome required config to see what the fields areFields inherited from class edu.internet2.middleware.grouper.app.config.GrouperConfigurationModuleBase
attributeCache, extraConfigKeys -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteConfig(boolean fromUi) delete configvoideditConfig(boolean fromUi, StringBuilder message, List<String> errorsToDisplay, Map<String, String> validationErrorsToDisplay, List<String> actionsPerformed) save the attribute in an edit.config file name to check for properties and metadataconfig id regeg eg: ^(provisioner)\\.([^.]+)\\.(.*)$config id that identified this config. either suffix and value or getConfigIdThatIdentifiesThisConfig is required, not both. eg: personLdapprefix for the properties eg: provisioner.someConfigId.protected Stringfor each type of configuration this is the prefix for eg in subsections. only ui concern in external text config.getName()voidinsertConfig(boolean fromUi, StringBuilder message, List<String> errorsToDisplay, Map<String, String> validationErrorsToDisplay, List<String> actionsPerformed) save the attribute in an insert.static List<UserLifecyclePolicyConfiguration>list of configured user lifecycle action configsvoidvalidatePreSave(boolean isInsert, List<String> errorsToDisplay, Map<String, String> validationErrorsToDisplay) validations to run before saving values into dbMethods inherited from class edu.internet2.middleware.grouper.app.config.GrouperConfigurationModuleBase
changeStatus, clearAttributeCache, formatIndexes, getCacheAttributePrefix, getCacheEntityAttributePrefix, getCacheGroupAttributePrefix, getCacheMembershipAttributePrefix, getConfigId, getDescription, getDocumentation, getGenericConfigId, getPropertySuffixThatIdentifiesThisConfig, getPropertyValueThatIdentifiesThisConfig, getStartWithDescription, getStartWithDocumentation, getSubSections, getTitle, isEnabled, isMultiple, listAllConfigurationsOfThisType, populateConfigurationValuesFromUi, populateValuesLabelsFromOptionValueClass, removeNoUnsedConfigs, retrieveAllConfigurations, retrieveAllConfigurationTypesHelper, retrieveAttributes, retrieveAttributesFromConfig, retrieveAttributeValueFromConfig, retrieveConfigurationConfigIds, retrieveConfigurationKeysByPrefix, retrieveExtraConfigKeys, retrieveObjectValueSubstituteMap, retrieveSuffix, retrieveText, setConfigId, showAttributeOverrideMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.internet2.middleware.grouper.cfg.dbConfig.OptionValueDriver
setConfigSuffixToConfigModuleAttribute
-
Field Details
-
lifecyclePolicyConfigIds
some required config to see what the fields are
-
-
Constructor Details
-
UserLifecyclePolicyConfiguration
public UserLifecyclePolicyConfiguration()
-
-
Method Details
-
getConfigFileName
Description copied from class:GrouperConfigurationModuleBaseconfig file name to check for properties and metadata- Specified by:
getConfigFileNamein classGrouperConfigurationModuleBase- Returns:
-
getConfigItemPrefix
Description copied from class:GrouperConfigurationModuleBaseprefix for the properties eg: provisioner.someConfigId.- Specified by:
getConfigItemPrefixin classGrouperConfigurationModuleBase- Returns:
- the prefix
-
getConfigIdRegex
Description copied from class:GrouperConfigurationModuleBaseconfig id regeg eg: ^(provisioner)\\.([^.]+)\\.(.*)$- Specified by:
getConfigIdRegexin classGrouperConfigurationModuleBase- Returns:
-
getConfigurationTypePrefix
Description copied from class:GrouperConfigurationModuleBasefor each type of configuration this is the prefix for eg in subsections. only ui concern in external text config.- Specified by:
getConfigurationTypePrefixin classGrouperConfigurationModuleBase- Returns:
-
getConfigIdThatIdentifiesThisConfig
Description copied from class:GrouperConfigurationModuleBaseconfig id that identified this config. either suffix and value or getConfigIdThatIdentifiesThisConfig is required, not both. eg: personLdap- Overrides:
getConfigIdThatIdentifiesThisConfigin classGrouperConfigurationModuleBase- Returns:
-
getName
-
retrieveAllUserLifecyclePolicyConfigurations
list of configured user lifecycle action configs- Returns:
-
validatePreSave
public void validatePreSave(boolean isInsert, List<String> errorsToDisplay, Map<String, String> validationErrorsToDisplay) Description copied from class:GrouperConfigurationModuleBasevalidations to run before saving values into db- Overrides:
validatePreSavein classGrouperConfigurationModuleBase
-
insertConfig
public void insertConfig(boolean fromUi, StringBuilder message, List<String> errorsToDisplay, Map<String, String> validationErrorsToDisplay, List<String> actionsPerformed) Description copied from class:GrouperConfigurationModuleBasesave the attribute in an insert. Note, if theres a failure, you should see if any made it- Overrides:
insertConfigin classGrouperConfigurationModuleBaseerrorsToDisplay- call from ui: guiResponseJs.addAction(GuiScreenAction.newMessage(GuiMessageType.error, message.toString()));validationErrorsToDisplay- call from ui: guiResponseJs.addAction(GuiScreenAction.newValidationMessage(GuiMessageType.error, validationKey, validationErrorsToDisplay.get(validationKey)));
-
deleteConfig
public void deleteConfig(boolean fromUi) Description copied from class:GrouperConfigurationModuleBasedelete config- Overrides:
deleteConfigin classGrouperConfigurationModuleBase
-
editConfig
public void editConfig(boolean fromUi, StringBuilder message, List<String> errorsToDisplay, Map<String, String> validationErrorsToDisplay, List<String> actionsPerformed) Description copied from class:GrouperConfigurationModuleBasesave the attribute in an edit. Note, if theres a failure, you should see if any made it- Overrides:
editConfigin classGrouperConfigurationModuleBaseerrorsToDisplay- call from ui: guiResponseJs.addAction(GuiScreenAction.newMessage(GuiMessageType.error, message.toString()));validationErrorsToDisplay- call from ui: guiResponseJs.addAction(GuiScreenAction.newValidationMessage(GuiMessageType.error, validationKey, validationErrorsToDisplay.get(validationKey)));actionsPerformed- add to screen so user knows what is going on
-
retrieveKeysAndLabels
- Specified by:
retrieveKeysAndLabelsin interfaceOptionValueDriver
-