public abstract class GrouperExternalSystem extends GrouperConfigurationModuleBase implements OptionValueDriver
Modifier and Type | Field and Description |
---|---|
static Set<String> |
externalTypeClassNames |
attributeCache, extraConfigKeys
Constructor and Description |
---|
GrouperExternalSystem() |
Modifier and Type | Method and Description |
---|---|
void |
changeStatus(boolean enable,
StringBuilder message,
List<String> errorsToDisplay,
Map<String,String> validationErrorsToDisplay)
change status of config to disable/enable
|
protected String |
getConfigurationTypePrefix()
for each type of configuration this is the prefix for eg in subsections.
|
boolean |
isCanAdd() |
boolean |
isCanDelete() |
boolean |
isEnabled()
is the config enabled or not
|
String |
propertiesApiProperyValue(String attributeName)
get value for one property
|
void |
refreshConnectionsIfNeeded()
check if connections need to be refreshed due to config changes
|
static List<GrouperExternalSystem> |
retrieveAllGrouperExternalSystems()
list of configured external systems
|
static List<GrouperExternalSystem> |
retrieveAllModuleConfigurationTypes()
list of systems that can be configured
|
List<GrouperExternalSystemConsumer> |
retrieveAllUsedBy() |
List<MultiKey> |
retrieveKeysAndLabels() |
List<String> |
test()
return list of error messages
|
void |
validatePreSave(boolean isInsert,
boolean fromUi,
List<String> errorsToDisplay,
Map<String,String> validationErrorsToDisplay) |
clearAttributeCache, deleteConfig, editConfig, formatIndexes, getCacheAttributePrefix, getCacheEntityAttributePrefix, getCacheFieldPrefix, getCacheGroupAttributePrefix, getConfigFileName, getConfigId, getConfigIdRegex, getConfigIdThatIdentifiesThisConfig, getConfigItemPrefix, getDescription, getGenericConfigId, getPropertySuffixThatIdentifiesThisConfig, getPropertyValueThatIdentifiesThisConfig, getSubSections, getTitle, insertConfig, isMultiple, listAllConfigurationsOfThisType, populateConfigurationValuesFromUi, populateValuesLabelsFromOptionValueClass, retrieveAllConfigurations, retrieveAllConfigurationTypesHelper, retrieveAttributes, retrieveConfigurationConfigIds, retrieveConfigurationKeysByPrefix, retrieveExtraConfigKeys, retrieveObjectValueSubstituteMap, retrieveSuffix, setConfigId, showAttributeOverride, validatePreSave
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConfigSuffixToConfigModuleAttribute
public List<String> test() throws UnsupportedOperationException
UnsupportedOperationException
public void validatePreSave(boolean isInsert, boolean fromUi, List<String> errorsToDisplay, Map<String,String> validationErrorsToDisplay)
isInsert
- fromUi
- errorsToDisplay
- validationErrorsToDisplay
- protected String getConfigurationTypePrefix()
GrouperConfigurationModuleBase
getConfigurationTypePrefix
in class GrouperConfigurationModuleBase
public List<GrouperExternalSystemConsumer> retrieveAllUsedBy() throws UnsupportedOperationException
UnsupportedOperationException
public boolean isEnabled()
isEnabled
in class GrouperConfigurationModuleBase
public void changeStatus(boolean enable, StringBuilder message, List<String> errorsToDisplay, Map<String,String> validationErrorsToDisplay)
enable
- message
- errorsToDisplay
- validationErrorsToDisplay
- public String propertiesApiProperyValue(String attributeName)
attributeName
- public static List<GrouperExternalSystem> retrieveAllModuleConfigurationTypes()
public static List<GrouperExternalSystem> retrieveAllGrouperExternalSystems()
public List<MultiKey> retrieveKeysAndLabels()
retrieveKeysAndLabels
in interface OptionValueDriver
public void refreshConnectionsIfNeeded() throws UnsupportedOperationException
UnsupportedOperationException
public boolean isCanAdd()
public boolean isCanDelete()
Copyright © 2016 Internet2. All rights reserved.