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

All Superinterfaces:
BasePersistence<MBThread>

public interface MBThreadPersistence
extends BasePersistence<MBThread>

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:
MBThreadPersistenceImpl, MBThreadUtil
Generated:

Method Summary
 void cacheResult(java.util.List<MBThread> mbThreads)
           
 void cacheResult(MBThread mbThread)
           
 int countAll()
           
 int countByC_L(long categoryId, java.util.Date lastPostDate)
           
 int countByC_P(long categoryId, double priority)
           
 int countByCategoryId(long categoryId)
           
 int countByGroupId(long groupId)
           
 MBThread create(long threadId)
           
 MBThread fetchByPrimaryKey(long threadId)
           
 java.util.List<MBThread> findAll()
           
 java.util.List<MBThread> findAll(int start, int end)
           
 java.util.List<MBThread> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBThread findByC_L_First(long categoryId, java.util.Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBThread findByC_L_Last(long categoryId, java.util.Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBThread[] findByC_L_PrevAndNext(long threadId, long categoryId, java.util.Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<MBThread> findByC_L(long categoryId, java.util.Date lastPostDate)
           
 java.util.List<MBThread> findByC_L(long categoryId, java.util.Date lastPostDate, int start, int end)
           
 java.util.List<MBThread> findByC_L(long categoryId, java.util.Date lastPostDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBThread findByC_P_First(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBThread findByC_P_Last(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBThread[] findByC_P_PrevAndNext(long threadId, long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<MBThread> findByC_P(long categoryId, double priority)
           
 java.util.List<MBThread> findByC_P(long categoryId, double priority, int start, int end)
           
 java.util.List<MBThread> findByC_P(long categoryId, double priority, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBThread findByCategoryId_First(long categoryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBThread findByCategoryId_Last(long categoryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBThread[] findByCategoryId_PrevAndNext(long threadId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<MBThread> findByCategoryId(long categoryId)
           
 java.util.List<MBThread> findByCategoryId(long categoryId, int start, int end)
           
 java.util.List<MBThread> findByCategoryId(long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBThread findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBThread findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBThread[] findByGroupId_PrevAndNext(long threadId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<MBThread> findByGroupId(long groupId)
           
 java.util.List<MBThread> findByGroupId(long groupId, int start, int end)
           
 java.util.List<MBThread> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 MBThread findByPrimaryKey(long threadId)
           
 MBThread remove(long threadId)
           
 void removeAll()
           
 void removeByC_L(long categoryId, java.util.Date lastPostDate)
           
 void removeByC_P(long categoryId, double priority)
           
 void removeByCategoryId(long categoryId)
           
 void removeByGroupId(long groupId)
           
 MBThread update(MBThread mbThread)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 MBThread updateImpl(MBThread mbThread, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(MBThread mbThread)

cacheResult

void cacheResult(java.util.List<MBThread> mbThreads)

create

MBThread create(long threadId)

remove

MBThread remove(long threadId)
                throws com.liferay.portal.SystemException,
                       NoSuchThreadException
Throws:
com.liferay.portal.SystemException
NoSuchThreadException

update

MBThread update(MBThread mbThread)
                throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

MBThread updateImpl(MBThread mbThread,
                    boolean merge)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

MBThread findByPrimaryKey(long threadId)
                          throws com.liferay.portal.SystemException,
                                 NoSuchThreadException
Throws:
com.liferay.portal.SystemException
NoSuchThreadException

fetchByPrimaryKey

MBThread fetchByPrimaryKey(long threadId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<MBThread> findByGroupId(long groupId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<MBThread> findByGroupId(long groupId,
                                       int start,
                                       int end)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

java.util.List<MBThread> findByGroupId(long groupId,
                                       int start,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId_First

MBThread findByGroupId_First(long groupId,
                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                             throws com.liferay.portal.SystemException,
                                    NoSuchThreadException
Throws:
com.liferay.portal.SystemException
NoSuchThreadException

findByGroupId_Last

MBThread findByGroupId_Last(long groupId,
                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException,
                                   NoSuchThreadException
Throws:
com.liferay.portal.SystemException
NoSuchThreadException

findByGroupId_PrevAndNext

MBThread[] findByGroupId_PrevAndNext(long threadId,
                                     long groupId,
                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                     throws com.liferay.portal.SystemException,
                                            NoSuchThreadException
Throws:
com.liferay.portal.SystemException
NoSuchThreadException

findByCategoryId

java.util.List<MBThread> findByCategoryId(long categoryId)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCategoryId

java.util.List<MBThread> findByCategoryId(long categoryId,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCategoryId

java.util.List<MBThread> findByCategoryId(long categoryId,
                                          int start,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCategoryId_First

MBThread findByCategoryId_First(long categoryId,
                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                throws com.liferay.portal.SystemException,
                                       NoSuchThreadException
Throws:
com.liferay.portal.SystemException
NoSuchThreadException

findByCategoryId_Last

MBThread findByCategoryId_Last(long categoryId,
                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                               throws com.liferay.portal.SystemException,
                                      NoSuchThreadException
Throws:
com.liferay.portal.SystemException
NoSuchThreadException

findByCategoryId_PrevAndNext

MBThread[] findByCategoryId_PrevAndNext(long threadId,
                                        long categoryId,
                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchThreadException
Throws:
com.liferay.portal.SystemException
NoSuchThreadException

findByC_L

java.util.List<MBThread> findByC_L(long categoryId,
                                   java.util.Date lastPostDate)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_L

java.util.List<MBThread> findByC_L(long categoryId,
                                   java.util.Date lastPostDate,
                                   int start,
                                   int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_L

java.util.List<MBThread> findByC_L(long categoryId,
                                   java.util.Date lastPostDate,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_L_First

MBThread findByC_L_First(long categoryId,
                         java.util.Date lastPostDate,
                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                         throws com.liferay.portal.SystemException,
                                NoSuchThreadException
Throws:
com.liferay.portal.SystemException
NoSuchThreadException

findByC_L_Last

MBThread findByC_L_Last(long categoryId,
                        java.util.Date lastPostDate,
                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                        throws com.liferay.portal.SystemException,
                               NoSuchThreadException
Throws:
com.liferay.portal.SystemException
NoSuchThreadException

findByC_L_PrevAndNext

MBThread[] findByC_L_PrevAndNext(long threadId,
                                 long categoryId,
                                 java.util.Date lastPostDate,
                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchThreadException
Throws:
com.liferay.portal.SystemException
NoSuchThreadException

findByC_P

java.util.List<MBThread> findByC_P(long categoryId,
                                   double priority)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_P

java.util.List<MBThread> findByC_P(long categoryId,
                                   double priority,
                                   int start,
                                   int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_P

java.util.List<MBThread> findByC_P(long categoryId,
                                   double priority,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_P_First

MBThread findByC_P_First(long categoryId,
                         double priority,
                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                         throws com.liferay.portal.SystemException,
                                NoSuchThreadException
Throws:
com.liferay.portal.SystemException
NoSuchThreadException

findByC_P_Last

MBThread findByC_P_Last(long categoryId,
                        double priority,
                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                        throws com.liferay.portal.SystemException,
                               NoSuchThreadException
Throws:
com.liferay.portal.SystemException
NoSuchThreadException

findByC_P_PrevAndNext

MBThread[] findByC_P_PrevAndNext(long threadId,
                                 long categoryId,
                                 double priority,
                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchThreadException
Throws:
com.liferay.portal.SystemException
NoSuchThreadException

findAll

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

findAll

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

findAll

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

removeByGroupId

void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByCategoryId

void removeByCategoryId(long categoryId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_L

void removeByC_L(long categoryId,
                 java.util.Date lastPostDate)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_P

void removeByC_P(long categoryId,
                 double priority)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByGroupId

int countByGroupId(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

countByC_L

int countByC_L(long categoryId,
               java.util.Date lastPostDate)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_P

int countByC_P(long categoryId,
               double priority)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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