|
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.ActiveLinkFactory
The methods in the ActiveLinkFactory class are used to
instantiate a new active link object or to get an existing active link from the server.
You then define the properties of the object,
and then you can perform different operations (e.g. set/create/delete) on the object
from the server side.
The following Java code snippet is an example of how to get
an active link object that is existing on the server:
ActiveLinkFactory activeLinkFactory = ActiveLinkFactory.getFactory( );
ActiveLinkKey key = new ActiveLinkKey( );
ActiveLinkCriteria criteria = new ActiveLinkCriteria( );
criteria.setRetrieveAll( true );
ActiveLink activeLink = activeLinkFactory.findByKey( context, key, criteria );
| Constructor Summary | |
protected |
ActiveLinkFactory()
|
| Method Summary | |
static ActiveLinkKey[] |
find(ARServerUser context,
WorkflowObjectListCriteria criteria)
Returns a list of active link names specified by WorkflowObjectListCriteria. |
static ActiveLink |
findByKey(ARServerUser context,
ActiveLinkKey key,
ActiveLinkCriteria criteria)
Returns detailed information about the ActiveLink object
specified by ActiveLinkCriteria and ActiveLinkKey. |
static ActiveLink[] |
findObjects(ARServerUser context,
WorkflowObjectListCriteria listcriteria,
ActiveLinkCriteria criteria)
Returns detailed information for a list of ActiveLink objects
specified by WorkflowObjectListCriteria and ActiveLinkCriteria. |
static ActiveLinkFactory |
getFactory()
Returns the active link factory. |
java.lang.Object |
newInstance()
Instantiates a new active link object in memory. |
boolean |
releaseInstance(java.lang.Object activeLink)
Releases instance of active link object from memory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected ActiveLinkFactory()
| Method Detail |
public static ActiveLinkFactory getFactory()
public java.lang.Object newInstance()
newInstance in interface IARObjectFactorypublic boolean releaseInstance(java.lang.Object activeLink)
releaseInstance in interface IARObjectFactory
public static ActiveLink findByKey(ARServerUser context,
ActiveLinkKey key,
ActiveLinkCriteria criteria)
throws ARException
ActiveLink object
specified by ActiveLinkCriteria and ActiveLinkKey.
context - A ARServerUser object containing user name, password, server name and language informationcriteria - A ActiveLinkCriteria object containing the name of the active link and the information to retrieve
java.lang.NullPointerException - if invalid ARServerUser object
ARException - if information is not returned
public static ActiveLinkKey[] find(ARServerUser context,
WorkflowObjectListCriteria criteria)
throws ARException
WorkflowObjectListCriteria.
context - A ARServerUser object containing user name, password, server name and language informationcriteria - A WorkflowObjectListCriteria object
java.lang.NullPointerException - if invalid ARServerUser object
ARException - if list is not returned
public static ActiveLink[] findObjects(ARServerUser context,
WorkflowObjectListCriteria listcriteria,
ActiveLinkCriteria criteria)
throws ARException
ActiveLink objects
specified by WorkflowObjectListCriteria and ActiveLinkCriteria.
context - A ARServerUser object containing user name, password, server name and language informationlistcriteria - A WorkflowObjectListCriteria objectcriteria - A ActiveLinkCriteria object
java.lang.NullPointerException - if invalid ARServerUser object
ARException - if information is not returned
|
7.0 Action Request System Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||