|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nci.mageom.domain.impl.MAGEOMObject
gov.nih.nci.mageom.domain.impl.ExtendableImpl
gov.nih.nci.mageom.domain.impl.DescribableImpl
gov.nih.nci.mageom.domain.AuditAndSecurity.impl.AuditImpl
public class AuditImpl
Tracks information on the contact that creates or modifies an object.
| Field Summary | |
|---|---|
protected java.lang.String |
action
Indicates whether an action is a creation or a modification. |
protected static java.util.ArrayList |
allAssociationMethods
|
protected static java.util.Hashtable |
associationMethods
|
protected java.util.Date |
date
The date of a change. |
protected Contact |
performer
DOCUMENT ME |
protected java.lang.Long |
performerId
The internal ID of the associated performer object. |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.DescribableImpl |
|---|
auditTrail, auditTrailCount, descriptions, descriptionsCount, security, securityId |
| Fields inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl |
|---|
propertySets, propertySetsCount, securedElementId |
| Constructor Summary | |
|---|---|
AuditImpl()
Default constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getAction()
Returns the value of this Audit object's action attribute. |
java.util.Date |
getDate()
Returns the value of this Audit object's date attribute. |
Contact |
getPerformer()
Returns the value of this Audit object's performer attribute. |
java.util.Hashtable |
getXMLMethodDescriptors()
Returns a Hashtable containing XMLMethodDescriptors descriptors of
the association methods of this object. |
protected void |
init()
|
Audit[] |
searchAudits(AuditSearchCriteria criteria)
Returns an array of Audit objects that
satisfy the given AuditSearchCriteria. |
void |
setAction(java.lang.String p_action)
Sets the action attribute. |
void |
setDate(java.util.Date p_date)
Sets the date attribute. |
void |
setPerformer(Contact p_performer)
Sets the performer attribute. |
java.lang.String |
toString()
Returns a String representation of this object suitable for console display. |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc)
|
org.w3c.dom.Element |
toXMLDoc(org.w3c.dom.Document doc)
|
org.w3c.dom.Element |
toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
Returns an XML representation of the object. |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.DescribableImpl |
|---|
getAuditTrail, getAuditTrailCount, getDescriptions, getDescriptionsCount, getSecurity, searchDescribables, setAuditTrail, setDescriptions, setSecurity |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.ExtendableImpl |
|---|
getPropertySets, getPropertySetsCount, getSecuredElementId, searchExtendables, setPropertySets, setSecuredElementId |
| Methods inherited from class gov.nih.nci.mageom.domain.impl.MAGEOMObject |
|---|
getId, getIsEditable, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface gov.nih.nci.mageom.domain.Describable |
|---|
getAuditTrail, getDescriptions, getSecurity, setAuditTrail, setDescriptions, setSecurity |
| Methods inherited from interface gov.nih.nci.mageom.domain.Extendable |
|---|
getPropertySets, setPropertySets |
| Field Detail |
|---|
protected static java.util.ArrayList allAssociationMethods
protected static java.util.Hashtable associationMethods
protected java.util.Date date
protected java.lang.String action
protected Contact performer
protected java.lang.Long performerId
| Constructor Detail |
|---|
public AuditImpl()
| Method Detail |
|---|
protected void init()
init in class DescribableImpl
public Audit[] searchAudits(AuditSearchCriteria criteria)
throws gov.nih.nci.common.search.SearchException
Audit objects that
satisfy the given AuditSearchCriteria.
criteria - The AuditSearchCriteria
which represents a query for Audit objects.
Audit objects.
A - gov.nih.nci.common.search.SearchException if there is a problem searching.
gov.nih.nci.common.search.SearchExceptionpublic void setDate(java.util.Date p_date)
Audit object.
setDate in interface Auditp_date - The new value for date.Audit.getDate()public java.util.Date getDate()
AuditAudit object's date attribute.
Description of date:
The date of a change.
getDate in interface AuditDate The value of date.Audit.getDate()public void setAction(java.lang.String p_action)
Audit object.
setAction in interface Auditp_action - The new value for action.Audit.getAction()public java.lang.String getAction()
AuditAudit object's action attribute.
Description of action:
Indicates whether an action is a creation or a modification.
getAction in interface Auditenum {creation,modification} The value of action.Audit.getAction()public void setPerformer(Contact p_performer)
Audit object.
setPerformer in interface Auditp_performer - The new value for performer.Audit.getPerformer()public Contact getPerformer()
AuditAudit object's performer attribute.
getPerformer in interface Auditgov.nih.nci.mageom.bean.AuditAndSecurity.Contact The value of performer.Audit.getPerformer()public org.w3c.dom.Element toXML(org.w3c.dom.Document doc)
toXML in class DescribableImplpublic org.w3c.dom.Element toXMLDoc(org.w3c.dom.Document doc)
toXMLDoc in class DescribableImpl
public org.w3c.dom.Element toXMLProcessor(org.w3c.dom.Document doc,
java.util.ArrayList fillOutValues)
toXMLProcessor in class DescribableImpldoc - the working documentfillOutValues - a list of attribute names that should have
full XML for their values.
public java.util.Hashtable getXMLMethodDescriptors()
XMLMethodDescriptors descriptors of
the association methods of this object.
getXMLMethodDescriptors in class DescribableImplpublic java.lang.String toString()
toString in class DescribableImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||