Package org.alfresco.repo.audit.model
Class AuditModelRegistryImpl.AuditModelRegistryState
java.lang.Object
org.alfresco.repo.audit.model.AuditModelRegistryImpl.AuditModelRegistryState
- All Implemented Interfaces:
PropertyBackedBeanState
- Enclosing class:
- AuditModelRegistryImpl
public class AuditModelRegistryImpl.AuditModelRegistryState
extends Object
implements PropertyBackedBeanState
A class encapsulating the disposable/resettable state of the audit model registry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets an audit application by key.getAuditApplicationByName(String applicationName) Gets an audit application by name.Gets all audit applications keyed by name.Gets the audit path mapper.getProperty(String name) Gets a property value.Gets the names of all properties.voidregisterModel(URL auditModelUrl) Register an audit model at a given URL.voidremoveProperty(String name) Removes a property.voidsetProperty(String name, String value) Sets the value of a property.voidstart()Starts up the component, using its new property values.voidstop()Stops the component, so that its property values can be changed.
-
Constructor Details
-
AuditModelRegistryState
public AuditModelRegistryState()Instantiates a new audit model registry state.
-
-
Method Details
-
registerModel
Register an audit model at a given URL.- Parameters:
auditModelUrl- the source of the model
-
getProperty
Description copied from interface:PropertyBackedBeanStateGets a property value.- Specified by:
getPropertyin interfacePropertyBackedBeanState- Parameters:
name- the name- Returns:
- the property value
- See Also:
-
getPropertyNames
Description copied from interface:PropertyBackedBeanStateGets the names of all properties.- Specified by:
getPropertyNamesin interfacePropertyBackedBeanState- Returns:
- the property names
- See Also:
-
setProperty
Description copied from interface:PropertyBackedBeanStateSets the value of a property. This may only be called afterPropertyBackedBeanState.stop().- Specified by:
setPropertyin interfacePropertyBackedBeanState- Parameters:
name- the property namevalue- the property value- See Also:
-
removeProperty
Description copied from interface:PropertyBackedBeanStateRemoves a property. This may only be called afterPropertyBackedBeanState.stop().- Specified by:
removePropertyin interfacePropertyBackedBeanState- Parameters:
name- the property name
-
start
public void start()Description copied from interface:PropertyBackedBeanStateStarts up the component, using its new property values.- Specified by:
startin interfacePropertyBackedBeanState- See Also:
-
stop
public void stop()Stops the component, so that its property values can be changed.- Specified by:
stopin interfacePropertyBackedBeanState
-
getAuditApplications
Gets all audit applications keyed by name. -
getAuditApplicationByKey
Gets an audit application by key. -
getAuditApplicationByName
Gets an audit application by name. -
getAuditPathMapper
Gets the audit path mapper.- Returns:
- the audit path mapper
- See Also:
-