com.liferay.portal.service.persistence
Interface OrgGroupRolePersistence
- All Superinterfaces:
- BasePersistence<OrgGroupRole>
public interface OrgGroupRolePersistence
- extends BasePersistence<OrgGroupRole>
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:
OrgGroupRolePersistenceImpl
,
OrgGroupRoleUtil
- Generated:
Method Summary |
void |
cacheResult(java.util.List<OrgGroupRole> orgGroupRoles)
|
void |
cacheResult(OrgGroupRole orgGroupRole)
|
int |
countAll()
|
int |
countByGroupId(long groupId)
|
int |
countByRoleId(long roleId)
|
OrgGroupRole |
create(OrgGroupRolePK orgGroupRolePK)
|
OrgGroupRole |
fetchByPrimaryKey(OrgGroupRolePK orgGroupRolePK)
|
java.util.List<OrgGroupRole> |
findAll()
|
java.util.List<OrgGroupRole> |
findAll(int start,
int end)
|
java.util.List<OrgGroupRole> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
OrgGroupRole |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
OrgGroupRole |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
OrgGroupRole[] |
findByGroupId_PrevAndNext(OrgGroupRolePK orgGroupRolePK,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
java.util.List<OrgGroupRole> |
findByGroupId(long groupId)
|
java.util.List<OrgGroupRole> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<OrgGroupRole> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
OrgGroupRole |
findByPrimaryKey(OrgGroupRolePK orgGroupRolePK)
|
OrgGroupRole |
findByRoleId_First(long roleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
OrgGroupRole |
findByRoleId_Last(long roleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
OrgGroupRole[] |
findByRoleId_PrevAndNext(OrgGroupRolePK orgGroupRolePK,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
java.util.List<OrgGroupRole> |
findByRoleId(long roleId)
|
java.util.List<OrgGroupRole> |
findByRoleId(long roleId,
int start,
int end)
|
java.util.List<OrgGroupRole> |
findByRoleId(long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
OrgGroupRole |
remove(OrgGroupRolePK orgGroupRolePK)
|
void |
removeAll()
|
void |
removeByGroupId(long groupId)
|
void |
removeByRoleId(long roleId)
|
OrgGroupRole |
update(OrgGroupRole orgGroupRole)
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean) . |
OrgGroupRole |
updateImpl(OrgGroupRole orgGroupRole,
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(OrgGroupRole orgGroupRole)
cacheResult
void cacheResult(java.util.List<OrgGroupRole> orgGroupRoles)
create
OrgGroupRole create(OrgGroupRolePK orgGroupRolePK)
remove
OrgGroupRole remove(OrgGroupRolePK orgGroupRolePK)
throws NoSuchOrgGroupRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.SystemException
update
OrgGroupRole update(OrgGroupRole orgGroupRole)
throws com.liferay.portal.SystemException
- Deprecated. Use
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
OrgGroupRole updateImpl(OrgGroupRole orgGroupRole,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
OrgGroupRole findByPrimaryKey(OrgGroupRolePK orgGroupRolePK)
throws NoSuchOrgGroupRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.SystemException
fetchByPrimaryKey
OrgGroupRole fetchByPrimaryKey(OrgGroupRolePK orgGroupRolePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<OrgGroupRole> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<OrgGroupRole> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<OrgGroupRole> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
OrgGroupRole findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchOrgGroupRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.SystemException
findByGroupId_Last
OrgGroupRole findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchOrgGroupRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.SystemException
findByGroupId_PrevAndNext
OrgGroupRole[] findByGroupId_PrevAndNext(OrgGroupRolePK orgGroupRolePK,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchOrgGroupRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.SystemException
findByRoleId
java.util.List<OrgGroupRole> findByRoleId(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByRoleId
java.util.List<OrgGroupRole> findByRoleId(long roleId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByRoleId
java.util.List<OrgGroupRole> findByRoleId(long roleId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByRoleId_First
OrgGroupRole findByRoleId_First(long roleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchOrgGroupRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.SystemException
findByRoleId_Last
OrgGroupRole findByRoleId_Last(long roleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchOrgGroupRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.SystemException
findByRoleId_PrevAndNext
OrgGroupRole[] findByRoleId_PrevAndNext(OrgGroupRolePK orgGroupRolePK,
long roleId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchOrgGroupRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.SystemException
findAll
java.util.List<OrgGroupRole> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<OrgGroupRole> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<OrgGroupRole> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByGroupId
void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByRoleId
void removeByRoleId(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByRoleId
int countByRoleId(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException