|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.domain.DomainObject
com.arsdigita.domain.ObservableDomainObject
com.arsdigita.kernel.ACSObject
com.arsdigita.auditing.AuditedACSObject
Base class. Provides default functionality for auditing ACSObjects.
Field Summary | |
static String |
versionId
|
Fields inherited from class com.arsdigita.kernel.ACSObject |
BASE_DATA_OBJECT_TYPE, CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE |
Constructor Summary | |
protected |
AuditedACSObject(DataObject AuditedACSObjectData)
Equaivalent to the corresponding ACSObject constructor. |
|
AuditedACSObject(ObjectType type)
Equaivalent to the corresponding ACSObject constructor. |
|
AuditedACSObject(OID oid)
Equaivalent to the corresponding ACSObject constructor. |
|
AuditedACSObject(String typeName)
Equaivalent to the corresponding ACSObject constructor. |
Method Summary | |
Date |
getCreationDate()
Gets the creation date of the object. |
String |
getCreationIP()
Gets the IP address associated with creating an object. |
User |
getCreationUser()
Gets the user who created the object. |
Date |
getLastModifiedDate()
Gets the last modified date. |
String |
getLastModifiedIP()
Gets the last modified IP address. |
User |
getLastModifiedUser()
Gets the user who last modified the object. |
protected void |
initialize()
Initializes with a basic audit trail and an Auditing Observer. |
Methods inherited from class com.arsdigita.kernel.ACSObject |
assertPrivilege, beforeSave, checkPrivilege, doCreateCheck, doWriteCheck, getBaseDataObjectType, getContainer, getDefaultDomainClass, getDisplayName, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, isContainerModified, setID, setID |
Methods inherited from class com.arsdigita.domain.ObservableDomainObject |
addObserver, getObservers |
Methods inherited from class com.arsdigita.domain.DomainObject |
add, add, addToAssociation, afterDelete, afterSave, beforeDelete, clear, delete, disconnect, equals, get, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, set, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String versionId
Constructor Detail |
protected AuditedACSObject(DataObject AuditedACSObjectData)
public AuditedACSObject(String typeName)
public AuditedACSObject(ObjectType type)
public AuditedACSObject(OID oid) throws DataObjectNotFoundException
Method Detail |
public User getCreationUser()
getCreationUser
in interface Audited
public Date getCreationDate()
getCreationDate
in interface Audited
public String getCreationIP()
getCreationIP
in interface Audited
public User getLastModifiedUser()
getLastModifiedUser
in interface Audited
public Date getLastModifiedDate()
getLastModifiedDate
in interface Audited
public String getLastModifiedIP()
getLastModifiedIP
in interface Audited
protected void initialize()
initialize
in class ACSObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |