com.liferay.portlet.messageboards.service.persistence
Interface MBMailingListPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface MBMailingListPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
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 |
fetchByPrimaryKey(long mailingListId)
|
MBMailingList |
fetchByUUID_G(java.lang.String uuid,
long groupId)
|
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)
|
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMailingList> findByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMailingList> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUuid
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
findByCategoryId
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
findByActive
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMailingList> findByActive(boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMailingList> findByActive(boolean active,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByActive
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMailingList> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<MBMailingList> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUuid(java.lang.String uuid)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByUUID_G
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCategoryId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByCategoryId(long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByActive
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByActive(boolean active)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException