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_P(long categoryId, double priority)
           
 int countByG_C_L(long groupId, long categoryId, java.util.Date lastPostDate)
           
 int countByG_C_S(long groupId, long categoryId, int status)
           
 int countByG_C(long groupId, long categoryId)
           
 int countByG_S(long groupId, int status)
           
 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 obc)
           
 MBThread findByC_P_First(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread findByC_P_Last(long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread[] findByC_P_PrevAndNext(long threadId, long categoryId, double priority, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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 obc)
           
 MBThread findByG_C_First(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread findByG_C_L_First(long groupId, long categoryId, java.util.Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread findByG_C_L_Last(long groupId, long categoryId, java.util.Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread[] findByG_C_L_PrevAndNext(long threadId, long groupId, long categoryId, java.util.Date lastPostDate, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<MBThread> findByG_C_L(long groupId, long categoryId, java.util.Date lastPostDate)
           
 java.util.List<MBThread> findByG_C_L(long groupId, long categoryId, java.util.Date lastPostDate, int start, int end)
           
 java.util.List<MBThread> findByG_C_L(long groupId, long categoryId, java.util.Date lastPostDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread findByG_C_Last(long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread[] findByG_C_PrevAndNext(long threadId, long groupId, long categoryId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread findByG_C_S_First(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread findByG_C_S_Last(long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread[] findByG_C_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<MBThread> findByG_C_S(long groupId, long categoryId, int status)
           
 java.util.List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end)
           
 java.util.List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<MBThread> findByG_C(long groupId, long categoryId)
           
 java.util.List<MBThread> findByG_C(long groupId, long categoryId, int start, int end)
           
 java.util.List<MBThread> findByG_C(long groupId, long categoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread findByG_S_First(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread findByG_S_Last(long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread[] findByG_S_PrevAndNext(long threadId, long groupId, int status, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<MBThread> findByG_S(long groupId, int status)
           
 java.util.List<MBThread> findByG_S(long groupId, int status, int start, int end)
           
 java.util.List<MBThread> findByG_S(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 MBThread[] findByGroupId_PrevAndNext(long threadId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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 obc)
           
 MBThread findByPrimaryKey(long threadId)
           
 MBThread remove(long threadId)
           
 void removeAll()
           
 void removeByC_P(long categoryId, double priority)
           
 void removeByG_C_L(long groupId, long categoryId, java.util.Date lastPostDate)
           
 void removeByG_C_S(long groupId, long categoryId, int status)
           
 void removeByG_C(long groupId, long categoryId)
           
 void removeByG_S(long groupId, int status)
           
 void removeByGroupId(long groupId)
           
 MBThread updateImpl(MBThread mbThread, 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(MBThread mbThread)

cacheResult

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

create

MBThread create(long threadId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByGroupId

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

findByGroupId

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

findByGroupId

java.util.List<MBThread> findByGroupId(long groupId,
                                       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

findByGroupId_First

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

findByGroupId_Last

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

findByGroupId_PrevAndNext

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

findByG_C

java.util.List<MBThread> findByG_C(long groupId,
                                   long categoryId)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C

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

findByG_C

java.util.List<MBThread> findByG_C(long groupId,
                                   long categoryId,
                                   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

findByG_C_First

MBThread findByG_C_First(long groupId,
                         long categoryId,
                         com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.kernel.exception.SystemException,
                                NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C_Last

MBThread findByG_C_Last(long groupId,
                        long categoryId,
                        com.liferay.portal.kernel.util.OrderByComparator obc)
                        throws com.liferay.portal.kernel.exception.SystemException,
                               NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C_PrevAndNext

MBThread[] findByG_C_PrevAndNext(long threadId,
                                 long groupId,
                                 long categoryId,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.kernel.exception.SystemException,
                                        NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_S

java.util.List<MBThread> findByG_S(long groupId,
                                   int status)
                                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_S

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

findByG_S

java.util.List<MBThread> findByG_S(long groupId,
                                   int status,
                                   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

findByG_S_First

MBThread findByG_S_First(long groupId,
                         int status,
                         com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.kernel.exception.SystemException,
                                NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_S_Last

MBThread findByG_S_Last(long groupId,
                        int status,
                        com.liferay.portal.kernel.util.OrderByComparator obc)
                        throws com.liferay.portal.kernel.exception.SystemException,
                               NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_S_PrevAndNext

MBThread[] findByG_S_PrevAndNext(long threadId,
                                 long groupId,
                                 int status,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.kernel.exception.SystemException,
                                        NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByC_P

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

findByC_P

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

findByC_P

java.util.List<MBThread> findByC_P(long categoryId,
                                   double priority,
                                   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

findByC_P_First

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

findByC_P_Last

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

findByC_P_PrevAndNext

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

findByG_C_L

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

findByG_C_L

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

findByG_C_L

java.util.List<MBThread> findByG_C_L(long groupId,
                                     long categoryId,
                                     java.util.Date lastPostDate,
                                     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

findByG_C_L_First

MBThread findByG_C_L_First(long groupId,
                           long categoryId,
                           java.util.Date lastPostDate,
                           com.liferay.portal.kernel.util.OrderByComparator obc)
                           throws com.liferay.portal.kernel.exception.SystemException,
                                  NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C_L_Last

MBThread findByG_C_L_Last(long groupId,
                          long categoryId,
                          java.util.Date lastPostDate,
                          com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws com.liferay.portal.kernel.exception.SystemException,
                                 NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C_L_PrevAndNext

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

findByG_C_S

java.util.List<MBThread> findByG_C_S(long groupId,
                                     long categoryId,
                                     int status)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C_S

java.util.List<MBThread> findByG_C_S(long groupId,
                                     long categoryId,
                                     int status,
                                     int start,
                                     int end)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C_S

java.util.List<MBThread> findByG_C_S(long groupId,
                                     long categoryId,
                                     int status,
                                     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

findByG_C_S_First

MBThread findByG_C_S_First(long groupId,
                           long categoryId,
                           int status,
                           com.liferay.portal.kernel.util.OrderByComparator obc)
                           throws com.liferay.portal.kernel.exception.SystemException,
                                  NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C_S_Last

MBThread findByG_C_S_Last(long groupId,
                          long categoryId,
                          int status,
                          com.liferay.portal.kernel.util.OrderByComparator obc)
                          throws com.liferay.portal.kernel.exception.SystemException,
                                 NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findByG_C_S_PrevAndNext

MBThread[] findByG_C_S_PrevAndNext(long threadId,
                                   long groupId,
                                   long categoryId,
                                   int status,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                   throws com.liferay.portal.kernel.exception.SystemException,
                                          NoSuchThreadException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchThreadException

findAll

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

findAll

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

findAll

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

removeByGroupId

void removeByGroupId(long groupId)
                     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
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_S

void removeByG_S(long groupId,
                 int status)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByC_P

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

removeByG_C_L

void removeByG_C_L(long groupId,
                   long categoryId,
                   java.util.Date lastPostDate)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_C_S

void removeByG_C_S(long groupId,
                   long categoryId,
                   int status)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAll

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

countByGroupId

int countByGroupId(long groupId)
                   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

countByG_S

int countByG_S(long groupId,
               int status)
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByC_P

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

countByG_C_L

int countByG_C_L(long groupId,
                 long categoryId,
                 java.util.Date lastPostDate)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_C_S

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