public class JooqLookupManager extends Object implements org.cristalise.kernel.lookup.LookupManager
| Modifier and Type | Field and Description |
|---|---|
protected org.jooq.DSLContext |
context |
| Constructor and Description |
|---|
JooqLookupManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.cristalise.kernel.lookup.Path newPath) |
void |
addRole(org.cristalise.kernel.lookup.AgentPath agent,
org.cristalise.kernel.lookup.RolePath role) |
void |
close() |
org.cristalise.kernel.lookup.RolePath |
createRole(org.cristalise.kernel.lookup.RolePath role) |
void |
delete(org.cristalise.kernel.lookup.Path path) |
boolean |
exists(org.cristalise.kernel.lookup.Path path) |
String |
getAgentName(org.cristalise.kernel.lookup.AgentPath agentPath) |
org.cristalise.kernel.lookup.AgentPath |
getAgentPath(String agentName) |
org.cristalise.kernel.lookup.AgentPath[] |
getAgents(org.cristalise.kernel.lookup.RolePath role) |
org.cristalise.kernel.lookup.Lookup.PagedResult |
getAgents(org.cristalise.kernel.lookup.RolePath role,
int offset,
int limit) |
Iterator<org.cristalise.kernel.lookup.Path> |
getChildren(org.cristalise.kernel.lookup.Path path) |
org.cristalise.kernel.lookup.Lookup.PagedResult |
getChildren(org.cristalise.kernel.lookup.Path path,
int offset,
int limit) |
String |
getIOR(org.cristalise.kernel.lookup.Path path) |
org.cristalise.kernel.lookup.ItemPath |
getItemPath(String sysKey) |
org.cristalise.kernel.lookup.RolePath |
getRolePath(String roleName) |
org.cristalise.kernel.lookup.RolePath[] |
getRoles(org.cristalise.kernel.lookup.AgentPath agent) |
org.cristalise.kernel.lookup.Lookup.PagedResult |
getRoles(org.cristalise.kernel.lookup.AgentPath agent,
int offset,
int limit) |
boolean |
hasRole(org.cristalise.kernel.lookup.AgentPath agent,
org.cristalise.kernel.lookup.RolePath role) |
void |
initializeDirectory() |
void |
open(org.cristalise.kernel.process.auth.Authenticator auth) |
void |
removeRole(org.cristalise.kernel.lookup.AgentPath agent,
org.cristalise.kernel.lookup.RolePath role) |
org.cristalise.kernel.lookup.ItemPath |
resolvePath(org.cristalise.kernel.lookup.DomainPath domainPath) |
org.cristalise.kernel.lookup.Lookup.PagedResult |
search(org.cristalise.kernel.lookup.Path start,
List<org.cristalise.kernel.property.Property> props,
int offset,
int limit) |
Iterator<org.cristalise.kernel.lookup.Path> |
search(org.cristalise.kernel.lookup.Path start,
org.cristalise.kernel.property.Property... props) |
Iterator<org.cristalise.kernel.lookup.Path> |
search(org.cristalise.kernel.lookup.Path start,
org.cristalise.kernel.property.PropertyDescriptionList props) |
org.cristalise.kernel.lookup.Lookup.PagedResult |
search(org.cristalise.kernel.lookup.Path start,
org.cristalise.kernel.property.PropertyDescriptionList props,
int offset,
int limit) |
Iterator<org.cristalise.kernel.lookup.Path> |
search(org.cristalise.kernel.lookup.Path start,
String name) |
Iterator<org.cristalise.kernel.lookup.Path> |
searchAliases(org.cristalise.kernel.lookup.ItemPath itemPath) |
org.cristalise.kernel.lookup.Lookup.PagedResult |
searchAliases(org.cristalise.kernel.lookup.ItemPath itemPath,
int offset,
int limit) |
void |
setAgentPassword(org.cristalise.kernel.lookup.AgentPath agent,
String newPassword) |
void |
setAgentPassword(org.cristalise.kernel.lookup.AgentPath agent,
String newPassword,
boolean temporary) |
void |
setHasJobList(org.cristalise.kernel.lookup.RolePath role,
boolean hasJobList) |
void |
setIOR(org.cristalise.kernel.lookup.ItemPath item,
String ior) |
public void open(org.cristalise.kernel.process.auth.Authenticator auth)
open in interface org.cristalise.kernel.lookup.Lookuppublic void initializeDirectory()
throws org.cristalise.kernel.common.ObjectNotFoundException
initializeDirectory in interface org.cristalise.kernel.lookup.LookupManagerorg.cristalise.kernel.common.ObjectNotFoundExceptionpublic void close()
close in interface org.cristalise.kernel.lookup.Lookuppublic boolean exists(org.cristalise.kernel.lookup.Path path)
exists in interface org.cristalise.kernel.lookup.Lookuppublic void add(org.cristalise.kernel.lookup.Path newPath)
throws org.cristalise.kernel.common.ObjectCannotBeUpdated,
org.cristalise.kernel.common.ObjectAlreadyExistsException
add in interface org.cristalise.kernel.lookup.LookupManagerorg.cristalise.kernel.common.ObjectCannotBeUpdatedorg.cristalise.kernel.common.ObjectAlreadyExistsExceptionpublic void delete(org.cristalise.kernel.lookup.Path path)
throws org.cristalise.kernel.common.ObjectCannotBeUpdated
delete in interface org.cristalise.kernel.lookup.LookupManagerorg.cristalise.kernel.common.ObjectCannotBeUpdatedpublic org.cristalise.kernel.lookup.ItemPath getItemPath(String sysKey) throws org.cristalise.kernel.lookup.InvalidItemPathException, org.cristalise.kernel.common.ObjectNotFoundException
getItemPath in interface org.cristalise.kernel.lookup.Lookuporg.cristalise.kernel.lookup.InvalidItemPathExceptionorg.cristalise.kernel.common.ObjectNotFoundExceptionpublic String getIOR(org.cristalise.kernel.lookup.Path path) throws org.cristalise.kernel.common.ObjectNotFoundException
getIOR in interface org.cristalise.kernel.lookup.Lookuporg.cristalise.kernel.common.ObjectNotFoundExceptionpublic Iterator<org.cristalise.kernel.lookup.Path> search(org.cristalise.kernel.lookup.Path start, String name)
search in interface org.cristalise.kernel.lookup.Lookuppublic org.cristalise.kernel.lookup.AgentPath getAgentPath(String agentName) throws org.cristalise.kernel.common.ObjectNotFoundException
getAgentPath in interface org.cristalise.kernel.lookup.Lookuporg.cristalise.kernel.common.ObjectNotFoundExceptionpublic org.cristalise.kernel.lookup.RolePath getRolePath(String roleName) throws org.cristalise.kernel.common.ObjectNotFoundException
getRolePath in interface org.cristalise.kernel.lookup.Lookuporg.cristalise.kernel.common.ObjectNotFoundExceptionpublic org.cristalise.kernel.lookup.ItemPath resolvePath(org.cristalise.kernel.lookup.DomainPath domainPath)
throws org.cristalise.kernel.lookup.InvalidItemPathException,
org.cristalise.kernel.common.ObjectNotFoundException
resolvePath in interface org.cristalise.kernel.lookup.Lookuporg.cristalise.kernel.lookup.InvalidItemPathExceptionorg.cristalise.kernel.common.ObjectNotFoundExceptionpublic String getAgentName(org.cristalise.kernel.lookup.AgentPath agentPath) throws org.cristalise.kernel.common.ObjectNotFoundException
getAgentName in interface org.cristalise.kernel.lookup.Lookuporg.cristalise.kernel.common.ObjectNotFoundExceptionpublic Iterator<org.cristalise.kernel.lookup.Path> getChildren(org.cristalise.kernel.lookup.Path path)
getChildren in interface org.cristalise.kernel.lookup.Lookuppublic org.cristalise.kernel.lookup.Lookup.PagedResult getChildren(org.cristalise.kernel.lookup.Path path,
int offset,
int limit)
getChildren in interface org.cristalise.kernel.lookup.Lookuppublic Iterator<org.cristalise.kernel.lookup.Path> search(org.cristalise.kernel.lookup.Path start, org.cristalise.kernel.property.Property... props)
search in interface org.cristalise.kernel.lookup.Lookuppublic org.cristalise.kernel.lookup.Lookup.PagedResult search(org.cristalise.kernel.lookup.Path start,
List<org.cristalise.kernel.property.Property> props,
int offset,
int limit)
search in interface org.cristalise.kernel.lookup.Lookuppublic Iterator<org.cristalise.kernel.lookup.Path> search(org.cristalise.kernel.lookup.Path start, org.cristalise.kernel.property.PropertyDescriptionList props)
search in interface org.cristalise.kernel.lookup.Lookuppublic org.cristalise.kernel.lookup.Lookup.PagedResult search(org.cristalise.kernel.lookup.Path start,
org.cristalise.kernel.property.PropertyDescriptionList props,
int offset,
int limit)
search in interface org.cristalise.kernel.lookup.Lookuppublic org.cristalise.kernel.lookup.RolePath createRole(org.cristalise.kernel.lookup.RolePath role)
throws org.cristalise.kernel.common.ObjectAlreadyExistsException,
org.cristalise.kernel.common.ObjectCannotBeUpdated
createRole in interface org.cristalise.kernel.lookup.LookupManagerorg.cristalise.kernel.common.ObjectAlreadyExistsExceptionorg.cristalise.kernel.common.ObjectCannotBeUpdatedpublic void addRole(org.cristalise.kernel.lookup.AgentPath agent,
org.cristalise.kernel.lookup.RolePath role)
throws org.cristalise.kernel.common.ObjectCannotBeUpdated,
org.cristalise.kernel.common.ObjectNotFoundException
addRole in interface org.cristalise.kernel.lookup.LookupManagerorg.cristalise.kernel.common.ObjectCannotBeUpdatedorg.cristalise.kernel.common.ObjectNotFoundExceptionpublic org.cristalise.kernel.lookup.AgentPath[] getAgents(org.cristalise.kernel.lookup.RolePath role)
throws org.cristalise.kernel.common.ObjectNotFoundException
getAgents in interface org.cristalise.kernel.lookup.Lookuporg.cristalise.kernel.common.ObjectNotFoundExceptionpublic org.cristalise.kernel.lookup.Lookup.PagedResult getAgents(org.cristalise.kernel.lookup.RolePath role,
int offset,
int limit)
throws org.cristalise.kernel.common.ObjectNotFoundException
getAgents in interface org.cristalise.kernel.lookup.Lookuporg.cristalise.kernel.common.ObjectNotFoundExceptionpublic org.cristalise.kernel.lookup.RolePath[] getRoles(org.cristalise.kernel.lookup.AgentPath agent)
getRoles in interface org.cristalise.kernel.lookup.Lookuppublic org.cristalise.kernel.lookup.Lookup.PagedResult getRoles(org.cristalise.kernel.lookup.AgentPath agent,
int offset,
int limit)
getRoles in interface org.cristalise.kernel.lookup.Lookuppublic boolean hasRole(org.cristalise.kernel.lookup.AgentPath agent,
org.cristalise.kernel.lookup.RolePath role)
hasRole in interface org.cristalise.kernel.lookup.Lookuppublic void removeRole(org.cristalise.kernel.lookup.AgentPath agent,
org.cristalise.kernel.lookup.RolePath role)
throws org.cristalise.kernel.common.ObjectCannotBeUpdated,
org.cristalise.kernel.common.ObjectNotFoundException
removeRole in interface org.cristalise.kernel.lookup.LookupManagerorg.cristalise.kernel.common.ObjectCannotBeUpdatedorg.cristalise.kernel.common.ObjectNotFoundExceptionpublic void setAgentPassword(org.cristalise.kernel.lookup.AgentPath agent,
String newPassword)
throws org.cristalise.kernel.common.ObjectNotFoundException,
org.cristalise.kernel.common.ObjectCannotBeUpdated,
NoSuchAlgorithmException
setAgentPassword in interface org.cristalise.kernel.lookup.LookupManagerorg.cristalise.kernel.common.ObjectNotFoundExceptionorg.cristalise.kernel.common.ObjectCannotBeUpdatedNoSuchAlgorithmExceptionpublic void setAgentPassword(org.cristalise.kernel.lookup.AgentPath agent,
String newPassword,
boolean temporary)
throws org.cristalise.kernel.common.ObjectNotFoundException,
org.cristalise.kernel.common.ObjectCannotBeUpdated,
NoSuchAlgorithmException
setAgentPassword in interface org.cristalise.kernel.lookup.LookupManagerorg.cristalise.kernel.common.ObjectNotFoundExceptionorg.cristalise.kernel.common.ObjectCannotBeUpdatedNoSuchAlgorithmExceptionpublic void setHasJobList(org.cristalise.kernel.lookup.RolePath role,
boolean hasJobList)
throws org.cristalise.kernel.common.ObjectNotFoundException,
org.cristalise.kernel.common.ObjectCannotBeUpdated
setHasJobList in interface org.cristalise.kernel.lookup.LookupManagerorg.cristalise.kernel.common.ObjectNotFoundExceptionorg.cristalise.kernel.common.ObjectCannotBeUpdatedpublic Iterator<org.cristalise.kernel.lookup.Path> searchAliases(org.cristalise.kernel.lookup.ItemPath itemPath)
searchAliases in interface org.cristalise.kernel.lookup.Lookuppublic org.cristalise.kernel.lookup.Lookup.PagedResult searchAliases(org.cristalise.kernel.lookup.ItemPath itemPath,
int offset,
int limit)
searchAliases in interface org.cristalise.kernel.lookup.Lookuppublic void setIOR(org.cristalise.kernel.lookup.ItemPath item,
String ior)
throws org.cristalise.kernel.common.ObjectNotFoundException,
org.cristalise.kernel.common.ObjectCannotBeUpdated
setIOR in interface org.cristalise.kernel.lookup.LookupManagerorg.cristalise.kernel.common.ObjectNotFoundExceptionorg.cristalise.kernel.common.ObjectCannotBeUpdatedCopyright © 2018 CRISTAL-iSE. All rights reserved.