com.liferay.portal.service.persistence
Interface RoleFinder
- public interface RoleFinder
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
int |
countByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer type,
java.util.LinkedHashMap params)
|
int |
countByR_U(long roleId,
long userId)
|
java.util.List |
findByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer type,
java.util.LinkedHashMap params,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.Map |
findByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
|
Role |
findByC_N(long companyId,
java.lang.String name)
|
java.util.List |
findByU_G(long userId,
java.util.List groups)
|
java.util.List |
findByU_G(long userId,
long groupId)
|
java.util.List |
findByU_G(long userId,
long[] groupIds)
|
java.util.List |
findByUserGroupRole(long userId,
long groupId)
|
countByR_U
public int countByR_U(long roleId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_N_D_T
public int countByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer type,
java.util.LinkedHashMap params)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserGroupRole
public java.util.List findByUserGroupRole(long userId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_N
public Role findByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchRoleException
findByU_G
public java.util.List findByU_G(long userId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU_G
public java.util.List findByU_G(long userId,
long[] groupIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU_G
public java.util.List findByU_G(long userId,
java.util.List groups)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_N_D_T
public java.util.List findByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer type,
java.util.LinkedHashMap params,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_N_S_P
public java.util.Map findByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException