| Package | Description |
|---|---|
| org.cristalise.kernel.lifecycle.instance | |
| org.cristalise.kernel.lookup |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Activity.pushJobsToAgents(ItemPath itemPath,
RolePath role) |
| Modifier and Type | Method and Description |
|---|---|
RolePath |
LookupManager.createRole(RolePath role)
Creates a new Role.
|
RolePath |
RolePath.getParent() |
RolePath |
Lookup.getRolePath(String roleName)
Find the RolePath for the named Role
|
RolePath[] |
AgentPath.getRoles() |
RolePath[] |
Lookup.getRoles(AgentPath agentPath)
Get all roles held by the given Agent
|
| Modifier and Type | Method and Description |
|---|---|
void |
LookupManager.addRole(AgentPath agent,
RolePath rolePath)
Adds the given Agent to the given Role, if they both exist.
|
RolePath |
LookupManager.createRole(RolePath role)
Creates a new Role.
|
AgentPath[] |
Lookup.getAgents(RolePath rolePath)
Returns all of the Agents in this centre who hold this role (including sub-roles)
|
boolean |
Lookup.hasRole(AgentPath agentPath,
RolePath role)
Checks if an agent qualifies as holding the stated Role, including any sub-role logic.
|
boolean |
AgentPath.hasRole(RolePath role) |
void |
LookupManager.removeRole(AgentPath agent,
RolePath role)
Remove the given Agent from the given Role.
|
void |
LookupManager.setHasJobList(RolePath role,
boolean hasJobList)
Set the flag specifying whether Activities holding this Role should push
Jobs its Agents.
|
| Constructor and Description |
|---|
RolePath(RolePath parent,
String roleName) |
RolePath(RolePath parent,
String roleName,
boolean jobList) |
Copyright © 1997–2017 CRISTAL-iSE. All rights reserved.