|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.spi.config.support.AbstractConfigurationProperties de.smartics.properties.spi.config.support.AbstractAdminModeConfigurationProperties
public abstract class AbstractAdminModeConfigurationProperties
Base implementation to support administration modes.
Constructor Summary | |
---|---|
protected |
AbstractAdminModeConfigurationProperties() Constructor for serializable subclasses. |
protected |
AbstractAdminModeConfigurationProperties(ConfigurationKey<?> key, de.smartics.properties.api.core.domain.PropertyDescriptorRegistry registry, de.smartics.properties.api.core.security.PropertyValueSecurity decrypter) Default constructor. |
Method Summary | |
---|---|
boolean |
isInAdminMode() Checks whether or not this configuration is in administration mode. |
void |
setToAdminMode(boolean newMode) Sets the administration mode for this configuration. |
ConfigurationPropertiesManagement |
toRepresentative() Creates an representative of this configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.smartics.properties.api.config.domain.ConfigurationPropertiesManagement |
---|
addDefinitions, addDescriptors, flush, getDescriptor, getDescriptor, getMandatoryPropertyDescriptors, getPropertyStoreAccessor, getPropertyValueSecurity, getRegistry, setProperty, toSerializable, unsetProperty |
Methods inherited from interface de.smartics.properties.api.config.domain.ConfigurationProperties |
---|
addPropertyChangeListener, addPropertyChangeListener, getContext, getContext, getKey, getProperties, getProperty, getProperty, getProperty, getProperty, getProperty, getPropertyAsType, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValueAsString, getPropertyValueAsString, getPropertyValueAsString, getPropertyValueAsString, getValidatedProperty, getValidatedProperty, getValidatedProperty, removePropertyChangeListener, removePropertyChangeListener, validate, validate, validate, validate, validate |
Constructor Detail |
---|
protected AbstractAdminModeConfigurationProperties()
protected AbstractAdminModeConfigurationProperties(ConfigurationKey<?> key, de.smartics.properties.api.core.domain.PropertyDescriptorRegistry registry, de.smartics.properties.api.core.security.PropertyValueSecurity decrypter) throws de.smartics.util.lang.NullArgumentException
key
- the key that identifies the configuration.
registry
- the registry to resolve property descriptors.
decrypter
- the helper to decrypt secured property values.
de.smartics.util.lang.NullArgumentException
- if
key
,
registry
or
decrypter
is
null
.
Method Detail |
---|
public final boolean isInAdminMode()
ConfigurationProperties
isInAdminMode
in interface
ConfigurationProperties
true
if the configuration is in administration mode,
false
otherwise.
public final void setToAdminMode(boolean newMode)
ConfigurationPropertiesManagement
setToAdminMode
in interface
ConfigurationPropertiesManagement
newMode
- the new value of the mode
true
if the configuration is to be set in administration mode,
false
if not.
ConfigurationProperties.isInAdminMode()
public ConfigurationPropertiesManagement toRepresentative()
ConfigurationProperties
toRepresentative
in interface
ConfigurationProperties
toRepresentative
in interface
ConfigurationPropertiesManagement
toRepresentative
in class
AbstractConfigurationProperties
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |