Liferay 6.2-ce-ga5

com.liferay.portal.service.persistence
Class ResourcePermissionFinderUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.ResourcePermissionFinderUtil

@ProviderType
public class ResourcePermissionFinderUtil
extends Object


Constructor Summary
ResourcePermissionFinderUtil()
           
 
Method Summary
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 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourcePermissionFinderUtil

public ResourcePermissionFinderUtil()
Method Detail

countByR_S

public static int countByR_S(long roleId,
                             int[] scopes)
                      throws SystemException
Throws:
SystemException

countByC_N_S_P_R_A

public static int countByC_N_S_P_R_A(long companyId,
                                     String name,
                                     int scope,
                                     String primKey,
                                     long[] roleIds,
                                     long actionId)
                              throws SystemException
Throws:
SystemException

findByResource

public static List<ResourcePermission> findByResource(long companyId,
                                                      long groupId,
                                                      String name,
                                                      String primKey)
                                               throws SystemException
Throws:
SystemException

findByR_S

public static List<ResourcePermission> findByR_S(long roleId,
                                                 int[] scopes,
                                                 int start,
                                                 int end)
                                          throws SystemException
Throws:
SystemException

getFinder

public static ResourcePermissionFinder getFinder()

setFinder

public void setFinder(ResourcePermissionFinder finder)

Liferay 6.2-ce-ga5