| Package | Description |
|---|---|
| org.cristalise.kernel.entity.imports | |
| org.cristalise.kernel.entity.proxy |
The Proxy API is a major part of the client-side functionality of the
CRISTAL API, which provides client-side proxy objects that represent the
Items and Agents on the server.
|
| org.cristalise.kernel.lifecycle.instance | |
| org.cristalise.kernel.lookup | |
| org.cristalise.kernel.process |
| Modifier and Type | Field and Description |
|---|---|
RolePath |
ImportRole.rolePath |
| Modifier and Type | Method and Description |
|---|---|
static ImportRole |
ImportRole.getImportRole(RolePath rp) |
| Modifier and Type | Method and Description |
|---|---|
void |
ImportAgent.addRoles(List<RolePath> newRoles) |
| Modifier and Type | Method and Description |
|---|---|
RolePath[] |
AgentProxy.getRoles() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Activity.pushJobsToAgents(ItemPath itemPath,
RolePath role) |
| Modifier and Type | Method and Description |
|---|---|
default RolePath |
LookupManager.createRole(RolePath role)
Creates a new Role.
|
RolePath |
LookupManager.createRole(RolePath role,
TransactionKey transactionKey)
Creates a new Role.
|
RolePath |
AgentPath.getFirstMatchingRole(List<RolePath> roles) |
RolePath |
AgentPath.getFirstMatchingRole(List<RolePath> roles,
TransactionKey transactionKey) |
RolePath |
RolePath.getParent() |
RolePath |
RolePath.getParent(TransactionKey transactionKey) |
default RolePath |
Lookup.getRolePath(String roleName)
Find the RolePath for the named Role
|
RolePath |
Lookup.getRolePath(String roleName,
TransactionKey transactionKey)
Find the RolePath for the named Role
This method can be used in server side code or Script to find uncommitted changes during the active transaction.
|
RolePath[] |
AgentPath.getRoles() |
default RolePath[] |
Lookup.getRoles(AgentPath agentPath)
Get all roles held by the given Agent
|
RolePath[] |
Lookup.getRoles(AgentPath agentPath,
TransactionKey transactionKey)
Get all roles held by the given Agent
This method can be used in server side code or Script to find uncommitted changes during the active transaction.
|
RolePath[] |
AgentPath.getRoles(TransactionKey transactionKey) |
| Modifier and Type | Method and Description |
|---|---|
default void |
LookupManager.addRole(AgentPath agent,
RolePath rolePath)
Adds the given Agent to the given Role, if they both exist.
|
void |
LookupManager.addRole(AgentPath agent,
RolePath rolePath,
TransactionKey transactionKey)
Adds the given Agent to the given Role, if they both exist.
|
default RolePath |
LookupManager.createRole(RolePath role)
Creates a new Role.
|
RolePath |
LookupManager.createRole(RolePath role,
TransactionKey transactionKey)
Creates a new Role.
|
default AgentPath[] |
Lookup.getAgents(RolePath rolePath)
Returns all of the Agents in this centre who hold this role (including sub-roles)
|
default Lookup.PagedResult |
Lookup.getAgents(RolePath rolePath,
int offset,
int limit)
Returns all of the Agents who hold this role (including sub-roles)
|
Lookup.PagedResult |
Lookup.getAgents(RolePath rolePath,
int offset,
int limit,
TransactionKey transactionKey)
Returns all of the Agents who hold this role (including sub-roles)
This method can be used in server side code or Script to find uncommitted changes during the active transaction.
|
AgentPath[] |
Lookup.getAgents(RolePath rolePath,
TransactionKey transactionKey)
Returns all of the Agents in this centre who hold this role (including sub-roles)
This method can be used in server side code or Script to find uncommitted changes during the active transaction.
|
default boolean |
Lookup.hasRole(AgentPath agentPath,
RolePath role)
Checks if an agent qualifies as holding the stated Role, including any sub-role logic.
|
boolean |
Lookup.hasRole(AgentPath agentPath,
RolePath role,
TransactionKey transactionKey)
Checks if an agent qualifies as holding the stated Role, including any sub-role logic.
|
boolean |
AgentPath.hasRole(RolePath role) |
boolean |
AgentPath.hasRole(RolePath role,
TransactionKey transactionKey) |
default void |
LookupManager.removeRole(AgentPath agent,
RolePath role)
Remove the given Agent from the given Role.
|
void |
LookupManager.removeRole(AgentPath agent,
RolePath role,
TransactionKey transactionKey)
Remove the given Agent from the given Role.
|
default void |
LookupManager.setHasJobList(RolePath role,
boolean hasJobList)
Set the flag specifying whether Activities holding this Role should push Jobs its Agents.
|
void |
LookupManager.setHasJobList(RolePath role,
boolean hasJobList,
TransactionKey transactionKey)
Set the flag specifying whether Activities holding this Role should push Jobs its Agents.
|
default void |
LookupManager.setPermission(RolePath role,
String permission)
Sets the permission of the given Role.
|
void |
LookupManager.setPermission(RolePath role,
String permission,
TransactionKey transactionKey)
Sets the permission of the given Role.
|
default void |
LookupManager.setPermissions(RolePath role,
List<String> permissions)
Sets the list of permission of the given Role.
|
void |
LookupManager.setPermissions(RolePath role,
List<String> permissions,
TransactionKey transactionKey)
Sets the list of permission of the given Role.
|
| Modifier and Type | Method and Description |
|---|---|
RolePath |
AgentPath.getFirstMatchingRole(List<RolePath> roles) |
RolePath |
AgentPath.getFirstMatchingRole(List<RolePath> roles,
TransactionKey transactionKey) |
| Constructor and Description |
|---|
RolePath(RolePath parent,
String roleName) |
RolePath(RolePath parent,
String roleName,
boolean jobList) |
RolePath(RolePath parent,
String roleName,
boolean jobList,
List<String> newPermissions) |
RolePath(RolePath parent,
String roleName,
boolean jobList,
Set<String> newPermissions) |
RolePath(RolePath parent,
String roleName,
List<String> newPermissions) |
RolePath(RolePath parent,
String roleName,
Set<String> newPermissions) |
| Modifier and Type | Method and Description |
|---|---|
static void |
StandardServer.resetAgentIORs(RolePath root,
TransactionKey transactionKey) |
Copyright © 1997–2022 CRISTAL-iSE. All rights reserved.