public class DBUserGroupCallbackImpl extends AbstractUserGroupInfo implements org.kie.internal.task.api.UserGroupCallback
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_PROPERTIES_NAME |
static String |
DS_JNDI_NAME |
static String |
PRINCIPAL_QUERY |
static String |
ROLES_QUERY |
static String |
USER_ROLES_QUERY |
Constructor and Description |
---|
DBUserGroupCallbackImpl(boolean activate) |
DBUserGroupCallbackImpl(Properties config) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkExistence(String querySql,
String parameter) |
boolean |
existsGroup(String groupId) |
boolean |
existsUser(String userId) |
protected Connection |
getConnection() |
List<String> |
getGroupsForUser(String userId,
List<String> groupIds,
List<String> allExistingGroupIds) |
readProperties
protected static final String DEFAULT_PROPERTIES_NAME
public static final String DS_JNDI_NAME
public static final String PRINCIPAL_QUERY
public static final String USER_ROLES_QUERY
public static final String ROLES_QUERY
public DBUserGroupCallbackImpl(boolean activate)
public DBUserGroupCallbackImpl(Properties config)
public boolean existsUser(String userId)
existsUser
in interface org.kie.api.task.UserGroupCallback
public boolean existsGroup(String groupId)
existsGroup
in interface org.kie.api.task.UserGroupCallback
public List<String> getGroupsForUser(String userId, List<String> groupIds, List<String> allExistingGroupIds)
getGroupsForUser
in interface org.kie.api.task.UserGroupCallback
protected Connection getConnection() throws SQLException
SQLException
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.