|
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.ActiveLink
public class ActiveLink
The ActiveLink
class and methods are used to represent the properties of active link objects.
Note:All the constants used in the ActiveLink
class are found in the Constants
class.
Constructor Summary | |
---|---|
ActiveLink()
construct an empty activeLink instance |
|
ActiveLink(int order,
List<String> formList,
List<Integer> groupList,
int executeMask,
int controlField,
int focusField,
boolean enable,
QualifierInfo query,
List<ActiveLinkAction> actionList,
List<ActiveLinkAction> elseList,
ObjectPropertyMap objPropList,
String name,
String helpText,
int lastUpdateTime,
String owner,
String lastChangedBy,
String diaryStr)
construct an activelink instance with the provided characteristics |
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. |
List<ActiveLinkAction> |
getActionList()
Returns a list of actions performed if the condition defined by the query parameter is satisfied. |
List<Integer> |
getAssignedGroup()
get list of assigned group |
int |
getControlField()
Returns the ID of the field that represents the button, toolbar button, or menu item associated with executing the active link. |
List<ActiveLinkAction> |
getElseList()
Returns set of actions performed if the condition defined by the query parameter is not satisfied. |
String |
getErrorActlinkName()
|
int |
getErrorActlinkOptions()
|
int |
getExecuteMask()
Returns the masks indicating the form operations that trigger the active link. |
int |
getFocusField()
Returns the ID of the field associated with executing the active link by pressing Return or selecting a character menu item. |
List<String> |
getFormList()
Returns the name of forms that are associated with the active link |
List<Integer> |
getGroupList()
Returns the list of zero or more groups who can access this active link. |
String |
getKey()
Returns the unique identifier (name) for active link. |
int |
getOrder()
Returns the active link execution order. |
String |
getPrimaryForm()
returns the primiary form that are associated with the active link |
ObjectPropertyMap |
getProperties()
Returns a list of server object property tags. |
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 identifying whether the active link is disabled (0) or enabled (1). |
void |
setActionList(List<ActiveLinkAction> actionList)
Sets a list of actions performed if the condition defined by the query parameter is satisfied. |
void |
setControlField(int controlField)
Sets the ID of the field that represents the button, toolbar button, or menu item associated with executing the active link. |
void |
setElseList(List<ActiveLinkAction> elseList)
Sets list of actions performed if the condition defined by the query parameter is not satisfied. |
void |
setEnable(boolean enable)
Sets the flag identifying whether the active link is disabled (0) or enabled (1). |
void |
setErrorActlinkName(String errorActlinkName)
|
void |
setErrorActlinkOptions(int errorActlinkOptions)
|
void |
setExecuteMask(int executeMask)
Sets the masks indicating the form operations that trigger the active link. |
void |
setFocusField(int focusField)
Sets the ID of the field associated with executing the active link by pressing Return or selecting a character menu item. |
void |
setFormList(List<String> formList)
Set the name of forms that are associated with the active link |
void |
setGroupList(List<Integer> groupList)
Sets the list of zero or more groups who can access this active link. |
void |
setKey(String key)
Sets a unique identifier (name) for active link. |
void |
setOrder(int order)
Sets the active link execution order. |
void |
setPrimaryForm(String primaryForm)
Sets the name of the primary form |
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 ActiveLink()
public ActiveLink(int order, List<String> formList, List<Integer> groupList, int executeMask, int controlField, int focusField, boolean enable, QualifierInfo query, List<ActiveLinkAction> actionList, List<ActiveLinkAction> elseList, ObjectPropertyMap objPropList, String name, String helpText, int lastUpdateTime, String owner, String lastChangedBy, String diaryStr)
order
- the order of the actlinkformList
- the forms that are associated to the active linkgroupList
- the groups that have permission to access the active linkexecuteMask
- a bitmask indicating the form operations that trigger the active linkcontrolField
- the id of the field that represents the button associated with executing this active linkfocusField
- the id of the field associated with executing the active link by pressing return.enable
- a flag to enable or disable the active linkquery
- a qualification that determins if the active link executes or not.actionList
- the set of actions performed if the condition defined by the query parameter is satisfied.elseList
- the set of actions performed if the condition defined by the query parameter is not satisfied.objPropList
- the object properties of the activelinkname
- the name of the active linkhelpText
- the help text associated with the active linklastUpdateTime
- the last update time of the active linkowner
- the owner for the active linklastChangedBy
- the last admin user who changed the active linkdiaryStr
- the change diary associated with the active link.Method Detail |
---|
public void clear()
ObjectBase
clear
in class ObjectBase
public int getOrder()
public void setOrder(int order)
public int getExecuteMask()
public void setExecuteMask(int executeMask)
Constants.AR_EXECUTE_ON_NONE
has no execution action for the active link.
Constants.AR_EXECUTE_ON_BUTTON
executes the active link when a user selects a button, toolbar
button, or menu item specified by the controlField parameter.
Constants.AR_EXECUTE_ON_RETURN
executes the active link when a user presses Return in field
specified by the focusField parameter.
Constants.AR_EXECUTE_ON_SUBMIT
executes the active link when a user submits an entry (before data is
sent to the AR System server).
Constants.AR_EXECUTE_ON_MODIFY
executes the active link when a user modifies an individual entry
(before data is sent to the AR System server).
Constants.AR_EXECUTE_ON_DISPLAY
executes the active link when a user displays an entry (after data
is retrieved from the AR System server).
Constants.AR_EXECUTE_ON_MENU_CHOICE
executes the active link when a user selects an item from a
character menu associated with a field specified by the focusField parameter or selects a row in a table field
specified by the focusField parameter.
Constants.AR_EXECUTE_ON_LOSE_FOCUS
executes the active link when the focus is changed, for example
by clicking in another field.
Constants.AR_EXECUTE_ON_SET_DEFAULT
executes the active link when a user sets default values (either
manually or through preference settings).
Constants.AR_EXECUTE_ON_QUERY
executes the active link when a user retrieves one or more entries
(before the query is sent to the AR System server).
Constants.AR_EXECUTE_ON_AFTER_MODIFY
executes the active link when a user modifies an individual
entry (after data is committed to the database).
Constants.AR_EXECUTE_ON_GAIN_FOCUS
executes the active link when the specified field receives the
focus.
Constants.AR_EXECUTE_ON_AFTER_SUBMIT
executes the active link when a user submits an entry (after
data is committed to the database).
Constants.AR_EXECUTE_ON_WINDOW_OPEN
executes the active link when a user opens any form window or
changes its mode.
Constants.AR_EXECUTE_ON_WINDOW_CLOSE
executes the active link when a user closes any form window or
changes its mode.
Constants.AR_EXECUTE_ON_UNDISPLAY
executes the active link when a request is removed from the
Details pane because a new request was selected in the Results pane or because the window is closing. The
workflow actions execute before the new request is displayed.
Constants.AR_EXECUTE_ON_COPY_SUBMIT
executes the active link when a user chooses Edit > Copy to New
in Remedy User. The active links will be executed after the data has been sent to the new window, so that the
administrator has the ability to use this data in the workflow.
Constants.AR_EXECUTE_ON_LOADED
executes the active link on Submit and Search windows after
all data has been loaded on the window (from defaults, from a copy to new, from an open window action).
Constants.AR_EXECUTE_ON_INTERVAL
executes the active link when a specified interval has arrived.
Constants.AR_EXECUTE_ON_EVENT
executes the active link when an event has arrived.
Constants.AR_EXECUTE_ON_TABLE_CONTENT_CHANGE
executes the active link when a Table content is changed.
Constants.AR_EXECUTE_ON_HOVER_FIELD_LABEL
executes the active link when cursor is hovering over a field label portion.
Constants.AR_EXECUTE_ON_HOVER_FIELD_DATA
executes the active link when cursor is hovering over a field data portion.
Constants.AR_EXECUTE_ON_HOVER_FIELD
executes the active link when cursor is hovering over a field.
public int getControlField()
Constants.AR_EXECUTE_ON_BUTTON
condition.
public void setControlField(int controlField)
public int getFocusField()
Constants.AR_EXECUTE_ON_RETURN
or Constants.AR_EXECUTE_ON_MENU_CHOICE
conditions.
public void setFocusField(int focusField)
public boolean isEnable()
public void setEnable(boolean enable)
public List<String> getFormList()
public void setFormList(List<String> formList)
formList
- the form names to setpublic String getPrimaryForm()
public void setPrimaryForm(String primaryForm)
primaryForm
- the name of the primary formpublic List<Integer> getGroupList()
public void setGroupList(List<Integer> groupList)
public QualifierInfo getQualifier()
Constants.AR_COND_OP_NONE
) if the active link has no qualification.
public void setQualifier(QualifierInfo query)
public ObjectPropertyMap getProperties()
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<ActiveLinkAction> getActionList()
public void setActionList(List<ActiveLinkAction> actionList)
Constants.AR_MAX_ACTIONS
).
public List<ActiveLinkAction> getElseList()
public void setElseList(List<ActiveLinkAction> elseList)
public String getKey()
public void setKey(String key)
public int getErrorActlinkOptions()
public void setErrorActlinkOptions(int errorActlinkOptions)
errorActlinkOptions
- the m_errorActlinkOptions to setpublic String getErrorActlinkName()
public void setErrorActlinkName(String errorActlinkName)
errorActlinkName
- the m_errorActlinkName to setpublic 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 int hashCode()
hashCode
in class ObjectBase
public String toString()
toString
in class ObjectBase
public List<Integer> getAssignedGroup()
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |