|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bmc.arsys.api.ObjectBase com.bmc.arsys.api.Filter
public class 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.
Constructor Summary | |
---|---|
Filter()
|
|
Filter(int order,
List<String> formList,
int opSet,
boolean enable,
QualifierInfo query,
List<FilterAction> actionList,
List<FilterAction> elseList,
ObjectPropertyMap objPropList,
String name,
String helpText,
int lastUpdateTime,
String owner,
String lastChangedBy,
String diaryStr)
|
Method Summary | |
---|---|
void |
clear()
Clears all of the references to member objects. |
Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the provided one. |
boolean |
equals(Object anObject,
String lhsServer,
String rhsServer)
|
List<FilterAction> |
getActionList()
Returns the set of actions performed if the condition defined by the query parameter is satisfied. |
List<FilterAction> |
getElseList()
Returns a list of actions performed if the condition defined by the query parameter is not satisfied. |
int |
getErrorFilterOptions()
|
String |
getErrorHandlingFilter()
|
List<String> |
getFormList()
|
String |
getKey()
Returns the unique identifier for filter. |
int |
getOpSet()
Returns the form operations that trigger the filter. |
int |
getOrder()
Returns a value between 0 and 1000 (inclusive) that determines the filter execution order. |
String |
getPrimaryForm()
|
ObjectPropertyMap |
getProperties()
Returns a list of server object property tags you can specify. |
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. |
boolean |
isEnable()
Returns the flag to enable or disable this filter. |
void |
setActionList(List<FilterAction> actionList)
Sets a list of actions performed if the condition defined by the query parameter is satisfied. |
void |
setElseList(List<FilterAction> elseList)
Sets a list of actions performed if the condition defined by the query parameter is not satisfied. |
void |
setEnable(boolean enable)
Sets the flag to enable or disable this filter. |
void |
setErrorFilterOptions(int errorFilterOptions)
|
void |
setErrorHandlingFilter(String errorHandlingFilter)
|
void |
setFormList(List<String> formList)
|
void |
setKey(String key)
Sets the unique identifier for filter. |
void |
setOpSet(int opSet)
Sets the form operations that trigger the filter. |
void |
setOrder(int order)
Sets a value between 0 and 1000 (inclusive) that determines the filter execution order. |
void |
setPrimaryForm(String primaryForm)
|
void |
setProperties(ObjectPropertyMap objPropList)
Sets a list of server object property tags you can specify. |
void |
setQualifier(QualifierInfo query)
Sets the qualification that determines which set of If/Else actions should be executed. |
String |
toString()
Returns a string description of the object. |
Methods inherited from class com.bmc.arsys.api.ObjectBase |
---|
appendDiaryText, getChangeFlags, getDiary, getHelpText, getLastChangedBy, getLastUpdateTime, getName, getNewName, getOwner, getPermissions, setChangeFlags, setDiary, setDiary, setHelpText, setLastChangedBy, setName, setNewName, setOwner, setPermissions |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.bmc.arsys.api.IARPersistentObject |
---|
appendDiaryText, getDiary, getHelpText, getLastChangedBy, getLastUpdateTime, getName, getNewName, getOwner, getPermissions, setDiary, setHelpText, setLastChangedBy, setName, setNewName, setOwner, setPermissions |
Constructor Detail |
---|
public Filter()
public Filter(int order, List<String> formList, int opSet, boolean enable, QualifierInfo query, List<FilterAction> actionList, List<FilterAction> elseList, ObjectPropertyMap objPropList, String name, String helpText, int lastUpdateTime, String owner, String lastChangedBy, String diaryStr)
Method Detail |
---|
public void clear()
ObjectBase
clear
in class ObjectBase
public int getOrder()
public void setOrder(int order)
public int getOpSet()
public void setOpSet(int 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 boolean isEnable()
public void setEnable(boolean enable)
getOpSet()
parameter.
public List<String> getFormList()
public void setFormList(List<String> formList)
public String getPrimaryForm()
public void setPrimaryForm(String primaryForm)
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 ObjectPropertyMap getProperties()
getProperties
parameter is NULL,
a list of zero properties is returned.
public void setProperties(ObjectPropertyMap 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 List<FilterAction> getActionList()
public void setActionList(List<FilterAction> actionList)
Constants.AR_MAX_ACTIONS
).
public List<FilterAction> getElseList()
public void setElseList(List<FilterAction> elseList)
Constants.AR_MAX_ACTIONS
.
public String getKey()
public void setKey(String key)
public Object clone() throws CloneNotSupportedException
clone
in class ObjectBase
CloneNotSupportedException
public boolean equals(Object obj)
equals
in class ObjectBase
obj
- the object that we are comparing to
public boolean equals(Object anObject, String lhsServer, String rhsServer)
public int hashCode()
hashCode
in class ObjectBase
public String toString()
toString
in class ObjectBase
public int getErrorFilterOptions()
public void setErrorFilterOptions(int errorFilterOptions)
errorFilterOptions
- the errorFilterOptions to setpublic String getErrorHandlingFilter()
public void setErrorHandlingFilter(String errorHandlingFilter)
errorHandlingFilter
- the errorHandlingFilter to set
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |