Uses of Class
org.cristalise.kernel.lookup.RolePath
Packages that use RolePath
Package
Description
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.
-
Uses of RolePath in org.cristalise.kernel.entity.imports
Methods in org.cristalise.kernel.entity.imports that return RolePathMethods in org.cristalise.kernel.entity.imports with parameters of type RolePathMethod parameters in org.cristalise.kernel.entity.imports with type arguments of type RolePath -
Uses of RolePath in org.cristalise.kernel.entity.proxy
Methods in org.cristalise.kernel.entity.proxy that return RolePath -
Uses of RolePath in org.cristalise.kernel.lookup
Methods in org.cristalise.kernel.lookup that return RolePathModifier and TypeMethodDescriptiondefault RolePathLookupManager.createRole(RolePath role) Creates a new Role.LookupManager.createRole(RolePath role, TransactionKey transactionKey) Creates a new Role.RolePath.getParent()RolePath.getParent(TransactionKey transactionKey) default RolePathLookup.getRolePath(String roleName) Find the RolePath for the named RoleLookup.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()RolePath[]AgentPath.getRoles(TransactionKey transactionKey) default RolePath[]Get all roles held by the given AgentRolePath[]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.Methods in org.cristalise.kernel.lookup with parameters of type RolePathModifier and TypeMethodDescriptiondefault voidAdds the given Agent to the given Role, if they both exist.voidLookupManager.addRole(AgentPath agent, RolePath rolePath, TransactionKey transactionKey) Adds the given Agent to the given Role, if they both exist.default RolePathLookupManager.createRole(RolePath role) Creates a new Role.LookupManager.createRole(RolePath role, TransactionKey transactionKey) Creates a new Role.default AgentPath[]Returns all of the Agents in this centre who hold this role (including sub-roles)default Lookup.PagedResultReturns all of the Agents who hold this role (including sub-roles)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.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.booleanbooleanAgentPath.hasRole(RolePath role, TransactionKey transactionKey) default booleanChecks if an agent qualifies as holding the stated Role, including any sub-role logic.booleanLookup.hasRole(AgentPath agentPath, RolePath role, TransactionKey transactionKey) Checks if an agent qualifies as holding the stated Role, including any sub-role logic.default voidLookupManager.removeRole(AgentPath agent, RolePath role) Remove the given Agent from the given Role.voidLookupManager.removeRole(AgentPath agent, RolePath role, TransactionKey transactionKey) Remove the given Agent from the given Role.default voidLookupManager.setHasJobList(RolePath role, boolean hasJobList) Set the flag specifying whether Activities holding this Role should push Jobs its Agents.voidLookupManager.setHasJobList(RolePath role, boolean hasJobList, TransactionKey transactionKey) Set the flag specifying whether Activities holding this Role should push Jobs its Agents.default voidLookupManager.setPermission(RolePath role, String permission) Sets the permission of the given Role.voidLookupManager.setPermission(RolePath role, String permission, TransactionKey transactionKey) Sets the permission of the given Role.default voidLookupManager.setPermissions(RolePath role, List<String> permissions) Sets the list of permission of the given Role.voidLookupManager.setPermissions(RolePath role, List<String> permissions, TransactionKey transactionKey) Sets the list of permission of the given Role.Method parameters in org.cristalise.kernel.lookup with type arguments of type RolePathModifier and TypeMethodDescriptionbooleanAgentPath.hasMatchingRole(List<RolePath> roles) booleanAgentPath.hasMatchingRole(List<RolePath> roles, TransactionKey transactionKey) Constructors in org.cristalise.kernel.lookup with parameters of type RolePathModifierConstructorDescription