public class AuditModelRegistryImpl.AuditModelRegistryState extends java.lang.Object implements PropertyBackedBeanState
| Constructor and Description |
|---|
AuditModelRegistryImpl.AuditModelRegistryState()
Instantiates a new audit model registry state.
|
| Modifier and Type | Method and Description |
|---|---|
AuditApplication |
getAuditApplicationByKey(java.lang.String key)
Gets an audit application by key.
|
AuditApplication |
getAuditApplicationByName(java.lang.String applicationName)
Gets an audit application by name.
|
java.util.Map |
getAuditApplications()
Gets all audit applications keyed by name.
|
org.alfresco.util.PathMapper |
getAuditPathMapper()
Gets the audit path mapper.
|
java.lang.String |
getProperty(java.lang.String name)
Gets a property value.
|
java.util.Set |
getPropertyNames()
Gets the names of all properties.
|
void |
registerModel(java.net.URL auditModelUrl)
Register an audit model at a given URL.
|
void |
setProperty(java.lang.String name,
java.lang.String value)
Sets the value of a property.
|
void |
start()
Starts up the component, using its new property values.
|
void |
stop()
Stops the component, so that its property values can be changed.
|
public AuditModelRegistryImpl.AuditModelRegistryState()
public void registerModel(java.net.URL auditModelUrl)
auditModelUrl - the source of the modelpublic java.lang.String getProperty(java.lang.String name)
PropertyBackedBeanStategetProperty in interface PropertyBackedBeanStatename - the namePropertyBackedBeanState.getProperty(java.lang.String)public java.util.Set getPropertyNames()
PropertyBackedBeanStategetPropertyNames in interface PropertyBackedBeanStatePropertyBackedBeanState.getPropertyNames()public void setProperty(java.lang.String name,
java.lang.String value)
PropertyBackedBeanStatePropertyBackedBeanState.stop() and should only be called for
property names for which the #isUpdateable(String) method returns true.setProperty in interface PropertyBackedBeanStatename - the property namevalue - the property valuePropertyBackedBeanState.setProperty(java.lang.String, java.lang.String)public void start()
PropertyBackedBeanStatestart in interface PropertyBackedBeanStatePropertyBackedBeanState.start()public void stop()
stop in interface PropertyBackedBeanStatepublic java.util.Map getAuditApplications()
public AuditApplication getAuditApplicationByKey(java.lang.String key)
public AuditApplication getAuditApplicationByName(java.lang.String applicationName)
public org.alfresco.util.PathMapper getAuditPathMapper()
AuditModelRegistry.getAuditPathMapper()Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.