7.0 Action Request System Java API

com.remedy.arsys.api
Class AuditInfo

java.lang.Object
  extended bycom.remedy.arsys.api.AuditInfo
All Implemented Interfaces:
java.lang.Cloneable

public class AuditInfo
extends java.lang.Object
implements java.lang.Cloneable

The AuditInfo class and methods are used to represent the properties of AuditInfo objects.

Note: All the constants used in the AuditInfo class are found in the Constants class.


Constructor Summary
AuditInfo()
          constructor
AuditInfo(long enable, long style, java.lang.String form, QualifierInfo query)
           
 
Method Summary
 void clear()
           
 java.lang.Object clone()
          Clone implementation that returns an Object with data cloned from self.
 boolean equals(java.lang.Object anObject)
          Use this method for checking equality.
 java.lang.String getAuditForm()
          Gets/Sets the String for audit destination.
 java.lang.String getAuditFrom()
          Gets the String for audit from.
 long getAuditStyle()
          Sets a bitmask for the audit styles.
 long getEnable()
          Returns flag whether this audit is enabled or disabled.
 QualifierInfo getQualifier()
          Returns the qualification that determines which set of If/Else actions should be executed.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setAuditForm(java.lang.String form)
           
 void setAuditStyle(long style)
           
 void setContext(ARServerUser ctx)
           
 void setEnable(long enable)
          Sets flag to enable or disable this audit.
 void setQualifier(QualifierInfo query)
          Sets the qualification that determines what data to be archived.
 void unsetContext()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditInfo

public AuditInfo()
constructor


AuditInfo

public AuditInfo(long enable,
                 long style,
                 java.lang.String form,
                 QualifierInfo query)
Method Detail

setContext

public void setContext(ARServerUser ctx)

unsetContext

public void unsetContext()

clear

public void clear()

getEnable

public long getEnable()
Returns flag whether this audit is enabled or disabled. A value of 0 -- audit is disabled. A value of 1 -- audit is enabled.


setEnable

public void setEnable(long enable)
Sets flag to enable or disable this audit. A value of 0 disables the audit, A value of 1 enables the audit, causing its audit to resume


getAuditStyle

public long getAuditStyle()
Sets a bitmask for the audit styles. A value of 0 disables the audit, A value of 1 sets audit to the copy style, A value of 2 sets audit to the log style


setAuditStyle

public void setAuditStyle(long style)

getAuditForm

public java.lang.String getAuditForm()
Gets/Sets the String for audit destination.


setAuditForm

public void setAuditForm(java.lang.String form)

getAuditFrom

public java.lang.String getAuditFrom()
Gets the String for audit from.


getQualifier

public QualifierInfo getQualifier()
Returns the qualification that determines which set of If/Else actions should be executed.


setQualifier

public void setQualifier(QualifierInfo query)
Sets the qualification that determines what data to be archived. Specify NULL or assign an operation value of 0 (Constants.AR_COND_OP_NONE) if the archive has no qualification.


clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self.

Throws:
java.lang.CloneNotSupportedException

equals

public boolean equals(java.lang.Object anObject)
Use this method for checking equality. The result is true only if the argument is not null, is of same type and represents the same content.


hashCode

public int hashCode()
Returns the hash code value for this instance of the current class. This method is supported as required by the general contract of Object.hashCode, for the benefit of hash tables such as those provided by java.util.Hashtable.


7.0 Action Request System Java API