com.liferay.portlet.messageboards.service.persistence
Interface MBMailingListPersistence

All Superinterfaces:
BasePersistence<MBMailingList>

public interface MBMailingListPersistence
extends BasePersistence<MBMailingList>

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:
MBMailingListPersistenceImpl, MBMailingListUtil
Generated:

Method Summary
 void cacheResult(java.util.List<MBMailingList> mbMailingLists)
           
 void cacheResult(MBMailingList mbMailingList)
           
 int countAll()
           
 int countByActive(boolean active)
           
 int countByG_C(long groupId, long categoryId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 MBMailingList create(long mailingListId)
           
 MBMailingList fetchByG_C(long groupId, long categoryId)
           
 MBMailingList fetchByG_C(long groupId, 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 findByG_C(long groupId, 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)
           
 MBMailingList remove(long mailingListId)
           
 void removeAll()
           
 void removeByActive(boolean active)
           
 void removeByG_C(long groupId, long categoryId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 MBMailingList updateImpl(MBMailingList mbMailingList, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(MBMailingList mbMailingList)

cacheResult

void cacheResult(java.util.List<MBMailingList> mbMailingLists)

create

MBMailingList create(long mailingListId)

remove

MBMailingList remove(long mailingListId)
                     throws com.liferay.portal.kernel.exception.SystemException,
                            NoSuchMailingListException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException

updateImpl

MBMailingList updateImpl(MBMailingList mbMailingList,
                         boolean merge)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

MBMailingList findByPrimaryKey(long mailingListId)
                               throws com.liferay.portal.kernel.exception.SystemException,
                                      NoSuchMailingListException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException

fetchByPrimaryKey

MBMailingList fetchByPrimaryKey(long mailingListId)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

java.util.List<MBMailingList> findByUuid(java.lang.String uuid)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

java.util.List<MBMailingList> findByUuid(java.lang.String uuid,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.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.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid_First

MBMailingList findByUuid_First(java.lang.String uuid,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws com.liferay.portal.kernel.exception.SystemException,
                                      NoSuchMailingListException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException

findByUuid_Last

MBMailingList findByUuid_Last(java.lang.String uuid,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.kernel.exception.SystemException,
                                     NoSuchMailingListException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException

findByUuid_PrevAndNext

MBMailingList[] findByUuid_PrevAndNext(long mailingListId,
                                       java.lang.String uuid,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.kernel.exception.SystemException,
                                              NoSuchMailingListException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException

findByUUID_G

MBMailingList findByUUID_G(java.lang.String uuid,
                           long groupId)
                           throws com.liferay.portal.kernel.exception.SystemException,
                                  NoSuchMailingListException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException

fetchByUUID_G

MBMailingList fetchByUUID_G(java.lang.String uuid,
                            long groupId)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByUUID_G

MBMailingList fetchByUUID_G(java.lang.String uuid,
                            long groupId,
                            boolean retrieveFromCache)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByActive

java.util.List<MBMailingList> findByActive(boolean active)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByActive

java.util.List<MBMailingList> findByActive(boolean active,
                                           int start,
                                           int end)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByActive

java.util.List<MBMailingList> findByActive(boolean active,
                                           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

findByActive_First

MBMailingList findByActive_First(boolean active,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.kernel.exception.SystemException,
                                        NoSuchMailingListException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException

findByActive_Last

MBMailingList findByActive_Last(boolean active,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException,
                                       NoSuchMailingListException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException

findByActive_PrevAndNext

MBMailingList[] findByActive_PrevAndNext(long mailingListId,
                                         boolean active,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.kernel.exception.SystemException,
                                                NoSuchMailingListException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException

findByG_C

MBMailingList findByG_C(long groupId,
                        long categoryId)
                        throws com.liferay.portal.kernel.exception.SystemException,
                               NoSuchMailingListException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException

fetchByG_C

MBMailingList fetchByG_C(long groupId,
                         long categoryId)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByG_C

MBMailingList fetchByG_C(long groupId,
                         long categoryId,
                         boolean retrieveFromCache)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<MBMailingList> findAll()
                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<MBMailingList> findAll(int start,
                                      int end)
                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<MBMailingList> 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

removeByUuid

void removeByUuid(java.lang.String uuid)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByUUID_G

void removeByUUID_G(java.lang.String uuid,
                    long groupId)
                    throws com.liferay.portal.kernel.exception.SystemException,
                           NoSuchMailingListException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException

removeByActive

void removeByActive(boolean active)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_C

void removeByG_C(long groupId,
                 long categoryId)
                 throws com.liferay.portal.kernel.exception.SystemException,
                        NoSuchMailingListException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchMailingListException

removeAll

void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByUuid

int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByUUID_G

int countByUUID_G(java.lang.String uuid,
                  long groupId)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByActive

int countByActive(boolean active)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_C

int countByG_C(long groupId,
               long categoryId)
               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