com.liferay.portal.service.persistence
Interface ResourcePermissionFinder


public interface ResourcePermissionFinder

Author:
Brian Wing Shun Chan

Method Summary
 int countByC_N_S_P_R_A(long companyId, java.lang.String name, int scope, java.lang.String primKey, long[] roleIds, long actionId)
           
 int countByR_S(long roleId, int[] scopes)
           
 java.util.List<java.lang.String> findByC_N_S(long companyId, java.lang.String name, int scope)
           
 java.util.List<ResourcePermission> findByC_P(long companyId, java.lang.String primKey)
           
 java.util.List<ResourcePermission> findByR_S(long roleId, int[] scopes, int start, int end)
           
 java.util.List<ResourcePermission> findByResource(long companyId, long groupId, java.lang.String name, java.lang.String primKey)
           
 

Method Detail

countByR_S

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

countByC_N_S_P_R_A

int countByC_N_S_P_R_A(long companyId,
                       java.lang.String name,
                       int scope,
                       java.lang.String primKey,
                       long[] roleIds,
                       long actionId)
                       throws SystemException
Throws:
SystemException

findByResource

java.util.List<ResourcePermission> findByResource(long companyId,
                                                  long groupId,
                                                  java.lang.String name,
                                                  java.lang.String primKey)
                                                  throws SystemException
Throws:
SystemException

findByC_P

java.util.List<ResourcePermission> findByC_P(long companyId,
                                             java.lang.String primKey)
                                             throws SystemException
Throws:
SystemException

findByR_S

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

findByC_N_S

java.util.List<java.lang.String> findByC_N_S(long companyId,
                                             java.lang.String name,
                                             int scope)
                                             throws SystemException
Throws:
SystemException