public interface AgentOperations extends ItemOperations
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(String roleName)
Add this Agent to the given role
|
void |
refreshJobList(SystemKey itemKey,
String stepPath,
String newJobs)
Supplies the new set of jobs for the given item and activity.
|
void |
removeRole(String roleName)
Remove this Agent from the given role
|
delegatedAction, getSystemKey, initialise, queryData, queryLifeCycle, requestActionvoid refreshJobList(SystemKey itemKey, String stepPath, String newJobs)
itemKey - the item which generated the jobs. The Agent should discard any existing jobs for that Item.stepPath - the Activity within the lifecycle of the item which the jobs relate tonewJobs - an XML marshalled JobArrayList containing the new Jobsvoid addRole(String roleName) throws ObjectNotFoundException, CannotManageException
roleName - the new role to addObjectNotFoundException - when the role doesn't existCannotManageException - when an error occurs writing the data to LDAPvoid removeRole(String roleName) throws ObjectNotFoundException, CannotManageException
the - role name to removeCannotManageException - when an error occurs writing the data to LDAPObjectNotFoundExceptionCopyright © 1997–2019 CRISTAL-iSE. All rights reserved.