|
7.0 Action Request System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.remedy.arsys.api.ObjectBase
com.remedy.arsys.api.Filter
The Filter class
and methods are used to represent the properties of filter objects.
Note: All the constants used in the Filter class
are found in the Constants class.
| Field Summary |
| Fields inherited from class com.remedy.arsys.api.ObjectBase |
m_changeFlags, m_permissionList |
| Method Summary | |
void |
activate()
Remedy reserved method. |
void |
clear()
Clears all of the references to member objects. |
java.lang.Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
void |
create()
Creates this object on the AR System server. |
boolean |
equals(java.lang.Object anObject)
Use this method for checking equality. |
boolean |
equals(java.lang.Object anObject,
java.lang.String lhsServer,
java.lang.String rhsServer)
|
FilterActionInfo[] |
getActionList()
Returns the set of actions performed if the condition defined by the query parameter is satisfied. |
FilterActionInfo[] |
getElseList()
Returns a list of actions performed if the condition defined by the query parameter is not satisfied. |
long |
getEnable()
Returns the flag to enable or disable this filter. |
FilterKey |
getKey()
Returns the unique identifier for filter. |
PropInfo[] |
getObjPropList()
Returns a list of server object property tags you can specify. |
long |
getOpSet()
Returns the form operations that trigger the filter. |
long |
getOrder()
Returns a value between 0 and 1000 (inclusive) that determines the filter execution order. |
QualifierInfo |
getQualifier()
Returns the qualification that determines which set of If/Else actions should be executed. |
WorkflowConnectInfo |
getWorkflowConnect()
Returns the list of form names the filter is linked to. |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
void |
load()
Populates this object with information from the AR System server. |
void |
load(FilterCriteria criteria)
Populates this object with information specified by FilterCriteria
from the AR System server. |
void |
passivate()
Remedy reserved method. |
void |
remove()
Removes this object on the AR System server. |
void |
setActionList(FilterActionInfo[] actionList)
Sets a list of actions performed if the condition defined by the query parameter is satisfied. |
void |
setContext(ARServerUser ctx)
Associates ARServerUser information with this
AR System server object. |
void |
setDeleteOption(int option)
Sets the delete option indicating the action to take if specified in the filter. |
void |
setElseList(FilterActionInfo[] elseList)
Sets a list of actions performed if the condition defined by the query parameter is not satisfied. |
void |
setEnable(long enable)
Sets the flag to enable or disable this filter. |
void |
setKey(FilterKey key)
Sets the unique identifier for filter. |
void |
setObjPropList(PropInfo[] objPropList)
Sets a list of server object property tags you can specify. |
void |
setOpSet(long opSet)
Sets the form operations that trigger the filter. |
void |
setOrder(long order)
Sets a value between 0 and 1000 (inclusive) that determines the filter execution order. |
void |
setQualifier(QualifierInfo query)
Sets the qualification that determines which set of If/Else actions should be executed. |
void |
setWorkflowConnect(WorkflowConnectInfo workflowConnect)
Sets the list of form names the filter is linked to. |
void |
store()
Updates this filter on the database |
void |
unsetContext()
Removes the association to a specific user context. |
| Methods inherited from class com.remedy.arsys.api.ObjectBase |
getDiary, getHelpText, getLastChangedBy, getLastUpdateTime, getName, getNewName, getOwner, getPermissions, resetChangeFlags, setDiary, setHelpText, setLastChangedBy, setName, setNewName, setOwner, setPermissions |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void setContext(ARServerUser ctx)
IARPersistentObjectARServerUser information with this
AR System server object.
setContext in interface IARPersistentObjectpublic void unsetContext()
IARPersistentObjectsetContext(null).
unsetContext in interface IARPersistentObjectpublic void clear()
IARPersistentObject
clear in interface IARPersistentObjectclear in class ObjectBasepublic void setDeleteOption(int option)
option - Possible values are:
public void create()
throws ARException
create in interface IARPersistentObjectjava.lang.NullPointerException - if invalid ARServerUser object
ARException - if object is not created
public void remove()
throws ARException
remove in interface IARPersistentObjectjava.lang.NullPointerException - if invalid ARServerUser object
ARException - if object is not removed
public void load()
throws ARException
load in interface IARPersistentObjectjava.lang.NullPointerException - if invalid ARServerUser object
ARException - if object is not loaded
public void load(FilterCriteria criteria)
throws ARException
FilterCriteria
from the AR System server.
java.lang.NullPointerException - if invalid ARServerUser object
ARException - if object is not loaded
public void store()
throws ARException
store in interface IARPersistentObjectjava.lang.NullPointerException - if invalid ARServerUser object
ARException - if object is not savedpublic void activate()
activate in interface IARPersistentObjectpublic void passivate()
passivate in interface IARPersistentObjectpublic long getOrder()
public void setOrder(long order)
public long getOpSet()
public void setOpSet(long opSet)
Constants.AR_OPERATION_NONE -- Do not execute the filter.
Constants.AR_OPERATION_GET -- Execute the filter on get
operations.
Constants.AR_OPERATION_SET -- Execute the filter on set
operations.
Constants.AR_OPERATION_CREATE -- Execute the filter on
create operations.
Constants.AR_OPERATION_DELETE -- Execute the filter on
delete operations.
Constants.AR_OPERATION_MERGE -- Execute the filter on
merge operations.
Constants.AR_OPERATION_GUIDE -- Execute the filter in a
filter guide.
.
public long getEnable()
public void setEnable(long enable)
getOpSet() parameter.
public WorkflowConnectInfo getWorkflowConnect()
public void setWorkflowConnect(WorkflowConnectInfo workflowConnect)
public QualifierInfo getQualifier()
public void setQualifier(QualifierInfo query)
NULL or
assign an operation value of 0 (Constants.AR_COND_OP_NONE) if the filter has no qualification. Specify
to execute the filter unconditionally.
public PropInfo[] getObjPropList()
getObjPropList parameter is NULL,
a list of zero properties is returned.
public void setObjPropList(PropInfo[] objPropList)
Constants.AR_OPROP_VENDOR_NAME: (CHAR):
Indicates the vendor name. For example, ? BMC Software.?
Constants.AR_OPROP_VENDOR_PRODUCT: (CHAR):
Indicates the product name. For example, ? AR System.?
Constants.AR_OPROP_VENDOR_VERSION: (CHAR):
Indicates the vendor version. For example, ? 6.0?
Constants.AR_OPROP_GUID: (CHAR):
Indicates the globally unique identifier for the object.
Constants.AR_OPROP_COPYRIGHT: (CHAR):
Indicates the copyright string.
Constants.AR_OPROP_SCC_LOCKED_BY:(CHAR):
Indicates the name of user who has locked the object.
Constants.AR_OPROP_SCC_VERSION: (CHAR):
Indicates the version of the Source Code Control (SCC) system.
Constants.AR_OPROP_SCC_TIMESTAMP: (TIME):
Indicates the SCC timestamp.
Constants.AR_OPROP_SCC_USER: (CHAR):
Indicates the SCC username.
Constants.AR_OPROP_SCC_LOCATION: (CHAR):
Indicates the location within the SCC system where the object may be found.
Constants.AR_OPROP_SCC_DATA_LOCKED_BY: (CHAR):
Indicates the name of the user who has "locked" the data or entries stored in a
form under revision control. The AR System server does not enforce this lock and
thus it is to be considered an advisory lock only.
Constants.AR_OPROP_SCC_DATA_VERSION: (CHAR):
Indicates the SCC version of the data or entries stored in a form under
revision control.
Constants.AR_OPROP_SCC_DATA_TIMESTAMP: (CHAR):
Indicates the SCC version of the data or entries stored in a form under
revision control.
Constants.AR_OPROP_SCC_DATA_USER: (TIME):
Indicates the SCC username fore the data or entries stored in a form under
revision control.
Constants.AR_OPROP_SCC_DATA_LOCATION: (CHAR):
Indicates the location within the SCC system where the data or entries stored
in a form under revision control.
public FilterActionInfo[] getActionList()
public void setActionList(FilterActionInfo[] actionList)
Constants.AR_MAX_ACTIONS).
public FilterActionInfo[] getElseList()
public void setElseList(FilterActionInfo[] elseList)
Constants.AR_MAX_ACTIONS.
public FilterKey getKey()
public void setKey(FilterKey key)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class ObjectBasejava.lang.CloneNotSupportedExceptionpublic boolean equals(java.lang.Object anObject)
equals in class ObjectBase
public boolean equals(java.lang.Object anObject,
java.lang.String lhsServer,
java.lang.String rhsServer)
public int hashCode()
hashCode in class ObjectBase
|
7.0 Action Request System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||