com.liferay.portal.service.persistence
Class UserGroupRoleUtil
java.lang.Object
com.liferay.portal.service.persistence.UserGroupRoleUtil
public class UserGroupRoleUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
UserGroupRolePersistence
,
UserGroupRolePersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<UserGroupRole> userGroupRoles)
|
static void |
cacheResult(UserGroupRole userGroupRole)
|
static void |
clearCache()
|
static int |
countAll()
|
static int |
countByG_R(long groupId,
long roleId)
|
static int |
countByGroupId(long groupId)
|
static int |
countByRoleId(long roleId)
|
static int |
countByU_G(long userId,
long groupId)
|
static int |
countByUserId(long userId)
|
static UserGroupRole |
create(UserGroupRolePK userGroupRolePK)
|
static UserGroupRole |
fetchByPrimaryKey(UserGroupRolePK userGroupRolePK)
|
static java.util.List<UserGroupRole> |
findAll()
|
static java.util.List<UserGroupRole> |
findAll(int start,
int end)
|
static java.util.List<UserGroupRole> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole |
findByG_R_First(long groupId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole |
findByG_R_Last(long groupId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole[] |
findByG_R_PrevAndNext(UserGroupRolePK userGroupRolePK,
long groupId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<UserGroupRole> |
findByG_R(long groupId,
long roleId)
|
static java.util.List<UserGroupRole> |
findByG_R(long groupId,
long roleId,
int start,
int end)
|
static java.util.List<UserGroupRole> |
findByG_R(long groupId,
long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole[] |
findByGroupId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<UserGroupRole> |
findByGroupId(long groupId)
|
static java.util.List<UserGroupRole> |
findByGroupId(long groupId,
int start,
int end)
|
static java.util.List<UserGroupRole> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole |
findByPrimaryKey(UserGroupRolePK userGroupRolePK)
|
static UserGroupRole |
findByRoleId_First(long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole |
findByRoleId_Last(long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole[] |
findByRoleId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<UserGroupRole> |
findByRoleId(long roleId)
|
static java.util.List<UserGroupRole> |
findByRoleId(long roleId,
int start,
int end)
|
static java.util.List<UserGroupRole> |
findByRoleId(long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole |
findByU_G_First(long userId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole |
findByU_G_Last(long userId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole[] |
findByU_G_PrevAndNext(UserGroupRolePK userGroupRolePK,
long userId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<UserGroupRole> |
findByU_G(long userId,
long groupId)
|
static java.util.List<UserGroupRole> |
findByU_G(long userId,
long groupId,
int start,
int end)
|
static java.util.List<UserGroupRole> |
findByU_G(long userId,
long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static UserGroupRole[] |
findByUserId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<UserGroupRole> |
findByUserId(long userId)
|
static java.util.List<UserGroupRole> |
findByUserId(long userId,
int start,
int end)
|
static java.util.List<UserGroupRole> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static UserGroupRolePersistence |
getPersistence()
|
static UserGroupRole |
remove(UserGroupRole userGroupRole)
|
static UserGroupRole |
remove(UserGroupRolePK userGroupRolePK)
|
static void |
removeAll()
|
static void |
removeByG_R(long groupId,
long roleId)
|
static void |
removeByGroupId(long groupId)
|
static void |
removeByRoleId(long roleId)
|
static void |
removeByU_G(long userId,
long groupId)
|
static void |
removeByUserId(long userId)
|
void |
setPersistence(UserGroupRolePersistence persistence)
|
static UserGroupRole |
update(UserGroupRole userGroupRole,
boolean merge)
|
static UserGroupRole |
updateImpl(UserGroupRole userGroupRole,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserGroupRoleUtil
public UserGroupRoleUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static UserGroupRole remove(UserGroupRole userGroupRole)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static UserGroupRole update(UserGroupRole userGroupRole,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(UserGroupRole userGroupRole)
cacheResult
public static void cacheResult(java.util.List<UserGroupRole> userGroupRoles)
create
public static UserGroupRole create(UserGroupRolePK userGroupRolePK)
remove
public static UserGroupRole remove(UserGroupRolePK userGroupRolePK)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
updateImpl
public static UserGroupRole updateImpl(UserGroupRole userGroupRole,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public static UserGroupRole findByPrimaryKey(UserGroupRolePK userGroupRolePK)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
fetchByPrimaryKey
public static UserGroupRole fetchByPrimaryKey(UserGroupRolePK userGroupRolePK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
public static java.util.List<UserGroupRole> findByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
public static java.util.List<UserGroupRole> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
public static java.util.List<UserGroupRole> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId_First
public static UserGroupRole findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findByUserId_Last
public static UserGroupRole findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findByUserId_PrevAndNext
public static UserGroupRole[] findByUserId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<UserGroupRole> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<UserGroupRole> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<UserGroupRole> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId_First
public static UserGroupRole findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findByGroupId_Last
public static UserGroupRole findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findByGroupId_PrevAndNext
public static UserGroupRole[] findByGroupId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findByRoleId
public static java.util.List<UserGroupRole> findByRoleId(long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByRoleId
public static java.util.List<UserGroupRole> findByRoleId(long roleId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByRoleId
public static java.util.List<UserGroupRole> findByRoleId(long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByRoleId_First
public static UserGroupRole findByRoleId_First(long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findByRoleId_Last
public static UserGroupRole findByRoleId_Last(long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findByRoleId_PrevAndNext
public static UserGroupRole[] findByRoleId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findByU_G
public static java.util.List<UserGroupRole> findByU_G(long userId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByU_G
public static java.util.List<UserGroupRole> findByU_G(long userId,
long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByU_G
public static java.util.List<UserGroupRole> findByU_G(long userId,
long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByU_G_First
public static UserGroupRole findByU_G_First(long userId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findByU_G_Last
public static UserGroupRole findByU_G_Last(long userId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findByU_G_PrevAndNext
public static UserGroupRole[] findByU_G_PrevAndNext(UserGroupRolePK userGroupRolePK,
long userId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findByG_R
public static java.util.List<UserGroupRole> findByG_R(long groupId,
long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_R
public static java.util.List<UserGroupRole> findByG_R(long groupId,
long roleId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_R
public static java.util.List<UserGroupRole> findByG_R(long groupId,
long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByG_R_First
public static UserGroupRole findByG_R_First(long groupId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findByG_R_Last
public static UserGroupRole findByG_R_Last(long groupId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findByG_R_PrevAndNext
public static UserGroupRole[] findByG_R_PrevAndNext(UserGroupRolePK userGroupRolePK,
long groupId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<UserGroupRole> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<UserGroupRole> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<UserGroupRole> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByUserId
public static void removeByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByGroupId
public static void removeByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByRoleId
public static void removeByRoleId(long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByU_G
public static void removeByU_G(long userId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByG_R
public static void removeByG_R(long groupId,
long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByUserId
public static int countByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByGroupId
public static int countByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByRoleId
public static int countByRoleId(long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByU_G
public static int countByU_G(long userId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByG_R
public static int countByG_R(long groupId,
long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
public static int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPersistence
public static UserGroupRolePersistence getPersistence()
setPersistence
public void setPersistence(UserGroupRolePersistence persistence)