com.liferay.portlet.messageboards.service.persistence
Interface MBBanPersistence
- All Superinterfaces:
- BasePersistence<MBBan>
public interface MBBanPersistence
- extends BasePersistence<MBBan>
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:
MBBanPersistenceImpl
,
MBBanUtil
- Generated:
Method Summary |
void |
cacheResult(java.util.List<MBBan> mbBans)
|
void |
cacheResult(MBBan mbBan)
|
int |
countAll()
|
int |
countByBanUserId(long banUserId)
|
int |
countByG_B(long groupId,
long banUserId)
|
int |
countByGroupId(long groupId)
|
int |
countByUserId(long userId)
|
MBBan |
create(long banId)
|
MBBan |
fetchByG_B(long groupId,
long banUserId)
|
MBBan |
fetchByG_B(long groupId,
long banUserId,
boolean retrieveFromCache)
|
MBBan |
fetchByPrimaryKey(long banId)
|
java.util.List<MBBan> |
findAll()
|
java.util.List<MBBan> |
findAll(int start,
int end)
|
java.util.List<MBBan> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBBan |
findByBanUserId_First(long banUserId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBBan |
findByBanUserId_Last(long banUserId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBBan[] |
findByBanUserId_PrevAndNext(long banId,
long banUserId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<MBBan> |
findByBanUserId(long banUserId)
|
java.util.List<MBBan> |
findByBanUserId(long banUserId,
int start,
int end)
|
java.util.List<MBBan> |
findByBanUserId(long banUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBBan |
findByG_B(long groupId,
long banUserId)
|
MBBan |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBBan |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBBan[] |
findByGroupId_PrevAndNext(long banId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<MBBan> |
findByGroupId(long groupId)
|
java.util.List<MBBan> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<MBBan> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBBan |
findByPrimaryKey(long banId)
|
MBBan |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBBan |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBBan[] |
findByUserId_PrevAndNext(long banId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<MBBan> |
findByUserId(long userId)
|
java.util.List<MBBan> |
findByUserId(long userId,
int start,
int end)
|
java.util.List<MBBan> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBBan |
remove(long banId)
|
void |
removeAll()
|
void |
removeByBanUserId(long banUserId)
|
void |
removeByG_B(long groupId,
long banUserId)
|
void |
removeByGroupId(long groupId)
|
void |
removeByUserId(long userId)
|
MBBan |
updateImpl(MBBan mbBan,
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(MBBan mbBan)
cacheResult
void cacheResult(java.util.List<MBBan> mbBans)
create
MBBan create(long banId)
remove
MBBan remove(long banId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchBanException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchBanException
updateImpl
MBBan updateImpl(MBBan mbBan,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
MBBan findByPrimaryKey(long banId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchBanException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchBanException
fetchByPrimaryKey
MBBan fetchByPrimaryKey(long banId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
java.util.List<MBBan> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
java.util.List<MBBan> 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<MBBan> 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
MBBan findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchBanException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchBanException
findByGroupId_Last
MBBan findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchBanException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchBanException
findByGroupId_PrevAndNext
MBBan[] findByGroupId_PrevAndNext(long banId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchBanException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchBanException
findByUserId
java.util.List<MBBan> findByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
java.util.List<MBBan> 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<MBBan> 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
MBBan findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchBanException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchBanException
findByUserId_Last
MBBan findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchBanException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchBanException
findByUserId_PrevAndNext
MBBan[] findByUserId_PrevAndNext(long banId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchBanException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchBanException
findByBanUserId
java.util.List<MBBan> findByBanUserId(long banUserId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByBanUserId
java.util.List<MBBan> findByBanUserId(long banUserId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByBanUserId
java.util.List<MBBan> findByBanUserId(long banUserId,
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
findByBanUserId_First
MBBan findByBanUserId_First(long banUserId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchBanException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchBanException
findByBanUserId_Last
MBBan findByBanUserId_Last(long banUserId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchBanException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchBanException
findByBanUserId_PrevAndNext
MBBan[] findByBanUserId_PrevAndNext(long banId,
long banUserId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchBanException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchBanException
findByG_B
MBBan findByG_B(long groupId,
long banUserId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchBanException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchBanException
fetchByG_B
MBBan fetchByG_B(long groupId,
long banUserId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByG_B
MBBan fetchByG_B(long groupId,
long banUserId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<MBBan> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<MBBan> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
java.util.List<MBBan> 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
removeByGroupId
void removeByGroupId(long groupId)
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
removeByBanUserId
void removeByBanUserId(long banUserId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByG_B
void removeByG_B(long groupId,
long banUserId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchBanException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchBanException
removeAll
void removeAll()
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
countByUserId
int countByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByBanUserId
int countByBanUserId(long banUserId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByG_B
int countByG_B(long groupId,
long banUserId)
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