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,
AgentPath agent) |
void |
createTables(org.jooq.DSLContext context) |
int |
delete(org.jooq.DSLContext context,
RolePath role,
AgentPath agent) |
void |
dropTables(org.jooq.DSLContext context) |
boolean |
exists(org.jooq.DSLContext context,
RolePath role,
AgentPath agent) |
RolePath |
fetch(org.jooq.DSLContext context,
RolePath role) |
List<Path> |
find(org.jooq.DSLContext context,
RolePath startPath,
String name,
List<UUID> uuids) |
List<Path> |
find(org.jooq.DSLContext context,
String pattern,
List<UUID> uuids) |
List<UUID> |
findAgents(org.jooq.DSLContext context,
RolePath role) |
List<Path> |
findByRegex(org.jooq.DSLContext context,
String pattern) |
List<Path> |
findByRegex(org.jooq.DSLContext context,
String pattern,
int offset,
int limit) |
List<Path> |
findRolesOfAgent(org.jooq.DSLContext context,
AgentPath agent,
int offset,
int limit,
JooqPermissionHandler permissions) |
List<Path> |
findRolesOfAgent(org.jooq.DSLContext context,
AgentPath agent,
JooqPermissionHandler permissions) |
static List<Path> |
getListOfPaths(org.jooq.Result<?> result) |
static List<Path> |
getListOfPaths(org.jooq.Result<?> result,
org.jooq.DSLContext context,
JooqPermissionHandler permissions) |
static RolePath |
getRolePath(org.jooq.Record record,
List<String> permissions) |
int |
insert(org.jooq.DSLContext context,
RolePath role,
AgentPath agent) |
int |
update(org.jooq.DSLContext context,
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 void dropTables(org.jooq.DSLContext context)
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic static List<Path> getListOfPaths(org.jooq.Result<?> result, org.jooq.DSLContext context, JooqPermissionHandler permissions)
public int update(org.jooq.DSLContext context,
RolePath role)
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic int delete(org.jooq.DSLContext context,
RolePath role,
AgentPath agent)
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic int insert(org.jooq.DSLContext context,
RolePath role,
AgentPath agent)
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic boolean exists(org.jooq.DSLContext context,
RolePath role,
AgentPath agent)
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic RolePath fetch(org.jooq.DSLContext context, RolePath role) throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic List<UUID> findAgents(org.jooq.DSLContext context, RolePath role) throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic int countRolesOfAgent(org.jooq.DSLContext context,
AgentPath agent)
throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic List<Path> findRolesOfAgent(org.jooq.DSLContext context, AgentPath agent, JooqPermissionHandler permissions) throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic List<Path> findRolesOfAgent(org.jooq.DSLContext context, AgentPath agent, int offset, int limit, JooqPermissionHandler permissions) throws org.cristalise.kernel.common.PersistencyException
org.cristalise.kernel.common.PersistencyExceptionpublic int countByRegex(org.jooq.DSLContext context,
String pattern)
public List<Path> findByRegex(org.jooq.DSLContext context, String pattern, int offset, int limit)
public List<Path> find(org.jooq.DSLContext context, RolePath startPath, String name, List<UUID> uuids)
Copyright © 1997–2019 CRISTAL-iSE. All rights reserved.