@ProviderType
public class RoleFinderUtil
extends Object
Constructor and Description |
---|
RoleFinderUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
countByC_N_D_T(long companyId,
String[] names,
String[] descriptions,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator) |
static int |
countByC_N_D_T(long companyId,
String name,
String description,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator) |
static int |
countByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId) |
static int |
countByKeywords(long companyId,
String keywords,
Integer[] types) |
static int |
countByKeywords(long companyId,
String keywords,
Integer[] types,
LinkedHashMap<String,Object> params) |
static int |
countByR_U(long roleId,
long userId) |
static int |
countByU_G_R(long userId,
long groupId,
long roleId) |
static int |
countByUserGroupGroupRole(long userId,
long groupId) |
static int |
filterCountByC_N_D_T(long companyId,
String[] names,
String[] descriptions,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator) |
static int |
filterCountByC_N_D_T(long companyId,
String name,
String description,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator) |
static int |
filterCountByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId) |
static int |
filterCountByKeywords(long companyId,
String keywords,
Integer[] types,
LinkedHashMap<String,Object> params) |
static List<Role> |
filterFindByC_N_D_T(long companyId,
String[] names,
String[] descriptions,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator,
int start,
int end,
OrderByComparator<Role> obc) |
static List<Role> |
filterFindByC_N_D_T(long companyId,
String name,
String description,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator,
int start,
int end,
OrderByComparator<Role> obc) |
static List<Role> |
filterFindByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId,
int start,
int end) |
static List<Role> |
filterFindByKeywords(long companyId,
String keywords,
Integer[] types,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator<Role> obc) |
static List<Role> |
findByC_N_D_T(long companyId,
String[] names,
String[] descriptions,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator,
int start,
int end,
OrderByComparator<Role> obc) |
static List<Role> |
findByC_N_D_T(long companyId,
String name,
String description,
Integer[] types,
LinkedHashMap<String,Object> params,
boolean andOperator,
int start,
int end,
OrderByComparator<Role> obc) |
static List<Role> |
findByC_N_S_P_A(long companyId,
String name,
int scope,
String primKey,
String actionId) |
static Map<String,List<String>> |
findByC_N_S_P(long companyId,
String name,
int scope,
String primKey) |
static Role |
findByC_N(long companyId,
String name) |
static List<Role> |
findByGroupRoleAndTeamRole(long companyId,
String keywords,
List<String> excludedNames,
int[] types,
long excludedTeamRoleId,
long teamGroupId,
int start,
int end) |
static List<Role> |
findByKeywords(long companyId,
String keywords,
Integer[] types,
int start,
int end,
OrderByComparator<Role> obc) |
static List<Role> |
findByKeywords(long companyId,
String keywords,
Integer[] types,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator<Role> obc) |
static List<Role> |
findByR_N_A(long resourceBlockId,
String className,
String actionId) |
static List<Role> |
findBySystem(long companyId) |
static List<Role> |
findByTeamsUser(long userId,
long groupId) |
static List<Role> |
findByU_G(long userId,
List<Group> groups) |
static List<Role> |
findByU_G(long userId,
long groupId) |
static List<Role> |
findByU_G(long userId,
long[] groupIds) |
static List<Role> |
findByUserGroupGroupRole(long userId,
long groupId) |
static List<Role> |
findByUserGroupGroupRole(long userId,
long groupId,
int start,
int end) |
static List<Role> |
findByUserGroupRole(long userId,
long groupId) |
static RoleFinder |
getFinder() |
void |
setFinder(RoleFinder finder) |
public static int countByGroupRoleAndTeamRole(long companyId, String keywords, List<String> excludedNames, int[] types, long excludedTeamRoleId, long teamGroupId)
public static int countByKeywords(long companyId, String keywords, Integer[] types)
public static int countByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params)
public static int countByUserGroupGroupRole(long userId, long groupId)
public static int countByR_U(long roleId, long userId)
public static int countByU_G_R(long userId, long groupId, long roleId)
public static int countByC_N_D_T(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
public static int countByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
public static int filterCountByGroupRoleAndTeamRole(long companyId, String keywords, List<String> excludedNames, int[] types, long excludedTeamRoleId, long teamGroupId)
public static int filterCountByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params)
public static int filterCountByC_N_D_T(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
public static int filterCountByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator)
public static List<Role> filterFindByGroupRoleAndTeamRole(long companyId, String keywords, List<String> excludedNames, int[] types, long excludedTeamRoleId, long teamGroupId, int start, int end)
public static List<Role> filterFindByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator<Role> obc)
public static List<Role> filterFindByC_N_D_T(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator<Role> obc)
public static List<Role> filterFindByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator<Role> obc)
public static List<Role> findByGroupRoleAndTeamRole(long companyId, String keywords, List<String> excludedNames, int[] types, long excludedTeamRoleId, long teamGroupId, int start, int end)
public static List<Role> findByKeywords(long companyId, String keywords, Integer[] types, int start, int end, OrderByComparator<Role> obc)
public static List<Role> findByKeywords(long companyId, String keywords, Integer[] types, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator<Role> obc)
public static List<Role> findBySystem(long companyId)
public static List<Role> findByTeamsUser(long userId, long groupId)
public static List<Role> findByUserGroupGroupRole(long userId, long groupId)
public static List<Role> findByUserGroupGroupRole(long userId, long groupId, int start, int end)
public static List<Role> findByUserGroupRole(long userId, long groupId)
public static Role findByC_N(long companyId, String name) throws NoSuchRoleException
NoSuchRoleException
public static List<Role> findByU_G(long userId, long groupId)
public static List<Role> findByU_G(long userId, long[] groupIds)
public static List<Role> findByR_N_A(long resourceBlockId, String className, String actionId)
public static List<Role> findByC_N_D_T(long companyId, String name, String description, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator<Role> obc)
public static List<Role> findByC_N_D_T(long companyId, String[] names, String[] descriptions, Integer[] types, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator<Role> obc)
public static Map<String,List<String>> findByC_N_S_P(long companyId, String name, int scope, String primKey)
public static List<Role> findByC_N_S_P_A(long companyId, String name, int scope, String primKey, String actionId)
public static RoleFinder getFinder()
public void setFinder(RoleFinder finder)