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,
OrderByComparator orderByComparator)
|
UserGroupRole |
findByG_R_First(long groupId,
long roleId,
OrderByComparator orderByComparator)
|
UserGroupRole |
findByG_R_Last(long groupId,
long roleId,
OrderByComparator orderByComparator)
|
UserGroupRole[] |
findByG_R_PrevAndNext(UserGroupRolePK userGroupRolePK,
long groupId,
long roleId,
OrderByComparator orderByComparator)
|
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,
OrderByComparator orderByComparator)
|
UserGroupRole |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
|
UserGroupRole |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
|
UserGroupRole[] |
findByGroupId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long groupId,
OrderByComparator orderByComparator)
|
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,
OrderByComparator orderByComparator)
|
UserGroupRole |
findByPrimaryKey(UserGroupRolePK userGroupRolePK)
|
UserGroupRole |
findByRoleId_First(long roleId,
OrderByComparator orderByComparator)
|
UserGroupRole |
findByRoleId_Last(long roleId,
OrderByComparator orderByComparator)
|
UserGroupRole[] |
findByRoleId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long roleId,
OrderByComparator orderByComparator)
|
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,
OrderByComparator orderByComparator)
|
UserGroupRole |
findByU_G_First(long userId,
long groupId,
OrderByComparator orderByComparator)
|
UserGroupRole |
findByU_G_Last(long userId,
long groupId,
OrderByComparator orderByComparator)
|
UserGroupRole[] |
findByU_G_PrevAndNext(UserGroupRolePK userGroupRolePK,
long userId,
long groupId,
OrderByComparator orderByComparator)
|
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,
OrderByComparator orderByComparator)
|
UserGroupRole |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
|
UserGroupRole |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
|
UserGroupRole[] |
findByUserId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long userId,
OrderByComparator orderByComparator)
|
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,
OrderByComparator orderByComparator)
|
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, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, 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,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
updateImpl
UserGroupRole updateImpl(UserGroupRole userGroupRole,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
UserGroupRole findByPrimaryKey(UserGroupRolePK userGroupRolePK)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
fetchByPrimaryKey
UserGroupRole fetchByPrimaryKey(UserGroupRolePK userGroupRolePK)
throws SystemException
- Throws:
SystemException
findByUserId
java.util.List<UserGroupRole> findByUserId(long userId)
throws SystemException
- Throws:
SystemException
findByUserId
java.util.List<UserGroupRole> findByUserId(long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByUserId
java.util.List<UserGroupRole> findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByUserId_First
UserGroupRole findByUserId_First(long userId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findByUserId_Last
UserGroupRole findByUserId_Last(long userId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findByUserId_PrevAndNext
UserGroupRole[] findByUserId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long userId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findByGroupId
java.util.List<UserGroupRole> findByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
findByGroupId
java.util.List<UserGroupRole> findByGroupId(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByGroupId
java.util.List<UserGroupRole> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByGroupId_First
UserGroupRole findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findByGroupId_Last
UserGroupRole findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findByGroupId_PrevAndNext
UserGroupRole[] findByGroupId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findByRoleId
java.util.List<UserGroupRole> findByRoleId(long roleId)
throws SystemException
- Throws:
SystemException
findByRoleId
java.util.List<UserGroupRole> findByRoleId(long roleId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByRoleId
java.util.List<UserGroupRole> findByRoleId(long roleId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByRoleId_First
UserGroupRole findByRoleId_First(long roleId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findByRoleId_Last
UserGroupRole findByRoleId_Last(long roleId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findByRoleId_PrevAndNext
UserGroupRole[] findByRoleId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long roleId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findByU_G
java.util.List<UserGroupRole> findByU_G(long userId,
long groupId)
throws SystemException
- Throws:
SystemException
findByU_G
java.util.List<UserGroupRole> findByU_G(long userId,
long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByU_G
java.util.List<UserGroupRole> findByU_G(long userId,
long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByU_G_First
UserGroupRole findByU_G_First(long userId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findByU_G_Last
UserGroupRole findByU_G_Last(long userId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findByU_G_PrevAndNext
UserGroupRole[] findByU_G_PrevAndNext(UserGroupRolePK userGroupRolePK,
long userId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findByG_R
java.util.List<UserGroupRole> findByG_R(long groupId,
long roleId)
throws SystemException
- Throws:
SystemException
findByG_R
java.util.List<UserGroupRole> findByG_R(long groupId,
long roleId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByG_R
java.util.List<UserGroupRole> findByG_R(long groupId,
long roleId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByG_R_First
UserGroupRole findByG_R_First(long groupId,
long roleId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findByG_R_Last
UserGroupRole findByG_R_Last(long groupId,
long roleId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findByG_R_PrevAndNext
UserGroupRole[] findByG_R_PrevAndNext(UserGroupRolePK userGroupRolePK,
long groupId,
long roleId,
OrderByComparator orderByComparator)
throws NoSuchUserGroupRoleException,
SystemException
- Throws:
NoSuchUserGroupRoleException
SystemException
findAll
java.util.List<UserGroupRole> findAll()
throws SystemException
- Throws:
SystemException
findAll
java.util.List<UserGroupRole> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
java.util.List<UserGroupRole> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByUserId
void removeByUserId(long userId)
throws SystemException
- Throws:
SystemException
removeByGroupId
void removeByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
removeByRoleId
void removeByRoleId(long roleId)
throws SystemException
- Throws:
SystemException
removeByU_G
void removeByU_G(long userId,
long groupId)
throws SystemException
- Throws:
SystemException
removeByG_R
void removeByG_R(long groupId,
long roleId)
throws SystemException
- Throws:
SystemException
removeAll
void removeAll()
throws SystemException
- Throws:
SystemException
countByUserId
int countByUserId(long userId)
throws SystemException
- Throws:
SystemException
countByGroupId
int countByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
countByRoleId
int countByRoleId(long roleId)
throws SystemException
- Throws:
SystemException
countByU_G
int countByU_G(long userId,
long groupId)
throws SystemException
- Throws:
SystemException
countByG_R
int countByG_R(long groupId,
long roleId)
throws SystemException
- Throws:
SystemException
countAll
int countAll()
throws SystemException
- Throws:
SystemException