public class GrouperProvisioningConfigurationValidation extends Object
Constructor and Description |
---|
GrouperProvisioningConfigurationValidation() |
Modifier and Type | Method and Description |
---|---|
void |
addAllErrorMessageAndJqueryHandle(Collection<MultiKey> multiKeys)
add error messages
|
void |
addErrorMessage(String errorMessage)
add an error message and optionally a jquery handle or config suffix
|
void |
addErrorMessageAndJqueryHandle(String errorMessage,
String jqueryHandleOrConfigSuffix)
add an error message and optionally a jquery handle or config suffix
|
List<MultiKey> |
getErrorMessagesAndJqueryHandles()
get the error messages and jqeury handles
|
GrouperProvisioner |
getGrouperProvisioner() |
Map<String,String> |
getSuffixToConfigValue() |
String |
htmlJqueryHandle(String suffix) |
ProvisionerConfiguration |
retrieveProvisionerConfiguration() |
void |
setGrouperProvisioner(GrouperProvisioner grouperProvisioner) |
List<MultiKey> |
validate()
take the config for this provisioner and validate
|
void |
validateAttributeCount()
make sure attribute names arent re-used
|
void |
validateAttributeNamesNotReused()
make sure attribute names arent re-used
|
void |
validateConfigBasics()
make sure things are the right type and required check, list of values, etc
|
void |
validateDoingSomething() |
void |
validateEntityDeleteHasDeleteType()
if there is a group delete, then there must be one delete type
|
void |
validateEntityLinkHasConfiguration()
if there is a entity delete, then there must be one delete type
|
void |
validateEntityLinkOnePerBucket()
if there is an entity link, then make sure multiple things arent going to the same bucket
|
void |
validateFromObjectModel()
validate from the grouper provisioner
|
void |
validateFromSuffixValueMap() |
void |
validateGroupDeleteHasDeleteType()
if there is a group delete, then there must be one delete type
|
void |
validateGroupIdToProvisionExists() |
void |
validateGroupLinkHasConfiguration()
if there is a group delete, then there must be one delete type
|
void |
validateGroupLinkOnePerBucket()
if there is a group link, then make sure multiple things arent going to the same bucket
|
void |
validateMatchingAttributes() |
void |
validateMembershipDeleteHasDeleteType()
if there is a group delete, then there must be one delete type
|
void |
validateMetadata() |
void |
validateNoUnsedConfigs()
check to make sure all configs are used and none are extraneous
|
void |
validateOperateImpliesSelectOrInsert()
if operating on group/entity/membership
|
void |
validateProvisionerConfig()
provisioner config
|
public GrouperProvisioningConfigurationValidation()
public GrouperProvisioner getGrouperProvisioner()
public void setGrouperProvisioner(GrouperProvisioner grouperProvisioner)
public List<MultiKey> getErrorMessagesAndJqueryHandles()
public void addErrorMessage(String errorMessage)
errorMessage
- jqueryHandleOrConfigSuffix
- public void addErrorMessageAndJqueryHandle(String errorMessage, String jqueryHandleOrConfigSuffix)
errorMessage
- jqueryHandleOrConfigSuffix
- public void addAllErrorMessageAndJqueryHandle(Collection<MultiKey> multiKeys)
multiKeys
- public List<MultiKey> validate()
public void validateFromObjectModel()
public void validateMetadata()
public void validateOperateImpliesSelectOrInsert()
suffixToConfigValue
- public String htmlJqueryHandle(String suffix)
suffix
- public void validateFromSuffixValueMap()
public void validateMatchingAttributes()
public void validateDoingSomething()
public void validateGroupIdToProvisionExists()
suffixToConfigValue
- public void validateGroupDeleteHasDeleteType()
suffixToConfigValue
- public void validateMembershipDeleteHasDeleteType()
suffixToConfigValue
- public void validateEntityDeleteHasDeleteType()
suffixToConfigValue
- public void validateGroupLinkHasConfiguration()
suffixToConfigValue
- public void validateEntityLinkHasConfiguration()
suffixToConfigValue
- public void validateGroupLinkOnePerBucket()
suffixToConfigValue
- public ProvisionerConfiguration retrieveProvisionerConfiguration()
public void validateNoUnsedConfigs()
suffixToConfigValue
- public void validateEntityLinkOnePerBucket()
suffixToConfigValue
- public void validateConfigBasics()
suffixToConfigValue
- public void validateProvisionerConfig()
suffixToConfigValue
- public void validateAttributeNamesNotReused()
suffixToConfigValue
- public void validateAttributeCount()
suffixToConfigValue
- Copyright © 2016 Internet2. All rights reserved.