public interface LookupManager extends Lookup
Lookup.PagedResult| Modifier and Type | Method and Description |
|---|---|
void |
add(Path newPath)
Register a new a Path in the directory.
|
void |
addRole(AgentPath agent,
RolePath rolePath)
Adds the given Agent to the given Role, if they both exist.
|
RolePath |
createRole(RolePath role)
Creates a new Role.
|
void |
delete(Path path)
Remove a Path from the directory.
|
void |
initializeDirectory()
Called when a server starts up.
|
void |
removeRole(AgentPath agent,
RolePath role)
Remove the given Agent from the given Role.
|
void |
setAgentPassword(AgentPath agent,
String newPassword)
Set permanent password of Agent's
|
void |
setAgentPassword(AgentPath agent,
String newPassword,
boolean temporary)
Set an Agent's password
|
void |
setHasJobList(RolePath role,
boolean hasJobList)
Set the flag specifying whether Activities holding this Role should push
Jobs its Agents.
|
void |
setIOR(ItemPath item,
String ior)
Set the IOR of the Item
|
void |
setPermission(RolePath role,
String permission)
Sets the permission of the given Role.
|
void |
setPermissions(RolePath role,
List<String> permissions)
Sets the list of permission of the given Role.
|
close, exists, getAgentName, getAgentPath, getAgents, getAgents, getChildren, getChildren, getIOR, getItemPath, getRolePath, getRoles, getRoles, hasRole, open, resolvePath, search, search, search, search, search, searchAliases, searchAliasesvoid initializeDirectory()
throws ObjectNotFoundException
ObjectNotFoundException - When initialization data is not foundvoid add(Path newPath) throws ObjectCannotBeUpdated, ObjectAlreadyExistsException
newPath - The path to addObjectCannotBeUpdated - When there is an error writing to the
directoryObjectAlreadyExistsException - When the Path has already been registeredvoid delete(Path path) throws ObjectCannotBeUpdated
path - The path to removeObjectCannotBeUpdated - When an error occurs writing to the directoryRolePath createRole(RolePath role) throws ObjectAlreadyExistsException, ObjectCannotBeUpdated
role - The new role pathObjectAlreadyExistsExceptionObjectCannotBeUpdatedvoid addRole(AgentPath agent, RolePath rolePath) throws ObjectCannotBeUpdated, ObjectNotFoundException
agent - the path representing the given AgentrolePath - the path representing the given RoleObjectCannotBeUpdatedObjectNotFoundExceptionvoid removeRole(AgentPath agent, RolePath role) throws ObjectCannotBeUpdated, ObjectNotFoundException
agent - the path representing the given Agentrole - the path representing the given RoleObjectCannotBeUpdatedObjectNotFoundExceptionvoid setAgentPassword(AgentPath agent, String newPassword) throws ObjectNotFoundException, ObjectCannotBeUpdated, NoSuchAlgorithmException
agent - The AgentnewPassword - The Agent's new passwordObjectNotFoundExceptionObjectCannotBeUpdatedNoSuchAlgorithmExceptionvoid setAgentPassword(AgentPath agent, String newPassword, boolean temporary) throws ObjectNotFoundException, ObjectCannotBeUpdated, NoSuchAlgorithmException
agent - The AgentnewPassword - The Agent's new passwordtemporary - whether the new password is temporary or notObjectNotFoundExceptionObjectCannotBeUpdatedNoSuchAlgorithmExceptionvoid setHasJobList(RolePath role, boolean hasJobList) throws ObjectNotFoundException, ObjectCannotBeUpdated
role - The role to modifyhasJobList - boolean flagObjectNotFoundExceptionObjectCannotBeUpdatedvoid setIOR(ItemPath item, String ior) throws ObjectNotFoundException, ObjectCannotBeUpdated
item - the Item to be updatedior - the new iorObjectNotFoundException - Item does not existsObjectCannotBeUpdated - there was a probelm updating the iorvoid setPermission(RolePath role, String permission) throws ObjectNotFoundException, ObjectCannotBeUpdated
role - the RolePath to changepermission - String using WildcardPermission format of shiroObjectNotFoundException - Role does not existsObjectCannotBeUpdated - there was a problem updating the permissionsvoid setPermissions(RolePath role, List<String> permissions) throws ObjectNotFoundException, ObjectCannotBeUpdated
role - the RolePath to changepermissions - list of String using WildcardPermission format of shiroObjectNotFoundException - Role does not existsObjectCannotBeUpdated - there was a problem updating the permissionsCopyright © 1997–2019 CRISTAL-iSE. All rights reserved.