Liferay 6.0.3

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

All Superinterfaces:
BasePersistence<MBThread>
All Known Implementing Classes:
MBThreadPersistenceImpl

public interface MBThreadPersistence
extends BasePersistence<MBThread>

See Also:
MBThreadPersistenceImpl, MBThreadUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void cacheResult(List<MBThread> mbThreads)
           
 void cacheResult(MBThread mbThread)
           
 int countAll()
           
 int countByC_P(long categoryId, double priority)
           
 int countByG_C_L(long groupId, long categoryId, Date lastPostDate)
           
 int countByG_C_S(long groupId, long[] categoryIds, int status)
           
 int countByG_C_S(long groupId, long categoryId, int status)
           
 int countByG_C(long groupId, long categoryId)
           
 int countByG_C(long groupId, long[] categoryIds)
           
 int countByG_NotC_S(long groupId, long categoryId, int status)
           
 int countByG_NotC(long groupId, long categoryId)
           
 int countByG_S(long groupId, int status)
           
 int countByGroupId(long groupId)
           
 MBThread create(long threadId)
           
 MBThread fetchByPrimaryKey(long threadId)
           
 List<MBThread> findAll()
           
 List<MBThread> findAll(int start, int end)
           
 List<MBThread> findAll(int start, int end, OrderByComparator orderByComparator)
           
 MBThread findByC_P_First(long categoryId, double priority, OrderByComparator orderByComparator)
           
 MBThread findByC_P_Last(long categoryId, double priority, OrderByComparator orderByComparator)
           
 MBThread[] findByC_P_PrevAndNext(long threadId, long categoryId, double priority, OrderByComparator orderByComparator)
           
 List<MBThread> findByC_P(long categoryId, double priority)
           
 List<MBThread> findByC_P(long categoryId, double priority, int start, int end)
           
 List<MBThread> findByC_P(long categoryId, double priority, int start, int end, OrderByComparator orderByComparator)
           
 MBThread findByG_C_First(long groupId, long categoryId, OrderByComparator orderByComparator)
           
 MBThread findByG_C_L_First(long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator)
           
 MBThread findByG_C_L_Last(long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator)
           
 MBThread[] findByG_C_L_PrevAndNext(long threadId, long groupId, long categoryId, Date lastPostDate, OrderByComparator orderByComparator)
           
 List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate)
           
 List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end)
           
 List<MBThread> findByG_C_L(long groupId, long categoryId, Date lastPostDate, int start, int end, OrderByComparator orderByComparator)
           
 MBThread findByG_C_Last(long groupId, long categoryId, OrderByComparator orderByComparator)
           
 MBThread[] findByG_C_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator orderByComparator)
           
 MBThread findByG_C_S_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
           
 MBThread findByG_C_S_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
           
 MBThread[] findByG_C_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator)
           
 List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status)
           
 List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status, int start, int end)
           
 List<MBThread> findByG_C_S(long groupId, long[] categoryIds, int status, int start, int end, OrderByComparator orderByComparator)
           
 List<MBThread> findByG_C_S(long groupId, long categoryId, int status)
           
 List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end)
           
 List<MBThread> findByG_C_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator)
           
 List<MBThread> findByG_C(long groupId, long categoryId)
           
 List<MBThread> findByG_C(long groupId, long[] categoryIds)
           
 List<MBThread> findByG_C(long groupId, long[] categoryIds, int start, int end)
           
 List<MBThread> findByG_C(long groupId, long[] categoryIds, int start, int end, OrderByComparator orderByComparator)
           
 List<MBThread> findByG_C(long groupId, long categoryId, int start, int end)
           
 List<MBThread> findByG_C(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator)
           
 MBThread findByG_NotC_First(long groupId, long categoryId, OrderByComparator orderByComparator)
           
 MBThread findByG_NotC_Last(long groupId, long categoryId, OrderByComparator orderByComparator)
           
 MBThread[] findByG_NotC_PrevAndNext(long threadId, long groupId, long categoryId, OrderByComparator orderByComparator)
           
 MBThread findByG_NotC_S_First(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
           
 MBThread findByG_NotC_S_Last(long groupId, long categoryId, int status, OrderByComparator orderByComparator)
           
 MBThread[] findByG_NotC_S_PrevAndNext(long threadId, long groupId, long categoryId, int status, OrderByComparator orderByComparator)
           
 List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status)
           
 List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status, int start, int end)
           
 List<MBThread> findByG_NotC_S(long groupId, long categoryId, int status, int start, int end, OrderByComparator orderByComparator)
           
 List<MBThread> findByG_NotC(long groupId, long categoryId)
           
 List<MBThread> findByG_NotC(long groupId, long categoryId, int start, int end)
           
 List<MBThread> findByG_NotC(long groupId, long categoryId, int start, int end, OrderByComparator orderByComparator)
           
 MBThread findByG_S_First(long groupId, int status, OrderByComparator orderByComparator)
           
 MBThread findByG_S_Last(long groupId, int status, OrderByComparator orderByComparator)
           
 MBThread[] findByG_S_PrevAndNext(long threadId, long groupId, int status, OrderByComparator orderByComparator)
           
 List<MBThread> findByG_S(long groupId, int status)
           
 List<MBThread> findByG_S(long groupId, int status, int start, int end)
           
 List<MBThread> findByG_S(long groupId, int status, int start, int end, OrderByComparator orderByComparator)
           
 MBThread findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 MBThread findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 MBThread[] findByGroupId_PrevAndNext(long threadId, long groupId, OrderByComparator orderByComparator)
           
 List<MBThread> findByGroupId(long groupId)
           
 List<MBThread> findByGroupId(long groupId, int start, int end)
           
 List<MBThread> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 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, Date lastPostDate)
           
 void removeByG_C_S(long groupId, long categoryId, int status)
           
 void removeByG_C(long groupId, long categoryId)
           
 void removeByG_NotC_S(long groupId, long categoryId, int status)
           
 void removeByG_NotC(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, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update
 

Method Detail

cacheResult

void cacheResult(MBThread mbThread)

cacheResult

void cacheResult(List<MBThread> mbThreads)

create

MBThread create(long threadId)

remove

MBThread remove(long threadId)
                throws SystemException,
                       NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

updateImpl

MBThread updateImpl(MBThread mbThread,
                    boolean merge)
                    throws SystemException
Throws:
SystemException

findByPrimaryKey

MBThread findByPrimaryKey(long threadId)
                          throws SystemException,
                                 NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

fetchByPrimaryKey

MBThread fetchByPrimaryKey(long threadId)
                           throws SystemException
Throws:
SystemException

findByGroupId

List<MBThread> findByGroupId(long groupId)
                             throws SystemException
Throws:
SystemException

findByGroupId

List<MBThread> findByGroupId(long groupId,
                             int start,
                             int end)
                             throws SystemException
Throws:
SystemException

findByGroupId

List<MBThread> findByGroupId(long groupId,
                             int start,
                             int end,
                             OrderByComparator orderByComparator)
                             throws SystemException
Throws:
SystemException

findByGroupId_First

MBThread findByGroupId_First(long groupId,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByGroupId_Last

MBThread findByGroupId_Last(long groupId,
                            OrderByComparator orderByComparator)
                            throws SystemException,
                                   NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByGroupId_PrevAndNext

MBThread[] findByGroupId_PrevAndNext(long threadId,
                                     long groupId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_C

List<MBThread> findByG_C(long groupId,
                         long categoryId)
                         throws SystemException
Throws:
SystemException

findByG_C

List<MBThread> findByG_C(long groupId,
                         long categoryId,
                         int start,
                         int end)
                         throws SystemException
Throws:
SystemException

findByG_C

List<MBThread> findByG_C(long groupId,
                         long categoryId,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

findByG_C_First

MBThread findByG_C_First(long groupId,
                         long categoryId,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_C_Last

MBThread findByG_C_Last(long groupId,
                        long categoryId,
                        OrderByComparator orderByComparator)
                        throws SystemException,
                               NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_C_PrevAndNext

MBThread[] findByG_C_PrevAndNext(long threadId,
                                 long groupId,
                                 long categoryId,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_C

List<MBThread> findByG_C(long groupId,
                         long[] categoryIds)
                         throws SystemException
Throws:
SystemException

findByG_C

List<MBThread> findByG_C(long groupId,
                         long[] categoryIds,
                         int start,
                         int end)
                         throws SystemException
Throws:
SystemException

findByG_C

List<MBThread> findByG_C(long groupId,
                         long[] categoryIds,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

findByG_NotC

List<MBThread> findByG_NotC(long groupId,
                            long categoryId)
                            throws SystemException
Throws:
SystemException

findByG_NotC

List<MBThread> findByG_NotC(long groupId,
                            long categoryId,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

findByG_NotC

List<MBThread> findByG_NotC(long groupId,
                            long categoryId,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

findByG_NotC_First

MBThread findByG_NotC_First(long groupId,
                            long categoryId,
                            OrderByComparator orderByComparator)
                            throws SystemException,
                                   NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_NotC_Last

MBThread findByG_NotC_Last(long groupId,
                           long categoryId,
                           OrderByComparator orderByComparator)
                           throws SystemException,
                                  NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_NotC_PrevAndNext

MBThread[] findByG_NotC_PrevAndNext(long threadId,
                                    long groupId,
                                    long categoryId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_S

List<MBThread> findByG_S(long groupId,
                         int status)
                         throws SystemException
Throws:
SystemException

findByG_S

List<MBThread> findByG_S(long groupId,
                         int status,
                         int start,
                         int end)
                         throws SystemException
Throws:
SystemException

findByG_S

List<MBThread> findByG_S(long groupId,
                         int status,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

findByG_S_First

MBThread findByG_S_First(long groupId,
                         int status,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_S_Last

MBThread findByG_S_Last(long groupId,
                        int status,
                        OrderByComparator orderByComparator)
                        throws SystemException,
                               NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_S_PrevAndNext

MBThread[] findByG_S_PrevAndNext(long threadId,
                                 long groupId,
                                 int status,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByC_P

List<MBThread> findByC_P(long categoryId,
                         double priority)
                         throws SystemException
Throws:
SystemException

findByC_P

List<MBThread> findByC_P(long categoryId,
                         double priority,
                         int start,
                         int end)
                         throws SystemException
Throws:
SystemException

findByC_P

List<MBThread> findByC_P(long categoryId,
                         double priority,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

findByC_P_First

MBThread findByC_P_First(long categoryId,
                         double priority,
                         OrderByComparator orderByComparator)
                         throws SystemException,
                                NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByC_P_Last

MBThread findByC_P_Last(long categoryId,
                        double priority,
                        OrderByComparator orderByComparator)
                        throws SystemException,
                               NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByC_P_PrevAndNext

MBThread[] findByC_P_PrevAndNext(long threadId,
                                 long categoryId,
                                 double priority,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_C_L

List<MBThread> findByG_C_L(long groupId,
                           long categoryId,
                           Date lastPostDate)
                           throws SystemException
Throws:
SystemException

findByG_C_L

List<MBThread> findByG_C_L(long groupId,
                           long categoryId,
                           Date lastPostDate,
                           int start,
                           int end)
                           throws SystemException
Throws:
SystemException

findByG_C_L

List<MBThread> findByG_C_L(long groupId,
                           long categoryId,
                           Date lastPostDate,
                           int start,
                           int end,
                           OrderByComparator orderByComparator)
                           throws SystemException
Throws:
SystemException

findByG_C_L_First

MBThread findByG_C_L_First(long groupId,
                           long categoryId,
                           Date lastPostDate,
                           OrderByComparator orderByComparator)
                           throws SystemException,
                                  NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_C_L_Last

MBThread findByG_C_L_Last(long groupId,
                          long categoryId,
                          Date lastPostDate,
                          OrderByComparator orderByComparator)
                          throws SystemException,
                                 NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_C_L_PrevAndNext

MBThread[] findByG_C_L_PrevAndNext(long threadId,
                                   long groupId,
                                   long categoryId,
                                   Date lastPostDate,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_C_S

List<MBThread> findByG_C_S(long groupId,
                           long categoryId,
                           int status)
                           throws SystemException
Throws:
SystemException

findByG_C_S

List<MBThread> findByG_C_S(long groupId,
                           long categoryId,
                           int status,
                           int start,
                           int end)
                           throws SystemException
Throws:
SystemException

findByG_C_S

List<MBThread> findByG_C_S(long groupId,
                           long categoryId,
                           int status,
                           int start,
                           int end,
                           OrderByComparator orderByComparator)
                           throws SystemException
Throws:
SystemException

findByG_C_S_First

MBThread findByG_C_S_First(long groupId,
                           long categoryId,
                           int status,
                           OrderByComparator orderByComparator)
                           throws SystemException,
                                  NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_C_S_Last

MBThread findByG_C_S_Last(long groupId,
                          long categoryId,
                          int status,
                          OrderByComparator orderByComparator)
                          throws SystemException,
                                 NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_C_S_PrevAndNext

MBThread[] findByG_C_S_PrevAndNext(long threadId,
                                   long groupId,
                                   long categoryId,
                                   int status,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_C_S

List<MBThread> findByG_C_S(long groupId,
                           long[] categoryIds,
                           int status)
                           throws SystemException
Throws:
SystemException

findByG_C_S

List<MBThread> findByG_C_S(long groupId,
                           long[] categoryIds,
                           int status,
                           int start,
                           int end)
                           throws SystemException
Throws:
SystemException

findByG_C_S

List<MBThread> findByG_C_S(long groupId,
                           long[] categoryIds,
                           int status,
                           int start,
                           int end,
                           OrderByComparator orderByComparator)
                           throws SystemException
Throws:
SystemException

findByG_NotC_S

List<MBThread> findByG_NotC_S(long groupId,
                              long categoryId,
                              int status)
                              throws SystemException
Throws:
SystemException

findByG_NotC_S

List<MBThread> findByG_NotC_S(long groupId,
                              long categoryId,
                              int status,
                              int start,
                              int end)
                              throws SystemException
Throws:
SystemException

findByG_NotC_S

List<MBThread> findByG_NotC_S(long groupId,
                              long categoryId,
                              int status,
                              int start,
                              int end,
                              OrderByComparator orderByComparator)
                              throws SystemException
Throws:
SystemException

findByG_NotC_S_First

MBThread findByG_NotC_S_First(long groupId,
                              long categoryId,
                              int status,
                              OrderByComparator orderByComparator)
                              throws SystemException,
                                     NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_NotC_S_Last

MBThread findByG_NotC_S_Last(long groupId,
                             long categoryId,
                             int status,
                             OrderByComparator orderByComparator)
                             throws SystemException,
                                    NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findByG_NotC_S_PrevAndNext

MBThread[] findByG_NotC_S_PrevAndNext(long threadId,
                                      long groupId,
                                      long categoryId,
                                      int status,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchThreadException
Throws:
SystemException
NoSuchThreadException

findAll

List<MBThread> findAll()
                       throws SystemException
Throws:
SystemException

findAll

List<MBThread> findAll(int start,
                       int end)
                       throws SystemException
Throws:
SystemException

findAll

List<MBThread> findAll(int start,
                       int end,
                       OrderByComparator orderByComparator)
                       throws SystemException
Throws:
SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByG_C

void removeByG_C(long groupId,
                 long categoryId)
                 throws SystemException
Throws:
SystemException

removeByG_NotC

void removeByG_NotC(long groupId,
                    long categoryId)
                    throws SystemException
Throws:
SystemException

removeByG_S

void removeByG_S(long groupId,
                 int status)
                 throws SystemException
Throws:
SystemException

removeByC_P

void removeByC_P(long categoryId,
                 double priority)
                 throws SystemException
Throws:
SystemException

removeByG_C_L

void removeByG_C_L(long groupId,
                   long categoryId,
                   Date lastPostDate)
                   throws SystemException
Throws:
SystemException

removeByG_C_S

void removeByG_C_S(long groupId,
                   long categoryId,
                   int status)
                   throws SystemException
Throws:
SystemException

removeByG_NotC_S

void removeByG_NotC_S(long groupId,
                      long categoryId,
                      int status)
                      throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

countByG_C

int countByG_C(long groupId,
               long categoryId)
               throws SystemException
Throws:
SystemException

countByG_C

int countByG_C(long groupId,
               long[] categoryIds)
               throws SystemException
Throws:
SystemException

countByG_NotC

int countByG_NotC(long groupId,
                  long categoryId)
                  throws SystemException
Throws:
SystemException

countByG_S

int countByG_S(long groupId,
               int status)
               throws SystemException
Throws:
SystemException

countByC_P

int countByC_P(long categoryId,
               double priority)
               throws SystemException
Throws:
SystemException

countByG_C_L

int countByG_C_L(long groupId,
                 long categoryId,
                 Date lastPostDate)
                 throws SystemException
Throws:
SystemException

countByG_C_S

int countByG_C_S(long groupId,
                 long categoryId,
                 int status)
                 throws SystemException
Throws:
SystemException

countByG_C_S

int countByG_C_S(long groupId,
                 long[] categoryIds,
                 int status)
                 throws SystemException
Throws:
SystemException

countByG_NotC_S

int countByG_NotC_S(long groupId,
                    long categoryId,
                    int status)
                    throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3