com.liferay.portal.service.persistence
Interface PermissionFinder
- public interface PermissionFinder
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
boolean |
containsPermissions_2(java.util.List permissions,
long userId,
java.util.List groups,
long groupId)
|
boolean |
containsPermissions_4(java.util.List permissions,
long userId,
java.util.List groups,
java.util.List roles)
|
int |
countByGroupsPermissions(java.util.List permissions,
java.util.List groups)
|
int |
countByGroupsRoles(java.util.List permissions,
java.util.List groups)
|
int |
countByRolesPermissions(java.util.List permissions,
java.util.List roles)
|
int |
countByUserGroupRole(java.util.List permissions,
long userId,
long groupId)
|
int |
countByUsersPermissions(java.util.List permissions,
long userId)
|
int |
countByUsersRoles(java.util.List permissions,
long userId)
|
java.util.List |
findByA_R(java.lang.String actionId,
long[] resourceIds)
|
java.util.List |
findByG_C_N_S_P(long groupId,
long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
|
java.util.List |
findByG_R(long groupId,
long resourceId)
|
java.util.List |
findByO_G_R(long organizationId,
long groupId,
long resourceId)
|
java.util.List |
findByR_R(long roleId,
long resourceId)
|
java.util.List |
findByU_A_R(long userId,
java.lang.String[] actionIds,
long resourceId)
|
java.util.List |
findByU_C_N_S_P(long userId,
long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
|
java.util.List |
findByU_R(long userId,
long resourceId)
|
containsPermissions_2
public boolean containsPermissions_2(java.util.List permissions,
long userId,
java.util.List groups,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsPermissions_4
public boolean containsPermissions_4(java.util.List permissions,
long userId,
java.util.List groups,
java.util.List roles)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupsPermissions
public int countByGroupsPermissions(java.util.List permissions,
java.util.List groups)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupsRoles
public int countByGroupsRoles(java.util.List permissions,
java.util.List groups)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByRolesPermissions
public int countByRolesPermissions(java.util.List permissions,
java.util.List roles)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserGroupRole
public int countByUserGroupRole(java.util.List permissions,
long userId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUsersPermissions
public int countByUsersPermissions(java.util.List permissions,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUsersRoles
public int countByUsersRoles(java.util.List permissions,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByA_R
public java.util.List findByA_R(java.lang.String actionId,
long[] resourceIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_R
public java.util.List findByG_R(long groupId,
long resourceId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByR_R
public java.util.List findByR_R(long roleId,
long resourceId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU_R
public java.util.List findByU_R(long userId,
long resourceId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByO_G_R
public java.util.List findByO_G_R(long organizationId,
long groupId,
long resourceId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU_A_R
public java.util.List findByU_A_R(long userId,
java.lang.String[] actionIds,
long resourceId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_C_N_S_P
public java.util.List findByG_C_N_S_P(long groupId,
long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU_C_N_S_P
public java.util.List findByU_C_N_S_P(long userId,
long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException