Liferay 6.1.2-ce-ga3

com.liferay.portal.service.persistence
Interface PermissionFinder

All Known Implementing Classes:
PermissionFinderImpl

public interface PermissionFinder


Method Summary
 boolean containsPermissions_2(List<Permission> permissions, long userId, List<Group> groups, long groupId)
           
 boolean containsPermissions_4(List<Permission> permissions, long userId, List<Group> groups, List<Role> roles)
           
 int countByGroupsPermissions(List<Permission> permissions, List<Group> groups)
           
 int countByGroupsRoles(List<Permission> permissions, List<Group> groups)
           
 int countByR_A_C(long roleId, String actionId, long codeId)
           
 int countByRolesPermissions(List<Permission> permissions, List<Role> roles)
           
 int countByUserGroupRole(List<Permission> permissions, long userId, long groupId)
           
 int countByUsersPermissions(List<Permission> permissions, long userId)
           
 int countByUsersRoles(List<Permission> permissions, long userId)
           
 List<Permission> findByA_C(String actionId, long codeId)
           
 List<Permission> findByA_R(String actionId, long[] resourceIds)
           
 List<Permission> findByG_C_N_S_P(long groupId, long companyId, String name, int scope, String primKey)
           
 List<Permission> findByG_R(long groupId, long resourceId)
           
 List<Permission> findByO_G_R(long organizationId, long groupId, long resourceId)
           
 List<Permission> findByR_R(long roleId, long resourceId)
           
 List<Permission> findByR_S(long roleId, int[] scopes)
           
 List<Permission> findByU_A_R(long userId, String[] actionIds, long resourceId)
           
 List<Permission> findByU_C_N_S_P(long userId, long companyId, String name, int scope, String primKey)
           
 List<Permission> findByU_R(long userId, long resourceId)
           
 

Method Detail

containsPermissions_2

boolean containsPermissions_2(List<Permission> permissions,
                              long userId,
                              List<Group> groups,
                              long groupId)
                              throws SystemException
Throws:
SystemException

containsPermissions_4

boolean containsPermissions_4(List<Permission> permissions,
                              long userId,
                              List<Group> groups,
                              List<Role> roles)
                              throws SystemException
Throws:
SystemException

countByGroupsPermissions

int countByGroupsPermissions(List<Permission> permissions,
                             List<Group> groups)
                             throws SystemException
Throws:
SystemException

countByGroupsRoles

int countByGroupsRoles(List<Permission> permissions,
                       List<Group> groups)
                       throws SystemException
Throws:
SystemException

countByRolesPermissions

int countByRolesPermissions(List<Permission> permissions,
                            List<Role> roles)
                            throws SystemException
Throws:
SystemException

countByUserGroupRole

int countByUserGroupRole(List<Permission> permissions,
                         long userId,
                         long groupId)
                         throws SystemException
Throws:
SystemException

countByUsersPermissions

int countByUsersPermissions(List<Permission> permissions,
                            long userId)
                            throws SystemException
Throws:
SystemException

countByUsersRoles

int countByUsersRoles(List<Permission> permissions,
                      long userId)
                      throws SystemException
Throws:
SystemException

countByR_A_C

int countByR_A_C(long roleId,
                 String actionId,
                 long codeId)
                 throws SystemException
Throws:
SystemException

findByA_C

List<Permission> findByA_C(String actionId,
                           long codeId)
                           throws SystemException
Throws:
SystemException

findByA_R

List<Permission> findByA_R(String actionId,
                           long[] resourceIds)
                           throws SystemException
Throws:
SystemException

findByG_R

List<Permission> findByG_R(long groupId,
                           long resourceId)
                           throws SystemException
Throws:
SystemException

findByR_R

List<Permission> findByR_R(long roleId,
                           long resourceId)
                           throws SystemException
Throws:
SystemException

findByR_S

List<Permission> findByR_S(long roleId,
                           int[] scopes)
                           throws SystemException
Throws:
SystemException

findByU_R

List<Permission> findByU_R(long userId,
                           long resourceId)
                           throws SystemException
Throws:
SystemException

findByO_G_R

List<Permission> findByO_G_R(long organizationId,
                             long groupId,
                             long resourceId)
                             throws SystemException
Throws:
SystemException

findByU_A_R

List<Permission> findByU_A_R(long userId,
                             String[] actionIds,
                             long resourceId)
                             throws SystemException
Throws:
SystemException

findByG_C_N_S_P

List<Permission> findByG_C_N_S_P(long groupId,
                                 long companyId,
                                 String name,
                                 int scope,
                                 String primKey)
                                 throws SystemException
Throws:
SystemException

findByU_C_N_S_P

List<Permission> findByU_C_N_S_P(long userId,
                                 long companyId,
                                 String name,
                                 int scope,
                                 String primKey)
                                 throws SystemException
Throws:
SystemException

Liferay 6.1.2-ce-ga3