com.liferay.portal.service.persistence
Interface UserGroupRolePersistence
- public interface UserGroupRolePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
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 |
findAll()
|
java.util.List |
findAll(int begin,
int end)
|
java.util.List |
findAll(int begin,
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 |
findByG_R(long groupId,
long roleId)
|
java.util.List |
findByG_R(long groupId,
long roleId,
int begin,
int end)
|
java.util.List |
findByG_R(long groupId,
long roleId,
int begin,
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 |
findByGroupId(long groupId)
|
java.util.List |
findByGroupId(long groupId,
int begin,
int end)
|
java.util.List |
findByGroupId(long groupId,
int begin,
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 |
findByRoleId(long roleId)
|
java.util.List |
findByRoleId(long roleId,
int begin,
int end)
|
java.util.List |
findByRoleId(long roleId,
int begin,
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 |
findByU_G(long userId,
long groupId)
|
java.util.List |
findByU_G(long userId,
long groupId,
int begin,
int end)
|
java.util.List |
findByU_G(long userId,
long groupId,
int begin,
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 |
findByUserId(long userId)
|
java.util.List |
findByUserId(long userId,
int begin,
int end)
|
java.util.List |
findByUserId(long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
UserGroupRole |
remove(UserGroupRole userGroupRole)
|
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 |
update(UserGroupRole userGroupRole)
|
UserGroupRole |
update(UserGroupRole userGroupRole,
boolean merge)
|
UserGroupRole |
updateImpl(UserGroupRole userGroupRole,
boolean merge)
|
create
public UserGroupRole create(UserGroupRolePK userGroupRolePK)
remove
public UserGroupRole remove(UserGroupRolePK userGroupRolePK)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
remove
public UserGroupRole remove(UserGroupRole userGroupRole)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public UserGroupRole update(UserGroupRole userGroupRole)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public UserGroupRole update(UserGroupRole userGroupRole,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImpl
public UserGroupRole updateImpl(UserGroupRole userGroupRole,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public UserGroupRole findByPrimaryKey(UserGroupRolePK userGroupRolePK)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
fetchByPrimaryKey
public UserGroupRole fetchByPrimaryKey(UserGroupRolePK userGroupRolePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public java.util.List findByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public java.util.List findByUserId(long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
public java.util.List findByUserId(long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId_First
public UserGroupRole findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
findByUserId_Last
public UserGroupRole findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
findByUserId_PrevAndNext
public UserGroupRole[] findByUserId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
findByGroupId
public java.util.List findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public java.util.List findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public UserGroupRole findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
findByGroupId_Last
public UserGroupRole findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
findByGroupId_PrevAndNext
public UserGroupRole[] findByGroupId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
findByRoleId
public java.util.List findByRoleId(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByRoleId
public java.util.List findByRoleId(long roleId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByRoleId
public java.util.List findByRoleId(long roleId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByRoleId_First
public UserGroupRole findByRoleId_First(long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
findByRoleId_Last
public UserGroupRole findByRoleId_Last(long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
findByRoleId_PrevAndNext
public UserGroupRole[] findByRoleId_PrevAndNext(UserGroupRolePK userGroupRolePK,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
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 groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU_G
public java.util.List findByU_G(long userId,
long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByU_G_First
public UserGroupRole findByU_G_First(long userId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
findByU_G_Last
public UserGroupRole findByU_G_Last(long userId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
findByU_G_PrevAndNext
public UserGroupRole[] findByU_G_PrevAndNext(UserGroupRolePK userGroupRolePK,
long userId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
findByG_R
public java.util.List findByG_R(long groupId,
long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_R
public java.util.List findByG_R(long groupId,
long roleId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_R
public java.util.List findByG_R(long groupId,
long roleId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_R_First
public UserGroupRole findByG_R_First(long groupId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
findByG_R_Last
public UserGroupRole findByG_R_Last(long groupId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
findByG_R_PrevAndNext
public UserGroupRole[] findByG_R_PrevAndNext(UserGroupRolePK userGroupRolePK,
long groupId,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchUserGroupRoleException
- Throws:
com.liferay.portal.SystemException
NoSuchUserGroupRoleException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUserId
public void removeByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByGroupId
public void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByRoleId
public void removeByRoleId(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByU_G
public void removeByU_G(long userId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_R
public void removeByG_R(long groupId,
long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUserId
public int countByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
public int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByRoleId
public int countByRoleId(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByU_G
public int countByU_G(long userId,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_R
public int countByG_R(long groupId,
long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException