@ProviderType
public class ResourcePermissionFinderUtil
extends Object
Constructor and Description |
---|
ResourcePermissionFinderUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
countByC_N_S_P_R_A(long companyId,
String name,
int scope,
String primKey,
long[] roleIds,
long actionId) |
static int |
countByR_S(long roleId,
int[] scopes) |
static Map<Serializable,ResourcePermission> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
static List<ResourcePermission> |
findByR_S(long roleId,
int[] scopes,
int start,
int end) |
static List<ResourcePermission> |
findByResource(long companyId,
long groupId,
String name,
String primKey) |
static ResourcePermissionFinder |
getFinder() |
void |
setFinder(ResourcePermissionFinder finder) |
public static int countByR_S(long roleId, int[] scopes)
public static int countByC_N_S_P_R_A(long companyId, String name, int scope, String primKey, long[] roleIds, long actionId)
public static Map<Serializable,ResourcePermission> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
public static List<ResourcePermission> findByResource(long companyId, long groupId, String name, String primKey)
public static List<ResourcePermission> findByR_S(long roleId, int[] scopes, int start, int end)
public static ResourcePermissionFinder getFinder()
public void setFinder(ResourcePermissionFinder finder)