public class TelephoneNumberSyntax extends AttributeSyntax<TelephoneNumberAttributeSyntaxCfg> implements ConfigurationChangeListener<TelephoneNumberAttributeSyntaxCfg>
Constructor and Description |
---|
TelephoneNumberSyntax()
Creates a new instance of this syntax.
|
Modifier and Type | Method and Description |
---|---|
ConfigChangeResult |
applyConfigurationChange(TelephoneNumberAttributeSyntaxCfg configuration)
Applies the configuration changes to this change listener.
|
void |
finalizeSyntax()
Performs any finalization that may be necessary for this
attribute syntax.
|
String |
getDescription()
Retrieves a description for this attribute syntax.
|
String |
getName()
Retrieves the common name for this attribute syntax.
|
String |
getOID()
Retrieves the OID for this attribute syntax.
|
Syntax |
getSDKSyntax(Schema schema)
Returns the SDK Syntax equivalent to this syntax.
|
void |
initializeSyntax(TelephoneNumberAttributeSyntaxCfg configuration,
ServerContext serverContext)
Initializes this attribute syntax based on the information in the provided configuration entry.
|
boolean |
isConfigurationChangeAcceptable(TelephoneNumberAttributeSyntaxCfg configuration,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the proposed change to the configuration is acceptable
to this change listener.
|
equals, getApproximateMatchingRule, getEqualityMatchingRule, getOrderingMatchingRule, getSubstringMatchingRule, hashCode, isBEREncodingRequired, isConfigurationAcceptable, isHumanReadable, toString, valueIsAcceptable
public TelephoneNumberSyntax()
initializeSyntax
method.public void initializeSyntax(TelephoneNumberAttributeSyntaxCfg configuration, ServerContext serverContext) throws ConfigException, DirectoryException
AttributeSyntax
initializeSyntax
in class AttributeSyntax<TelephoneNumberAttributeSyntaxCfg>
configuration
- The configuration to use to initialize this attribute syntax.serverContext
- The server context.ConfigException
- If an unrecoverable problem arises in the process of performing the initialization.DirectoryException
- If an unrecoverable problem arises in the process of performing the initialization.public Syntax getSDKSyntax(Schema schema)
AttributeSyntax
This method allow smooth migration to SDK syntax. It will disappear once the the migration to SDK schema is complete, together with this class and all its implementation.
getSDKSyntax
in class AttributeSyntax<TelephoneNumberAttributeSyntaxCfg>
schema
- Schema to use to retrieve the syntaxpublic void finalizeSyntax()
AttributeSyntax
finalizeSyntax
in class AttributeSyntax<TelephoneNumberAttributeSyntaxCfg>
public String getName()
AttributeSyntax
getName
in class AttributeSyntax<TelephoneNumberAttributeSyntaxCfg>
public String getOID()
AttributeSyntax
getOID
in class AttributeSyntax<TelephoneNumberAttributeSyntaxCfg>
public String getDescription()
AttributeSyntax
getDescription
in class AttributeSyntax<TelephoneNumberAttributeSyntaxCfg>
public boolean isConfigurationChangeAcceptable(TelephoneNumberAttributeSyntaxCfg configuration, List<LocalizableMessage> unacceptableReasons)
ConfigurationChangeListener
isConfigurationChangeAcceptable
in interface ConfigurationChangeListener<TelephoneNumberAttributeSyntaxCfg>
configuration
- The new configuration containing the changes.unacceptableReasons
- A list that can be used to hold messages about why the
provided configuration is not acceptable.true
if the proposed change is acceptable,
or false
if it is not.public ConfigChangeResult applyConfigurationChange(TelephoneNumberAttributeSyntaxCfg configuration)
ConfigurationChangeListener
applyConfigurationChange
in interface ConfigurationChangeListener<TelephoneNumberAttributeSyntaxCfg>
configuration
- The new configuration containing the changes.Copyright 2010-2017 ForgeRock AS.