com.liferay.portlet.messageboards.service.persistence
Interface MBMailingListPersistence
- All Superinterfaces:
- BasePersistence
public interface MBMailingListPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
cacheResult(java.util.List<MBMailingList> mbMailingLists)
|
void |
cacheResult(MBMailingList mbMailingList)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByActive(boolean active)
|
int |
countByCategoryId(long categoryId)
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
|
int |
countByUuid(java.lang.String uuid)
|
MBMailingList |
create(long mailingListId)
|
MBMailingList |
fetchByCategoryId(long categoryId)
|
MBMailingList |
fetchByCategoryId(long categoryId,
boolean retrieveFromCache)
|
MBMailingList |
fetchByPrimaryKey(long mailingListId)
|
MBMailingList |
fetchByUUID_G(java.lang.String uuid,
long groupId)
|
MBMailingList |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
|
java.util.List<MBMailingList> |
findAll()
|
java.util.List<MBMailingList> |
findAll(int start,
int end)
|
java.util.List<MBMailingList> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBMailingList |
findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBMailingList |
findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBMailingList[] |
findByActive_PrevAndNext(long mailingListId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<MBMailingList> |
findByActive(boolean active)
|
java.util.List<MBMailingList> |
findByActive(boolean active,
int start,
int end)
|
java.util.List<MBMailingList> |
findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBMailingList |
findByCategoryId(long categoryId)
|
MBMailingList |
findByPrimaryKey(long mailingListId)
|
MBMailingList |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBMailingList |
findByUUID_G(java.lang.String uuid,
long groupId)
|
MBMailingList |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
MBMailingList[] |
findByUuid_PrevAndNext(long mailingListId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<MBMailingList> |
findByUuid(java.lang.String uuid)
|
java.util.List<MBMailingList> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
java.util.List<MBMailingList> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
MBMailingList |
remove(long mailingListId)
|
MBMailingList |
remove(MBMailingList mbMailingList)
|
void |
removeAll()
|
void |
removeByActive(boolean active)
|
void |
removeByCategoryId(long categoryId)
|
void |
removeByUUID_G(java.lang.String uuid,
long groupId)
|
void |
removeByUuid(java.lang.String uuid)
|
MBMailingList |
update(MBMailingList mbMailingList)
Deprecated. Use update(MBMailingList mbMailingList, boolean merge) . |
MBMailingList |
update(MBMailingList mbMailingList,
boolean merge)
Add, update, or merge, the entity. |
MBMailingList |
updateImpl(MBMailingList mbMailingList,
boolean merge)
|
cacheResult
void cacheResult(MBMailingList mbMailingList)
cacheResult
void cacheResult(java.util.List<MBMailingList> mbMailingLists)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
MBMailingList create(long mailingListId)
remove
MBMailingList remove(long mailingListId)
throws com.liferay.portal.SystemException,
NoSuchMailingListException
- Throws:
com.liferay.portal.SystemException
NoSuchMailingListException
remove
MBMailingList remove(MBMailingList mbMailingList)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
MBMailingList update(MBMailingList mbMailingList)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(MBMailingList mbMailingList, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
MBMailingList update(MBMailingList mbMailingList,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
mbMailingList
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when mbMailingList is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
MBMailingList updateImpl(MBMailingList mbMailingList,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
MBMailingList findByPrimaryKey(long mailingListId)
throws com.liferay.portal.SystemException,
NoSuchMailingListException
- Throws:
com.liferay.portal.SystemException
NoSuchMailingListException
fetchByPrimaryKey
MBMailingList fetchByPrimaryKey(long mailingListId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<MBMailingList> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<MBMailingList> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
java.util.List<MBMailingList> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid_First
MBMailingList findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchMailingListException
- Throws:
com.liferay.portal.SystemException
NoSuchMailingListException
findByUuid_Last
MBMailingList findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchMailingListException
- Throws:
com.liferay.portal.SystemException
NoSuchMailingListException
findByUuid_PrevAndNext
MBMailingList[] findByUuid_PrevAndNext(long mailingListId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchMailingListException
- Throws:
com.liferay.portal.SystemException
NoSuchMailingListException
findByUUID_G
MBMailingList findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchMailingListException
- Throws:
com.liferay.portal.SystemException
NoSuchMailingListException
fetchByUUID_G
MBMailingList fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByUUID_G
MBMailingList fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCategoryId
MBMailingList findByCategoryId(long categoryId)
throws com.liferay.portal.SystemException,
NoSuchMailingListException
- Throws:
com.liferay.portal.SystemException
NoSuchMailingListException
fetchByCategoryId
MBMailingList fetchByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByCategoryId
MBMailingList fetchByCategoryId(long categoryId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive
java.util.List<MBMailingList> findByActive(boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive
java.util.List<MBMailingList> findByActive(boolean active,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive
java.util.List<MBMailingList> findByActive(boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive_First
MBMailingList findByActive_First(boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchMailingListException
- Throws:
com.liferay.portal.SystemException
NoSuchMailingListException
findByActive_Last
MBMailingList findByActive_Last(boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchMailingListException
- Throws:
com.liferay.portal.SystemException
NoSuchMailingListException
findByActive_PrevAndNext
MBMailingList[] findByActive_PrevAndNext(long mailingListId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchMailingListException
- Throws:
com.liferay.portal.SystemException
NoSuchMailingListException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<MBMailingList> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<MBMailingList> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<MBMailingList> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUuid
void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByUUID_G
void removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException,
NoSuchMailingListException
- Throws:
com.liferay.portal.SystemException
NoSuchMailingListException
removeByCategoryId
void removeByCategoryId(long categoryId)
throws com.liferay.portal.SystemException,
NoSuchMailingListException
- Throws:
com.liferay.portal.SystemException
NoSuchMailingListException
removeByActive
void removeByActive(boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUuid
int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUUID_G
int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCategoryId
int countByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByActive
int countByActive(boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException