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)
PropertyBackedBeanState
getProperty
in interface PropertyBackedBeanState
name
- the namePropertyBackedBeanState.getProperty(java.lang.String)
public Set<String> getPropertyNames()
PropertyBackedBeanState
getPropertyNames
in interface PropertyBackedBeanState
PropertyBackedBeanState.getPropertyNames()
public void setProperty(String name, String value)
PropertyBackedBeanState
PropertyBackedBeanState.stop()
.setProperty
in interface PropertyBackedBeanState
name
- the property namevalue
- the property valuePropertyBackedBeanState.setProperty(java.lang.String, java.lang.String)
public void removeProperty(String name)
PropertyBackedBeanState
PropertyBackedBeanState.stop()
.removeProperty
in interface PropertyBackedBeanState
name
- the property namepublic void start()
PropertyBackedBeanState
start
in interface PropertyBackedBeanState
PropertyBackedBeanState.start()
public void stop()
stop
in interface PropertyBackedBeanState
public Map<String,AuditApplication> getAuditApplications()
public AuditApplication getAuditApplicationByKey(String key)
public AuditApplication getAuditApplicationByName(String applicationName)
public org.alfresco.util.PathMapper getAuditPathMapper()
AuditModelRegistry.getAuditPathMapper()
Copyright © 2005–2017 Alfresco Software. All rights reserved.