com.liferay.portal.service.persistence
Class RoleFinder
java.lang.Object
com.liferay.portal.service.persistence.RoleFinder
- public class RoleFinder
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer type)
|
static int |
countByR_U(long roleId,
long userId)
|
static java.util.List |
findByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer type,
int begin,
int end)
|
static java.util.Map |
findByC_N_S_P(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
|
static com.liferay.portal.model.Role |
findByC_N(long companyId,
java.lang.String name)
|
static java.util.List |
findByU_G(long userId,
java.util.List groups)
|
static java.util.List |
findByU_G(long userId,
long groupId)
|
static java.util.List |
findByU_G(long userId,
long[] groupIds)
|
static java.util.List |
findByUserGroupRole(long userId,
long groupId)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COUNT_BY_C_N_D_T
public static java.lang.String COUNT_BY_C_N_D_T
COUNT_BY_COMMUNITY
public static java.lang.String COUNT_BY_COMMUNITY
COUNT_BY_ORGANIZATION
public static java.lang.String COUNT_BY_ORGANIZATION
COUNT_BY_USER
public static java.lang.String COUNT_BY_USER
COUNT_BY_USER_GROUP
public static java.lang.String COUNT_BY_USER_GROUP
FIND_BY_USER_GROUP_ROLE
public static java.lang.String FIND_BY_USER_GROUP_ROLE
FIND_BY_C_N
public static java.lang.String FIND_BY_C_N
FIND_BY_U_G
public static java.lang.String FIND_BY_U_G
FIND_BY_C_N_D_T
public static java.lang.String FIND_BY_C_N_D_T
FIND_BY_C_N_S_P
public static java.lang.String FIND_BY_C_N_S_P
RoleFinder
public RoleFinder()
countByR_U
public static int countByR_U(long roleId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_N_D_T
public static int countByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserGroupRole
public static java.util.List findByUserGroupRole(long userId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_N
public static com.liferay.portal.model.Role findByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.NoSuchRoleException
com.liferay.portal.SystemException
findByU_G
public static java.util.List findByU_G(long userId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU_G
public static java.util.List findByU_G(long userId,
long[] groupIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU_G
public static 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 static java.util.List findByC_N_D_T(long companyId,
java.lang.String name,
java.lang.String description,
java.lang.Integer type,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_N_S_P
public static 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