public class JooqLookupManager extends Object implements LookupManager
Lookup.PagedResult| Constructor and Description |
|---|
JooqLookupManager() |
public void open(Authenticator auth)
public void dropHandlers()
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic void initializeDirectory()
throws org.cristalise.kernel.common.ObjectNotFoundException
initializeDirectory in interface LookupManagerorg.cristalise.kernel.common.ObjectNotFoundExceptionpublic void add(Path newPath) throws org.cristalise.kernel.common.ObjectCannotBeUpdated, org.cristalise.kernel.common.ObjectAlreadyExistsException
add in interface LookupManagerorg.cristalise.kernel.common.ObjectCannotBeUpdatedorg.cristalise.kernel.common.ObjectAlreadyExistsExceptionpublic void delete(Path path) throws org.cristalise.kernel.common.ObjectCannotBeUpdated
delete in interface LookupManagerorg.cristalise.kernel.common.ObjectCannotBeUpdatedpublic ItemPath getItemPath(String sysKey) throws InvalidItemPathException, org.cristalise.kernel.common.ObjectNotFoundException
getItemPath in interface LookupInvalidItemPathExceptionorg.cristalise.kernel.common.ObjectNotFoundExceptionpublic AgentPath getAgentPath(String agentName) throws org.cristalise.kernel.common.ObjectNotFoundException
getAgentPath in interface Lookuporg.cristalise.kernel.common.ObjectNotFoundExceptionpublic RolePath getRolePath(String roleName) throws org.cristalise.kernel.common.ObjectNotFoundException
getRolePath in interface Lookuporg.cristalise.kernel.common.ObjectNotFoundExceptionpublic ItemPath resolvePath(DomainPath domainPath) throws InvalidItemPathException, org.cristalise.kernel.common.ObjectNotFoundException
resolvePath in interface LookupInvalidItemPathExceptionorg.cristalise.kernel.common.ObjectNotFoundExceptionpublic String getAgentName(AgentPath agentPath) throws org.cristalise.kernel.common.ObjectNotFoundException
getAgentName in interface Lookuporg.cristalise.kernel.common.ObjectNotFoundExceptionpublic 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 org.cristalise.kernel.common.ObjectAlreadyExistsException, org.cristalise.kernel.common.ObjectCannotBeUpdated
createRole in interface LookupManagerorg.cristalise.kernel.common.ObjectAlreadyExistsExceptionorg.cristalise.kernel.common.ObjectCannotBeUpdatedpublic void addRole(AgentPath agent, RolePath role) throws org.cristalise.kernel.common.ObjectCannotBeUpdated, org.cristalise.kernel.common.ObjectNotFoundException
addRole in interface LookupManagerorg.cristalise.kernel.common.ObjectCannotBeUpdatedorg.cristalise.kernel.common.ObjectNotFoundExceptionpublic AgentPath[] getAgents(RolePath role) throws org.cristalise.kernel.common.ObjectNotFoundException
public Lookup.PagedResult getAgents(RolePath role, int offset, int limit) throws org.cristalise.kernel.common.ObjectNotFoundException
public Lookup.PagedResult getRoles(AgentPath agent, int offset, int limit)
public void removeRole(AgentPath agent, RolePath role) throws org.cristalise.kernel.common.ObjectCannotBeUpdated, org.cristalise.kernel.common.ObjectNotFoundException
removeRole in interface LookupManagerorg.cristalise.kernel.common.ObjectCannotBeUpdatedorg.cristalise.kernel.common.ObjectNotFoundExceptionpublic void setAgentPassword(AgentPath agent, String newPassword) throws org.cristalise.kernel.common.ObjectNotFoundException, org.cristalise.kernel.common.ObjectCannotBeUpdated, NoSuchAlgorithmException
setAgentPassword in interface LookupManagerorg.cristalise.kernel.common.ObjectNotFoundExceptionorg.cristalise.kernel.common.ObjectCannotBeUpdatedNoSuchAlgorithmExceptionpublic void setAgentPassword(AgentPath agent, String newPassword, boolean temporary) throws org.cristalise.kernel.common.ObjectNotFoundException, org.cristalise.kernel.common.ObjectCannotBeUpdated, NoSuchAlgorithmException
setAgentPassword in interface LookupManagerorg.cristalise.kernel.common.ObjectNotFoundExceptionorg.cristalise.kernel.common.ObjectCannotBeUpdatedNoSuchAlgorithmExceptionpublic void setHasJobList(RolePath role, boolean hasJobList) throws org.cristalise.kernel.common.ObjectNotFoundException, org.cristalise.kernel.common.ObjectCannotBeUpdated
setHasJobList in interface LookupManagerorg.cristalise.kernel.common.ObjectNotFoundExceptionorg.cristalise.kernel.common.ObjectCannotBeUpdatedpublic 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 org.cristalise.kernel.common.ObjectNotFoundException, org.cristalise.kernel.common.ObjectCannotBeUpdated
setIOR in interface LookupManagerorg.cristalise.kernel.common.ObjectNotFoundExceptionorg.cristalise.kernel.common.ObjectCannotBeUpdatedpublic void setPermission(RolePath role, String permission) throws org.cristalise.kernel.common.ObjectNotFoundException, org.cristalise.kernel.common.ObjectCannotBeUpdated
setPermission in interface LookupManagerorg.cristalise.kernel.common.ObjectNotFoundExceptionorg.cristalise.kernel.common.ObjectCannotBeUpdatedpublic void setPermissions(RolePath role, List<String> permissions) throws org.cristalise.kernel.common.ObjectNotFoundException, org.cristalise.kernel.common.ObjectCannotBeUpdated
setPermissions in interface LookupManagerorg.cristalise.kernel.common.ObjectNotFoundExceptionorg.cristalise.kernel.common.ObjectCannotBeUpdatedpublic void postStartServer()
postStartServer in interface LookupManagerpublic void postBoostrap()
postBoostrap in interface LookupManagerCopyright © 1997–2019 CRISTAL-iSE. All rights reserved.