public class AuditModelRegistryImpl.AuditModelRegistryState extends Object implements PropertyBackedBeanState
| Constructor and Description |
|---|
AuditModelRegistryState()
Instantiates a new audit model registry state.
|
| Modifier and Type | Method and Description |
|---|---|
AuditApplication |
getAuditApplicationByKey(String key)
Gets an audit application by key.
|
AuditApplication |
getAuditApplicationByName(String applicationName)
Gets an audit application by name.
|
Map<String,AuditApplication> |
getAuditApplications()
Gets all audit applications keyed by name.
|
org.alfresco.util.PathMapper |
getAuditPathMapper()
Gets the audit path mapper.
|
String |
getProperty(String name)
Gets a property value.
|
Set<String> |
getPropertyNames()
Gets the names of all properties.
|
void |
registerModel(URL auditModelUrl)
Register an audit model at a given URL.
|
void |
removeProperty(String name)
Removes a property.
|
void |
setProperty(String name,
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 AuditModelRegistryState()
public void registerModel(URL auditModelUrl)
auditModelUrl - the source of the modelpublic String getProperty(String name)
PropertyBackedBeanStategetProperty in interface PropertyBackedBeanStatename - the namePropertyBackedBeanState.getProperty(java.lang.String)public Set<String> getPropertyNames()
PropertyBackedBeanStategetPropertyNames in interface PropertyBackedBeanStatePropertyBackedBeanState.getPropertyNames()public void setProperty(String name, String value)
PropertyBackedBeanStatePropertyBackedBeanState.stop().setProperty in interface PropertyBackedBeanStatename - the property namevalue - the property valuePropertyBackedBeanState.setProperty(java.lang.String, java.lang.String)public void removeProperty(String name)
PropertyBackedBeanStatePropertyBackedBeanState.stop().removeProperty in interface PropertyBackedBeanStatename - the property namepublic void start()
PropertyBackedBeanStatestart in interface PropertyBackedBeanStatePropertyBackedBeanState.start()public void stop()
stop in interface PropertyBackedBeanStatepublic Map<String,AuditApplication> getAuditApplications()
public AuditApplication getAuditApplicationByKey(String key)
public AuditApplication getAuditApplicationByName(String applicationName)
public org.alfresco.util.PathMapper getAuditPathMapper()
AuditModelRegistry.getAuditPathMapper()Copyright © 2005–2018 Alfresco Software. All rights reserved.