public class JooqLookupManager extends Object implements LookupManager
Lookup.PagedResult| Modifier and Type | Field and Description |
|---|---|
protected org.jooq.DSLContext |
context |
| Constructor and Description |
|---|
JooqLookupManager() |
public void open(Authenticator auth)
public void initialiseHandlers()
throws PersistencyException
PersistencyExceptionpublic void dropHandlers()
throws PersistencyException
PersistencyExceptionpublic void initializeDirectory()
throws ObjectNotFoundException
initializeDirectory in interface LookupManagerObjectNotFoundExceptionpublic void add(Path newPath) throws ObjectCannotBeUpdated, ObjectAlreadyExistsException
add in interface LookupManagerObjectCannotBeUpdatedObjectAlreadyExistsExceptionpublic void delete(Path path) throws ObjectCannotBeUpdated
delete in interface LookupManagerObjectCannotBeUpdatedpublic ItemPath getItemPath(String sysKey) throws InvalidItemPathException, ObjectNotFoundException
getItemPath in interface LookupInvalidItemPathExceptionObjectNotFoundExceptionpublic String getIOR(Path path) throws ObjectNotFoundException
getIOR in interface LookupObjectNotFoundExceptionpublic AgentPath getAgentPath(String agentName) throws ObjectNotFoundException
getAgentPath in interface LookupObjectNotFoundExceptionpublic RolePath getRolePath(String roleName) throws ObjectNotFoundException
getRolePath in interface LookupObjectNotFoundExceptionpublic ItemPath resolvePath(DomainPath domainPath) throws InvalidItemPathException, ObjectNotFoundException
resolvePath in interface LookupInvalidItemPathExceptionObjectNotFoundExceptionpublic String getAgentName(AgentPath agentPath) throws ObjectNotFoundException
getAgentName in interface LookupObjectNotFoundExceptionpublic Iterator<Path> getChildren(Path path)
getChildren in interface Lookuppublic Lookup.PagedResult getChildren(Path path, int offset, int limit)
getChildren in interface Lookuppublic Lookup.PagedResult search(Path start, List<Property> props, int offset, int limit)
public Iterator<Path> search(Path start, PropertyDescriptionList props)
public Lookup.PagedResult search(Path start, PropertyDescriptionList props, int offset, int limit)
public RolePath createRole(RolePath role) throws ObjectAlreadyExistsException, ObjectCannotBeUpdated
createRole in interface LookupManagerObjectAlreadyExistsExceptionObjectCannotBeUpdatedpublic void addRole(AgentPath agent, RolePath role) throws ObjectCannotBeUpdated, ObjectNotFoundException
addRole in interface LookupManagerObjectCannotBeUpdatedObjectNotFoundExceptionpublic AgentPath[] getAgents(RolePath role) throws ObjectNotFoundException
getAgents in interface LookupObjectNotFoundExceptionpublic Lookup.PagedResult getAgents(RolePath role, int offset, int limit) throws ObjectNotFoundException
getAgents in interface LookupObjectNotFoundExceptionpublic Lookup.PagedResult getRoles(AgentPath agent, int offset, int limit)
public void removeRole(AgentPath agent, RolePath role) throws ObjectCannotBeUpdated, ObjectNotFoundException
removeRole in interface LookupManagerObjectCannotBeUpdatedObjectNotFoundExceptionpublic void setAgentPassword(AgentPath agent, String newPassword) throws ObjectNotFoundException, ObjectCannotBeUpdated, NoSuchAlgorithmException
setAgentPassword in interface LookupManagerObjectNotFoundExceptionObjectCannotBeUpdatedNoSuchAlgorithmExceptionpublic void setAgentPassword(AgentPath agent, String newPassword, boolean temporary) throws ObjectNotFoundException, ObjectCannotBeUpdated, NoSuchAlgorithmException
setAgentPassword in interface LookupManagerObjectNotFoundExceptionObjectCannotBeUpdatedNoSuchAlgorithmExceptionpublic void setHasJobList(RolePath role, boolean hasJobList) throws ObjectNotFoundException, ObjectCannotBeUpdated
setHasJobList in interface LookupManagerObjectNotFoundExceptionObjectCannotBeUpdatedpublic Iterator<Path> searchAliases(ItemPath itemPath)
searchAliases in interface Lookuppublic Lookup.PagedResult searchAliases(ItemPath itemPath, int offset, int limit)
searchAliases in interface Lookuppublic void setIOR(ItemPath item, String ior) throws ObjectNotFoundException, ObjectCannotBeUpdated
setIOR in interface LookupManagerObjectNotFoundExceptionObjectCannotBeUpdatedpublic void setPermission(RolePath role, String permission) throws ObjectNotFoundException, ObjectCannotBeUpdated
setPermission in interface LookupManagerObjectNotFoundExceptionObjectCannotBeUpdatedpublic void setPermissions(RolePath role, List<String> permissions) throws ObjectNotFoundException, ObjectCannotBeUpdated
setPermissions in interface LookupManagerObjectNotFoundExceptionObjectCannotBeUpdatedpublic void postStartServer()
postStartServer in interface LookupManagerpublic void postBoostrap()
postBoostrap in interface LookupManagerCopyright © 1997–2020 CRISTAL-iSE. All rights reserved.