com.liferay.portlet.tasks.service.persistence
Interface TasksReviewPersistence

All Superinterfaces:
BasePersistence<TasksReview>

public interface TasksReviewPersistence
extends BasePersistence<TasksReview>

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:
TasksReviewPersistenceImpl, TasksReviewUtil
Generated:

Method Summary
 void cacheResult(java.util.List<TasksReview> tasksReviews)
           
 void cacheResult(TasksReview tasksReview)
           
 int countAll()
           
 int countByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected)
           
 int countByP_S_C(long proposalId, int stage, boolean completed)
           
 int countByP_S(long proposalId, int stage)
           
 int countByProposalId(long proposalId)
           
 int countByU_P(long userId, long proposalId)
           
 int countByUserId(long userId)
           
 TasksReview create(long reviewId)
           
 TasksReview fetchByPrimaryKey(long reviewId)
           
 TasksReview fetchByU_P(long userId, long proposalId)
           
 TasksReview fetchByU_P(long userId, long proposalId, boolean retrieveFromCache)
           
 java.util.List<TasksReview> findAll()
           
 java.util.List<TasksReview> findAll(int start, int end)
           
 java.util.List<TasksReview> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview findByP_S_C_First(long proposalId, int stage, boolean completed, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview findByP_S_C_Last(long proposalId, int stage, boolean completed, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview[] findByP_S_C_PrevAndNext(long reviewId, long proposalId, int stage, boolean completed, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview findByP_S_C_R_First(long proposalId, int stage, boolean completed, boolean rejected, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview findByP_S_C_R_Last(long proposalId, int stage, boolean completed, boolean rejected, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview[] findByP_S_C_R_PrevAndNext(long reviewId, long proposalId, int stage, boolean completed, boolean rejected, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<TasksReview> findByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected)
           
 java.util.List<TasksReview> findByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected, int start, int end)
           
 java.util.List<TasksReview> findByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<TasksReview> findByP_S_C(long proposalId, int stage, boolean completed)
           
 java.util.List<TasksReview> findByP_S_C(long proposalId, int stage, boolean completed, int start, int end)
           
 java.util.List<TasksReview> findByP_S_C(long proposalId, int stage, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview findByP_S_First(long proposalId, int stage, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview findByP_S_Last(long proposalId, int stage, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview[] findByP_S_PrevAndNext(long reviewId, long proposalId, int stage, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<TasksReview> findByP_S(long proposalId, int stage)
           
 java.util.List<TasksReview> findByP_S(long proposalId, int stage, int start, int end)
           
 java.util.List<TasksReview> findByP_S(long proposalId, int stage, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview findByPrimaryKey(long reviewId)
           
 TasksReview findByProposalId_First(long proposalId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview findByProposalId_Last(long proposalId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview[] findByProposalId_PrevAndNext(long reviewId, long proposalId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<TasksReview> findByProposalId(long proposalId)
           
 java.util.List<TasksReview> findByProposalId(long proposalId, int start, int end)
           
 java.util.List<TasksReview> findByProposalId(long proposalId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview findByU_P(long userId, long proposalId)
           
 TasksReview findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview[] findByUserId_PrevAndNext(long reviewId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<TasksReview> findByUserId(long userId)
           
 java.util.List<TasksReview> findByUserId(long userId, int start, int end)
           
 java.util.List<TasksReview> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TasksReview remove(long reviewId)
           
 void removeAll()
           
 void removeByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected)
           
 void removeByP_S_C(long proposalId, int stage, boolean completed)
           
 void removeByP_S(long proposalId, int stage)
           
 void removeByProposalId(long proposalId)
           
 void removeByU_P(long userId, long proposalId)
           
 void removeByUserId(long userId)
           
 TasksReview update(TasksReview tasksReview)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 TasksReview updateImpl(TasksReview tasksReview, 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(TasksReview tasksReview)

cacheResult

void cacheResult(java.util.List<TasksReview> tasksReviews)

create

TasksReview create(long reviewId)

remove

TasksReview remove(long reviewId)
                   throws com.liferay.portal.SystemException,
                          NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

update

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

Throws:
com.liferay.portal.SystemException

updateImpl

TasksReview updateImpl(TasksReview tasksReview,
                       boolean merge)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

TasksReview findByPrimaryKey(long reviewId)
                             throws com.liferay.portal.SystemException,
                                    NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

fetchByPrimaryKey

TasksReview fetchByPrimaryKey(long reviewId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

java.util.List<TasksReview> findByUserId(long userId)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

java.util.List<TasksReview> findByUserId(long userId,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId

java.util.List<TasksReview> findByUserId(long userId,
                                         int start,
                                         int end,
                                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByUserId_First

TasksReview findByUserId_First(long userId,
                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                               throws com.liferay.portal.SystemException,
                                      NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findByUserId_Last

TasksReview findByUserId_Last(long userId,
                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                              throws com.liferay.portal.SystemException,
                                     NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findByUserId_PrevAndNext

TasksReview[] findByUserId_PrevAndNext(long reviewId,
                                       long userId,
                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findByProposalId

java.util.List<TasksReview> findByProposalId(long proposalId)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByProposalId

java.util.List<TasksReview> findByProposalId(long proposalId,
                                             int start,
                                             int end)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByProposalId

java.util.List<TasksReview> findByProposalId(long proposalId,
                                             int start,
                                             int end,
                                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByProposalId_First

TasksReview findByProposalId_First(long proposalId,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findByProposalId_Last

TasksReview findByProposalId_Last(long proposalId,
                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findByProposalId_PrevAndNext

TasksReview[] findByProposalId_PrevAndNext(long reviewId,
                                           long proposalId,
                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findByU_P

TasksReview findByU_P(long userId,
                      long proposalId)
                      throws com.liferay.portal.SystemException,
                             NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

fetchByU_P

TasksReview fetchByU_P(long userId,
                       long proposalId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByU_P

TasksReview fetchByU_P(long userId,
                       long proposalId,
                       boolean retrieveFromCache)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_S

java.util.List<TasksReview> findByP_S(long proposalId,
                                      int stage)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_S

java.util.List<TasksReview> findByP_S(long proposalId,
                                      int stage,
                                      int start,
                                      int end)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_S

java.util.List<TasksReview> findByP_S(long proposalId,
                                      int stage,
                                      int start,
                                      int end,
                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_S_First

TasksReview findByP_S_First(long proposalId,
                            int stage,
                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException,
                                   NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findByP_S_Last

TasksReview findByP_S_Last(long proposalId,
                           int stage,
                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                           throws com.liferay.portal.SystemException,
                                  NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findByP_S_PrevAndNext

TasksReview[] findByP_S_PrevAndNext(long reviewId,
                                    long proposalId,
                                    int stage,
                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findByP_S_C

java.util.List<TasksReview> findByP_S_C(long proposalId,
                                        int stage,
                                        boolean completed)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_S_C

java.util.List<TasksReview> findByP_S_C(long proposalId,
                                        int stage,
                                        boolean completed,
                                        int start,
                                        int end)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_S_C

java.util.List<TasksReview> findByP_S_C(long proposalId,
                                        int stage,
                                        boolean completed,
                                        int start,
                                        int end,
                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_S_C_First

TasksReview findByP_S_C_First(long proposalId,
                              int stage,
                              boolean completed,
                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                              throws com.liferay.portal.SystemException,
                                     NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findByP_S_C_Last

TasksReview findByP_S_C_Last(long proposalId,
                             int stage,
                             boolean completed,
                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                             throws com.liferay.portal.SystemException,
                                    NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findByP_S_C_PrevAndNext

TasksReview[] findByP_S_C_PrevAndNext(long reviewId,
                                      long proposalId,
                                      int stage,
                                      boolean completed,
                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                      throws com.liferay.portal.SystemException,
                                             NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findByP_S_C_R

java.util.List<TasksReview> findByP_S_C_R(long proposalId,
                                          int stage,
                                          boolean completed,
                                          boolean rejected)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_S_C_R

java.util.List<TasksReview> findByP_S_C_R(long proposalId,
                                          int stage,
                                          boolean completed,
                                          boolean rejected,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_S_C_R

java.util.List<TasksReview> findByP_S_C_R(long proposalId,
                                          int stage,
                                          boolean completed,
                                          boolean rejected,
                                          int start,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_S_C_R_First

TasksReview findByP_S_C_R_First(long proposalId,
                                int stage,
                                boolean completed,
                                boolean rejected,
                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                throws com.liferay.portal.SystemException,
                                       NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findByP_S_C_R_Last

TasksReview findByP_S_C_R_Last(long proposalId,
                               int stage,
                               boolean completed,
                               boolean rejected,
                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                               throws com.liferay.portal.SystemException,
                                      NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findByP_S_C_R_PrevAndNext

TasksReview[] findByP_S_C_R_PrevAndNext(long reviewId,
                                        long proposalId,
                                        int stage,
                                        boolean completed,
                                        boolean rejected,
                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

findAll

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

findAll

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

findAll

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

removeByUserId

void removeByUserId(long userId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByProposalId

void removeByProposalId(long proposalId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByU_P

void removeByU_P(long userId,
                 long proposalId)
                 throws com.liferay.portal.SystemException,
                        NoSuchReviewException
Throws:
com.liferay.portal.SystemException
NoSuchReviewException

removeByP_S

void removeByP_S(long proposalId,
                 int stage)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByP_S_C

void removeByP_S_C(long proposalId,
                   int stage,
                   boolean completed)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByP_S_C_R

void removeByP_S_C_R(long proposalId,
                     int stage,
                     boolean completed,
                     boolean rejected)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByUserId

int countByUserId(long userId)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByProposalId

int countByProposalId(long proposalId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByU_P

int countByU_P(long userId,
               long proposalId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByP_S

int countByP_S(long proposalId,
               int stage)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByP_S_C

int countByP_S_C(long proposalId,
                 int stage,
                 boolean completed)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByP_S_C_R

int countByP_S_C_R(long proposalId,
                   int stage,
                   boolean completed,
                   boolean rejected)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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