|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.domain.AuditableProperties
public class AuditableProperties
Class holding properties associated with the cm:auditable aspect. This aspect is common enough to warrant direct inclusion on the Node entity.
Constructor Summary | |
---|---|
AuditableProperties()
Default constructor with all null values. |
Method Summary | |
---|---|
java.util.Map |
getAuditableProperties()
|
java.io.Serializable |
getAuditableProperty(org.alfresco.service.namespace.QName qname)
|
static boolean |
isAuditableProperty(org.alfresco.service.namespace.QName qname)
|
void |
setAuditValues(java.lang.String user,
java.util.Date date,
boolean force)
Set all cm:auditable parameters as required. |
void |
setAuditValues(java.lang.String user,
java.util.Date date,
java.util.Map properties)
Set all cm:auditable parameters as required, giving precedence to the supplied property map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuditableProperties()
Method Detail |
---|
public static boolean isAuditableProperty(org.alfresco.service.namespace.QName qname)
public java.io.Serializable getAuditableProperty(org.alfresco.service.namespace.QName qname)
qname
- the property name
public java.util.Map getAuditableProperties()
public void setAuditValues(java.lang.String user, java.util.Date date, boolean force)
user
- the usernamedate
- the creation or modification dateforce
- true to force the values to overwrite any pre-existing valuespublic void setAuditValues(java.lang.String user, java.util.Date date, java.util.Map properties)
user
- the usernamedate
- the creation or modification dateproperties
- the properties to override the user and date
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |