public class JooqRolePathHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.jooq.Field<UUID> |
AGENT |
static org.jooq.Field<Boolean> |
JOBLIST |
static org.jooq.Field<String> |
PATH |
static org.jooq.Table<?> |
ROLE_PATH_TABLE |
| Constructor and Description |
|---|
JooqRolePathHandler() |
| Modifier and Type | Method and Description |
|---|---|
int |
countByRegex(org.jooq.DSLContext context,
String pattern) |
int |
countRolesOfAgent(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.AgentPath agent) |
void |
createTables(org.jooq.DSLContext context) |
int |
delete(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.RolePath role,
org.cristalise.kernel.lookup.AgentPath agent) |
boolean |
exists(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.RolePath role,
org.cristalise.kernel.lookup.AgentPath agent) |
org.cristalise.kernel.lookup.RolePath |
fetch(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.RolePath role) |
List<org.cristalise.kernel.lookup.Path> |
find(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.RolePath startPath,
String name,
List<UUID> uuids) |
List<org.cristalise.kernel.lookup.Path> |
find(org.jooq.DSLContext context,
String pattern,
List<UUID> uuids) |
List<UUID> |
findAgents(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.RolePath role) |
List<org.cristalise.kernel.lookup.Path> |
findByRegex(org.jooq.DSLContext context,
String pattern) |
List<org.cristalise.kernel.lookup.Path> |
findByRegex(org.jooq.DSLContext context,
String pattern,
int offset,
int limit) |
List<org.cristalise.kernel.lookup.Path> |
findRolesOfAgent(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.AgentPath agent) |
List<org.cristalise.kernel.lookup.Path> |
findRolesOfAgent(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.AgentPath agent,
int offset,
int limit) |
static List<org.cristalise.kernel.lookup.Path> |
getLisOfPaths(org.jooq.Result<?> result) |
static org.cristalise.kernel.lookup.RolePath |
getRolePath(org.jooq.Record record) |
int |
insert(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.RolePath role,
org.cristalise.kernel.lookup.AgentPath agent) |
int |
update(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.RolePath role) |
public static final org.jooq.Table<?> ROLE_PATH_TABLE
public static final org.jooq.Field<String> PATH
public static final org.jooq.Field<Boolean> JOBLIST
public static final org.jooq.Field<UUID> AGENT
public void createTables(org.jooq.DSLContext context)
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic static org.cristalise.kernel.lookup.RolePath getRolePath(org.jooq.Record record)
public static List<org.cristalise.kernel.lookup.Path> getLisOfPaths(org.jooq.Result<?> result)
public int update(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.RolePath role)
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic int delete(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.RolePath role,
org.cristalise.kernel.lookup.AgentPath agent)
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic int insert(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.RolePath role,
org.cristalise.kernel.lookup.AgentPath agent)
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic boolean exists(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.RolePath role,
org.cristalise.kernel.lookup.AgentPath agent)
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic org.cristalise.kernel.lookup.RolePath fetch(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.RolePath role)
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic List<UUID> findAgents(org.jooq.DSLContext context, org.cristalise.kernel.lookup.RolePath role) throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic int countRolesOfAgent(org.jooq.DSLContext context,
org.cristalise.kernel.lookup.AgentPath agent)
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic List<org.cristalise.kernel.lookup.Path> findRolesOfAgent(org.jooq.DSLContext context, org.cristalise.kernel.lookup.AgentPath agent) throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic List<org.cristalise.kernel.lookup.Path> findRolesOfAgent(org.jooq.DSLContext context, org.cristalise.kernel.lookup.AgentPath agent, int offset, int limit) throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic int countByRegex(org.jooq.DSLContext context,
String pattern)
public List<org.cristalise.kernel.lookup.Path> findByRegex(org.jooq.DSLContext context, String pattern)
public List<org.cristalise.kernel.lookup.Path> findByRegex(org.jooq.DSLContext context, String pattern, int offset, int limit)
public List<org.cristalise.kernel.lookup.Path> find(org.jooq.DSLContext context, org.cristalise.kernel.lookup.RolePath startPath, String name, List<UUID> uuids)
Copyright © 2018 CRISTAL-iSE. All rights reserved.