com.liferay.portal.service.persistence
Interface UserGroupRolePersistence
- All Superinterfaces:
- BasePersistence<UserGroupRole>
public interface UserGroupRolePersistence
- extends BasePersistence<UserGroupRole>
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:
UserGroupRolePersistenceImpl
,
UserGroupRoleUtil
- Generated:
Method Summary |
void |
cacheResult(java.util.List<UserGroupRole> userGroupRoles)
|
void |
cacheResult(UserGroupRole userGroupRole)
|
int |
countAll()
|
int |
countByG_R(long groupId,
long roleId)
|
int |
countByGroupId(long groupId)
|
int |
countByRoleId(long roleId)
|
int |
countByU_G(long userId,
long groupId)
|
int |
countByUserId(long userId)
|
UserGroupRole |
create(UserGroupRolePK userGroupRolePK)
|
UserGroupRole |
fetchByPrimaryKey(UserGroupRolePK userGroupRolePK)
|
java.util.List<UserGroupRole> |
findAll()
|
java.util.List<UserGroupRole> |
findAll(int start,
int end)
|
java.util.List<UserGroupRole> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole |
findByG_R_First(long groupId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole |
findByG_R_Last(long groupId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole[] |
findByG_R_PrevAndNext(UserGroupRolePK userGroupRolePK,
long groupId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<UserGroupRole> |
findByG_R(long groupId,
long roleId)
|
java.util.List<UserGroupRole> |
findByG_R(long groupId,
long roleId,
int start,
int end)
|
java.util.List<UserGroupRole> |
findByG_R(long groupId,
long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole[] |
findByGroupId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<UserGroupRole> |
findByGroupId(long groupId)
|
java.util.List<UserGroupRole> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<UserGroupRole> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole |
findByPrimaryKey(UserGroupRolePK userGroupRolePK)
|
UserGroupRole |
findByRoleId_First(long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole |
findByRoleId_Last(long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole[] |
findByRoleId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<UserGroupRole> |
findByRoleId(long roleId)
|
java.util.List<UserGroupRole> |
findByRoleId(long roleId,
int start,
int end)
|
java.util.List<UserGroupRole> |
findByRoleId(long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole |
findByU_G_First(long userId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole |
findByU_G_Last(long userId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole[] |
findByU_G_PrevAndNext(UserGroupRolePK userGroupRolePK,
long userId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<UserGroupRole> |
findByU_G(long userId,
long groupId)
|
java.util.List<UserGroupRole> |
findByU_G(long userId,
long groupId,
int start,
int end)
|
java.util.List<UserGroupRole> |
findByU_G(long userId,
long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole[] |
findByUserId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<UserGroupRole> |
findByUserId(long userId)
|
java.util.List<UserGroupRole> |
findByUserId(long userId,
int start,
int end)
|
java.util.List<UserGroupRole> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
UserGroupRole |
remove(UserGroupRolePK userGroupRolePK)
|
void |
removeAll()
|
void |
removeByG_R(long groupId,
long roleId)
|
void |
removeByGroupId(long groupId)
|
void |
removeByRoleId(long roleId)
|
void |
removeByU_G(long userId,
long groupId)
|
void |
removeByUserId(long userId)
|
UserGroupRole |
updateImpl(UserGroupRole userGroupRole,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update |
cacheResult
void cacheResult(UserGroupRole userGroupRole)
cacheResult
void cacheResult(java.util.List<UserGroupRole> userGroupRoles)
create
UserGroupRole create(UserGroupRolePK userGroupRolePK)
remove
UserGroupRole remove(UserGroupRolePK userGroupRolePK)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
updateImpl
UserGroupRole updateImpl(UserGroupRole userGroupRole,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
UserGroupRole findByPrimaryKey(UserGroupRolePK userGroupRolePK)
throws NoSuchUserGroupRoleException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchUserGroupRoleException
com.liferay.portal.kernel.exception.SystemException
fetchByPrimaryKey
UserGroupRole fetchByPrimaryKey(UserGroupRolePK userGroupRolePK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
java.util.List<UserGroupRole> findByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
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
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
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
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
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
java.util.List<UserGroupRole> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
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
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
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
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
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
java.util.List<UserGroupRole> findByRoleId(long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByRoleId
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
java.util.List<UserGroupRole> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<UserGroupRole> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
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
void removeByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByGroupId
void removeByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByRoleId
void removeByRoleId(long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByU_G
void removeByU_G(long userId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByG_R
void removeByG_R(long groupId,
long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAll
void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByUserId
int countByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByGroupId
int countByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByRoleId
int countByRoleId(long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByU_G
int countByU_G(long userId,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByG_R
int countByG_R(long groupId,
long roleId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException