org.alfresco.repo.domain
Class AuditableProperties
java.lang.Object
org.alfresco.repo.domain.AuditableProperties
public class AuditableProperties
- extends java.lang.Object
Class holding properties associated with the cm:auditable aspect.
This aspect is common enough to warrant direct inclusion on the Node entity.
- Since:
- 2.2 SP2
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuditableProperties
public AuditableProperties()
- Default constructor with all null values.
isAuditableProperty
public static boolean isAuditableProperty(QName qname)
- Returns:
- Returns true if the property belongs to the cm:auditable aspect
getAuditableProperty
public java.io.Serializable getAuditableProperty(QName qname)
- Parameters:
qname - the property name
- Returns:
- Returns the value of the cm:auditable property or null
getAuditableProperties
public java.util.Map getAuditableProperties()
- Returns:
- Returns a Map of auditable properties
setAuditValues
public void setAuditValues(java.lang.String user,
java.util.Date date,
boolean force)
- Set all cm:auditable parameters as required. Where possible, the creation and modification data
will be shared so as to reduce data duplication.
- Parameters:
user - the usernamedate - the creation or modification dateforce - true to force the values to overwrite any pre-existing values
Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.