public class JooqLookupManager extends Object implements LookupManager
Lookup.PagedResult, Lookup.SearchConstraints| Constructor and Description |
|---|
JooqLookupManager() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, addRole, createRole, delete, removeRole, setAgentPassword, setAgentPassword, setHasJobList, setIOR, setPermission, setPermissionsexists, getAgentName, getAgentPath, getAgents, getAgents, getChildren, getChildren, getIOR, getItemPath, getRolePath, getRoles, getRoles, hasRole, resolvePath, search, search, search, search, search, searchAliases, searchAliasespublic void open(Authenticator auth)
public void dropHandlers()
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic void initializeDirectory(TransactionKey transactionKey) throws org.cristalise.kernel.common.ObjectNotFoundException
initializeDirectory in interface LookupManagerorg.cristalise.kernel.common.ObjectNotFoundExceptionpublic boolean exists(Path path, TransactionKey transactionKey)
public void add(Path newPath, TransactionKey transactionKey) 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, TransactionKey transactionKey) throws org.cristalise.kernel.common.ObjectCannotBeUpdated
delete in interface LookupManagerorg.cristalise.kernel.common.ObjectCannotBeUpdatedpublic ItemPath getItemPath(String sysKey, TransactionKey transactionKey) throws InvalidItemPathException, org.cristalise.kernel.common.ObjectNotFoundException
getItemPath in interface LookupInvalidItemPathExceptionorg.cristalise.kernel.common.ObjectNotFoundExceptionpublic String getIOR(Path path, TransactionKey transactionKey) throws org.cristalise.kernel.common.ObjectNotFoundException
public Iterator<Path> search(Path start, String name, Lookup.SearchConstraints constraints, TransactionKey transactionKey)
public AgentPath getAgentPath(String agentName, TransactionKey transactionKey) throws org.cristalise.kernel.common.ObjectNotFoundException
getAgentPath in interface Lookuporg.cristalise.kernel.common.ObjectNotFoundExceptionpublic RolePath getRolePath(String roleName, TransactionKey transactionKey) throws org.cristalise.kernel.common.ObjectNotFoundException
getRolePath in interface Lookuporg.cristalise.kernel.common.ObjectNotFoundExceptionpublic ItemPath resolvePath(DomainPath domainPath, TransactionKey transactionKey) throws InvalidItemPathException, org.cristalise.kernel.common.ObjectNotFoundException
resolvePath in interface LookupInvalidItemPathExceptionorg.cristalise.kernel.common.ObjectNotFoundExceptionpublic String getAgentName(AgentPath agentPath, TransactionKey transactionKey) throws org.cristalise.kernel.common.ObjectNotFoundException
getAgentName in interface Lookuporg.cristalise.kernel.common.ObjectNotFoundExceptionpublic Iterator<Path> getChildren(Path path, TransactionKey transactionKey)
getChildren in interface Lookuppublic Lookup.PagedResult getChildren(Path path, int offset, int limit, TransactionKey transactionKey)
getChildren in interface Lookuppublic Iterator<Path> search(Path start, TransactionKey transactionKey, Property... props)
public Lookup.PagedResult search(Path start, List<Property> props, int offset, int limit, TransactionKey transactionKey)
public Iterator<Path> search(Path start, PropertyDescriptionList props, TransactionKey transactionKey)
public Lookup.PagedResult search(Path start, PropertyDescriptionList props, int offset, int limit, TransactionKey transactionKey)
public RolePath createRole(RolePath role, TransactionKey transactionKey) 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, TransactionKey transactionKey) 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, TransactionKey transactionKey) throws org.cristalise.kernel.common.ObjectNotFoundException
public Lookup.PagedResult getAgents(RolePath role, int offset, int limit, TransactionKey transactionKey) throws org.cristalise.kernel.common.ObjectNotFoundException
public RolePath[] getRoles(AgentPath agent, TransactionKey transactionKey)
public Lookup.PagedResult getRoles(AgentPath agent, int offset, int limit, TransactionKey transactionKey)
public boolean hasRole(AgentPath agent, RolePath role, TransactionKey transactionKey)
public void removeRole(AgentPath agent, RolePath role, TransactionKey transactionKey) 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, boolean temporary, TransactionKey transactionKey) 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, TransactionKey transactionKey) 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, TransactionKey transactionKey)
searchAliases in interface Lookuppublic Lookup.PagedResult searchAliases(ItemPath itemPath, int offset, int limit, TransactionKey transactionKey)
searchAliases in interface Lookuppublic void setIOR(ItemPath item, String ior, TransactionKey transactionKey) 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, TransactionKey transactionKey) 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, TransactionKey transactionKey) 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–2022 CRISTAL-iSE. All rights reserved.