com.liferay.portlet.messageboards.service.persistence
Class MBMailingListUtil

java.lang.Object
  extended by com.liferay.portlet.messageboards.service.persistence.MBMailingListUtil

public class MBMailingListUtil
extends java.lang.Object

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

Constructor Summary
MBMailingListUtil()
           
 
Method Summary
static void cacheResult(java.util.List<MBMailingList> mbMailingLists)
           
static void cacheResult(MBMailingList mbMailingList)
           
static void clearCache()
           
static void clearCache(MBMailingList mbMailingList)
           
static int countAll()
           
static int countByActive(boolean active)
           
static int countByCategoryId(long categoryId)
           
static int countByUUID_G(java.lang.String uuid, long groupId)
           
static int countByUuid(java.lang.String uuid)
           
 int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static MBMailingList create(long mailingListId)
           
static MBMailingList fetchByCategoryId(long categoryId)
           
static MBMailingList fetchByCategoryId(long categoryId, boolean retrieveFromCache)
           
static MBMailingList fetchByPrimaryKey(long mailingListId)
           
static MBMailingList fetchByUUID_G(java.lang.String uuid, long groupId)
           
static MBMailingList fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
static java.util.List<MBMailingList> findAll()
           
static java.util.List<MBMailingList> findAll(int start, int end)
           
static java.util.List<MBMailingList> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static MBMailingList findByActive_First(boolean active, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static MBMailingList findByActive_Last(boolean active, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static MBMailingList[] findByActive_PrevAndNext(long mailingListId, boolean active, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static java.util.List<MBMailingList> findByActive(boolean active)
           
static java.util.List<MBMailingList> findByActive(boolean active, int start, int end)
           
static java.util.List<MBMailingList> findByActive(boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static MBMailingList findByCategoryId(long categoryId)
           
static MBMailingList findByPrimaryKey(long mailingListId)
           
static MBMailingList findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static MBMailingList findByUUID_G(java.lang.String uuid, long groupId)
           
static MBMailingList findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static MBMailingList[] findByUuid_PrevAndNext(long mailingListId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static java.util.List<MBMailingList> findByUuid(java.lang.String uuid)
           
static java.util.List<MBMailingList> findByUuid(java.lang.String uuid, int start, int end)
           
static java.util.List<MBMailingList> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static MBMailingListPersistence getPersistence()
           
static MBMailingList remove(long mailingListId)
           
static MBMailingList remove(MBMailingList mbMailingList)
           
static void removeAll()
           
static void removeByActive(boolean active)
           
static void removeByCategoryId(long categoryId)
           
static void removeByUUID_G(java.lang.String uuid, long groupId)
           
static void removeByUuid(java.lang.String uuid)
           
 void setPersistence(MBMailingListPersistence persistence)
           
static MBMailingList update(MBMailingList mbMailingList)
          Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).
static MBMailingList update(MBMailingList mbMailingList, boolean merge)
           
static MBMailingList updateImpl(MBMailingList mbMailingList, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBMailingListUtil

public MBMailingListUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(MBMailingList mbMailingList)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(MBMailingList)

countWithDynamicQuery

public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static 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
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static 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
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static MBMailingList remove(MBMailingList mbMailingList)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static MBMailingList update(MBMailingList mbMailingList,
                                   boolean merge)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(MBMailingList mbMailingList)

cacheResult

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

create

public static MBMailingList create(long mailingListId)

remove

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

update

public static MBMailingList update(MBMailingList mbMailingList)
                            throws com.liferay.portal.SystemException
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

public static MBMailingList fetchByPrimaryKey(long mailingListId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

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

findByUuid

public static java.util.List<MBMailingList> findByUuid(java.lang.String uuid,
                                                       int start,
                                                       int end)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid

public static java.util.List<MBMailingList> findByUuid(java.lang.String uuid,
                                                       int start,
                                                       int end,
                                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUuid_First

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

findByUuid_Last

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

findByUuid_PrevAndNext

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

findByUUID_G

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

fetchByUUID_G

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

fetchByUUID_G

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

findByCategoryId

public static MBMailingList findByCategoryId(long categoryId)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchMailingListException
Throws:
com.liferay.portal.SystemException
NoSuchMailingListException

fetchByCategoryId

public static MBMailingList fetchByCategoryId(long categoryId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByCategoryId

public static MBMailingList fetchByCategoryId(long categoryId,
                                              boolean retrieveFromCache)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByActive

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

findByActive

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

findByActive

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

findByActive_First

public static MBMailingList findByActive_First(boolean active,
                                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchMailingListException
Throws:
com.liferay.portal.SystemException
NoSuchMailingListException

findByActive_Last

public static MBMailingList findByActive_Last(boolean active,
                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchMailingListException
Throws:
com.liferay.portal.SystemException
NoSuchMailingListException

findByActive_PrevAndNext

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

findAll

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

findAll

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

findAll

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

removeByUuid

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

removeByUUID_G

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

removeByCategoryId

public static void removeByCategoryId(long categoryId)
                               throws com.liferay.portal.SystemException,
                                      NoSuchMailingListException
Throws:
com.liferay.portal.SystemException
NoSuchMailingListException

removeByActive

public static void removeByActive(boolean active)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

public static void removeAll()
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByUuid

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

countByUUID_G

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

countByCategoryId

public static int countByCategoryId(long categoryId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByActive

public static int countByActive(boolean active)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public static int countAll()
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPersistence

public static MBMailingListPersistence getPersistence()

setPersistence

public void setPersistence(MBMailingListPersistence persistence)