|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.audit.model.AuditModelRegistryImpl.AuditModelRegistryState
public class AuditModelRegistryImpl.AuditModelRegistryState
A class encapsulating the disposable/resettable state of the audit model registry.
Constructor Summary | |
---|---|
AuditModelRegistryImpl.AuditModelRegistryState()
Instantiates a new audit model registry state. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuditModelRegistryImpl.AuditModelRegistryState()
Method Detail |
---|
public void registerModel(java.net.URL auditModelUrl)
auditModelUrl
- the source of the modelpublic java.lang.String getProperty(java.lang.String name)
PropertyBackedBeanState
getProperty
in interface PropertyBackedBeanState
name
- the name
PropertyBackedBeanState.getProperty(java.lang.String)
public java.util.Set getPropertyNames()
PropertyBackedBeanState
getPropertyNames
in interface PropertyBackedBeanState
PropertyBackedBeanState.getPropertyNames()
public void setProperty(java.lang.String name, java.lang.String value)
PropertyBackedBeanState
PropertyBackedBeanState.stop()
and should only be called for
property names for which the #isUpdateable(String)
method returns true
.
setProperty
in interface PropertyBackedBeanState
name
- the property namevalue
- the property valuePropertyBackedBeanState.setProperty(java.lang.String, java.lang.String)
public void start()
PropertyBackedBeanState
start
in interface PropertyBackedBeanState
PropertyBackedBeanState.start()
public void stop()
stop
in interface PropertyBackedBeanState
public java.util.Map getAuditApplications()
AuditModelRegistry.getAuditApplications()
public AuditApplication getAuditApplicationByKey(java.lang.String key)
AuditModelRegistry.getAuditApplicationByKey(java.lang.String)
public AuditApplication getAuditApplicationByName(java.lang.String applicationName)
AuditModelRegistry.getAuditApplicationByName(java.lang.String)
public org.alfresco.util.PathMapper getAuditPathMapper()
AuditModelRegistry.getAuditPathMapper()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |