Liferay 6.0.3

com.liferay.portlet.tasks.service.persistence
Class TasksReviewPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<TasksReview>
      extended by com.liferay.portlet.tasks.service.persistence.TasksReviewPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<TasksReview>, TasksReviewPersistence

public class TasksReviewPersistenceImpl
extends BasePersistenceImpl<TasksReview>
implements TasksReviewPersistence

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

Field Summary
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_P_S
           
static FinderPath FINDER_PATH_COUNT_BY_P_S_C
           
static FinderPath FINDER_PATH_COUNT_BY_P_S_C_R
           
static FinderPath FINDER_PATH_COUNT_BY_PROPOSALID
           
static FinderPath FINDER_PATH_COUNT_BY_U_P
           
static FinderPath FINDER_PATH_COUNT_BY_USERID
           
static FinderPath FINDER_PATH_FETCH_BY_U_P
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_P_S
           
static FinderPath FINDER_PATH_FIND_BY_P_S_C
           
static FinderPath FINDER_PATH_FIND_BY_P_S_C_R
           
static FinderPath FINDER_PATH_FIND_BY_PROPOSALID
           
static FinderPath FINDER_PATH_FIND_BY_USERID
           
protected  ResourcePersistence resourcePersistence
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  TasksProposalPersistence tasksProposalPersistence
           
protected  TasksReviewPersistence tasksReviewPersistence
           
protected  UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
TasksReviewPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 void cacheResult(List<TasksReview> tasksReviews)
           
 void cacheResult(TasksReview tasksReview)
           
 void clearCache()
          Clears the cache for all instances of this model.
 void clearCache(TasksReview tasksReview)
          Clears the cache for one instance of this model.
 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 fetchByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or return null if it could not be found.
 TasksReview fetchByU_P(long userId, long proposalId)
           
 TasksReview fetchByU_P(long userId, long proposalId, boolean retrieveFromCache)
           
 List<TasksReview> findAll()
           
 List<TasksReview> findAll(int start, int end)
           
 List<TasksReview> findAll(int start, int end, OrderByComparator orderByComparator)
           
 TasksReview findByP_S_C_First(long proposalId, int stage, boolean completed, OrderByComparator orderByComparator)
           
 TasksReview findByP_S_C_Last(long proposalId, int stage, boolean completed, OrderByComparator orderByComparator)
           
 TasksReview[] findByP_S_C_PrevAndNext(long reviewId, long proposalId, int stage, boolean completed, OrderByComparator orderByComparator)
           
 TasksReview findByP_S_C_R_First(long proposalId, int stage, boolean completed, boolean rejected, OrderByComparator orderByComparator)
           
 TasksReview findByP_S_C_R_Last(long proposalId, int stage, boolean completed, boolean rejected, OrderByComparator orderByComparator)
           
 TasksReview[] findByP_S_C_R_PrevAndNext(long reviewId, long proposalId, int stage, boolean completed, boolean rejected, OrderByComparator orderByComparator)
           
 List<TasksReview> findByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected)
           
 List<TasksReview> findByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected, int start, int end)
           
 List<TasksReview> findByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected, int start, int end, OrderByComparator orderByComparator)
           
 List<TasksReview> findByP_S_C(long proposalId, int stage, boolean completed)
           
 List<TasksReview> findByP_S_C(long proposalId, int stage, boolean completed, int start, int end)
           
 List<TasksReview> findByP_S_C(long proposalId, int stage, boolean completed, int start, int end, OrderByComparator orderByComparator)
           
 TasksReview findByP_S_First(long proposalId, int stage, OrderByComparator orderByComparator)
           
 TasksReview findByP_S_Last(long proposalId, int stage, OrderByComparator orderByComparator)
           
 TasksReview[] findByP_S_PrevAndNext(long reviewId, long proposalId, int stage, OrderByComparator orderByComparator)
           
 List<TasksReview> findByP_S(long proposalId, int stage)
           
 List<TasksReview> findByP_S(long proposalId, int stage, int start, int end)
           
 List<TasksReview> findByP_S(long proposalId, int stage, int start, int end, OrderByComparator orderByComparator)
           
 TasksReview findByPrimaryKey(long reviewId)
           
 TasksReview findByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or throw an exception if it could not be found.
 TasksReview findByProposalId_First(long proposalId, OrderByComparator orderByComparator)
           
 TasksReview findByProposalId_Last(long proposalId, OrderByComparator orderByComparator)
           
 TasksReview[] findByProposalId_PrevAndNext(long reviewId, long proposalId, OrderByComparator orderByComparator)
           
 List<TasksReview> findByProposalId(long proposalId)
           
 List<TasksReview> findByProposalId(long proposalId, int start, int end)
           
 List<TasksReview> findByProposalId(long proposalId, int start, int end, OrderByComparator orderByComparator)
           
 TasksReview findByU_P(long userId, long proposalId)
           
 TasksReview findByUserId_First(long userId, OrderByComparator orderByComparator)
           
 TasksReview findByUserId_Last(long userId, OrderByComparator orderByComparator)
           
 TasksReview[] findByUserId_PrevAndNext(long reviewId, long userId, OrderByComparator orderByComparator)
           
 List<TasksReview> findByUserId(long userId)
           
 List<TasksReview> findByUserId(long userId, int start, int end)
           
 List<TasksReview> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator)
           
protected  TasksReview getByP_S_C_PrevAndNext(Session session, TasksReview tasksReview, long proposalId, int stage, boolean completed, OrderByComparator orderByComparator, boolean previous)
           
protected  TasksReview getByP_S_C_R_PrevAndNext(Session session, TasksReview tasksReview, long proposalId, int stage, boolean completed, boolean rejected, OrderByComparator orderByComparator, boolean previous)
           
protected  TasksReview getByP_S_PrevAndNext(Session session, TasksReview tasksReview, long proposalId, int stage, OrderByComparator orderByComparator, boolean previous)
           
protected  TasksReview getByProposalId_PrevAndNext(Session session, TasksReview tasksReview, long proposalId, OrderByComparator orderByComparator, boolean previous)
           
protected  TasksReview getByUserId_PrevAndNext(Session session, TasksReview tasksReview, long userId, OrderByComparator orderByComparator, boolean previous)
           
 TasksReview remove(long reviewId)
           
 TasksReview remove(Serializable primaryKey)
          Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.
 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)
           
protected  TasksReview removeImpl(TasksReview tasksReview)
          Removes the model instance from the database.
protected  TasksReview toUnwrappedModel(TasksReview tasksReview)
           
 TasksReview updateImpl(TasksReview tasksReview, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_USERID

public static final FinderPath FINDER_PATH_FIND_BY_USERID

FINDER_PATH_COUNT_BY_USERID

public static final FinderPath FINDER_PATH_COUNT_BY_USERID

FINDER_PATH_FIND_BY_PROPOSALID

public static final FinderPath FINDER_PATH_FIND_BY_PROPOSALID

FINDER_PATH_COUNT_BY_PROPOSALID

public static final FinderPath FINDER_PATH_COUNT_BY_PROPOSALID

FINDER_PATH_FETCH_BY_U_P

public static final FinderPath FINDER_PATH_FETCH_BY_U_P

FINDER_PATH_COUNT_BY_U_P

public static final FinderPath FINDER_PATH_COUNT_BY_U_P

FINDER_PATH_FIND_BY_P_S

public static final FinderPath FINDER_PATH_FIND_BY_P_S

FINDER_PATH_COUNT_BY_P_S

public static final FinderPath FINDER_PATH_COUNT_BY_P_S

FINDER_PATH_FIND_BY_P_S_C

public static final FinderPath FINDER_PATH_FIND_BY_P_S_C

FINDER_PATH_COUNT_BY_P_S_C

public static final FinderPath FINDER_PATH_COUNT_BY_P_S_C

FINDER_PATH_FIND_BY_P_S_C_R

public static final FinderPath FINDER_PATH_FIND_BY_P_S_C_R

FINDER_PATH_COUNT_BY_P_S_C_R

public static final FinderPath FINDER_PATH_COUNT_BY_P_S_C_R

FINDER_PATH_FIND_ALL

public static final FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

tasksProposalPersistence

@BeanReference(type=TasksProposalPersistence.class)
protected TasksProposalPersistence tasksProposalPersistence

tasksReviewPersistence

@BeanReference(type=TasksReviewPersistence.class)
protected TasksReviewPersistence tasksReviewPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

socialActivityPersistence

@BeanReference(type=SocialActivityPersistence.class)
protected SocialActivityPersistence socialActivityPersistence
Constructor Detail

TasksReviewPersistenceImpl

public TasksReviewPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(TasksReview tasksReview)
Specified by:
cacheResult in interface TasksReviewPersistence

cacheResult

public void cacheResult(List<TasksReview> tasksReviews)
Specified by:
cacheResult in interface TasksReviewPersistence

clearCache

public void clearCache()
Description copied from interface: BasePersistence
Clears the cache for all instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Caching information and settings can be found in portal.properties

Specified by:
clearCache in interface BasePersistence<TasksReview>
Overrides:
clearCache in class BasePersistenceImpl<TasksReview>

clearCache

public void clearCache(TasksReview tasksReview)
Description copied from interface: BasePersistence
Clears the cache for one instance of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<TasksReview>
Overrides:
clearCache in class BasePersistenceImpl<TasksReview>
Parameters:
tasksReview - the instance of this model to clear the cache for

create

public TasksReview create(long reviewId)
Specified by:
create in interface TasksReviewPersistence

remove

public TasksReview remove(Serializable primaryKey)
                   throws NoSuchModelException,
                          SystemException
Description copied from interface: BasePersistence
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<TasksReview>
Overrides:
remove in class BasePersistenceImpl<TasksReview>
Parameters:
primaryKey - the primary key of the model instance to remove
Returns:
the model instance that was removed
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if a system exception occurred

remove

public TasksReview remove(long reviewId)
                   throws NoSuchReviewException,
                          SystemException
Specified by:
remove in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

removeImpl

protected TasksReview removeImpl(TasksReview tasksReview)
                          throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<TasksReview>
Parameters:
tasksReview - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public TasksReview updateImpl(TasksReview tasksReview,
                              boolean merge)
                       throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface TasksReviewPersistence
Overrides:
updateImpl in class BasePersistenceImpl<TasksReview>
Parameters:
tasksReview - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected TasksReview toUnwrappedModel(TasksReview tasksReview)

findByPrimaryKey

public TasksReview findByPrimaryKey(Serializable primaryKey)
                             throws NoSuchModelException,
                                    SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or throw an exception if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<TasksReview>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<TasksReview>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if the primary key is null, or if a system exception occurred

findByPrimaryKey

public TasksReview findByPrimaryKey(long reviewId)
                             throws NoSuchReviewException,
                                    SystemException
Specified by:
findByPrimaryKey in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

fetchByPrimaryKey

public TasksReview fetchByPrimaryKey(Serializable primaryKey)
                              throws SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or return null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<TasksReview>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<TasksReview>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance, or null if an instance of this model with the primary key does not exist
Throws:
SystemException - if the primary key is null, or if a system exception occurred

fetchByPrimaryKey

public TasksReview fetchByPrimaryKey(long reviewId)
                              throws SystemException
Specified by:
fetchByPrimaryKey in interface TasksReviewPersistence
Throws:
SystemException

findByUserId

public List<TasksReview> findByUserId(long userId)
                               throws SystemException
Specified by:
findByUserId in interface TasksReviewPersistence
Throws:
SystemException

findByUserId

public List<TasksReview> findByUserId(long userId,
                                      int start,
                                      int end)
                               throws SystemException
Specified by:
findByUserId in interface TasksReviewPersistence
Throws:
SystemException

findByUserId

public List<TasksReview> findByUserId(long userId,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Specified by:
findByUserId in interface TasksReviewPersistence
Throws:
SystemException

findByUserId_First

public TasksReview findByUserId_First(long userId,
                                      OrderByComparator orderByComparator)
                               throws NoSuchReviewException,
                                      SystemException
Specified by:
findByUserId_First in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

findByUserId_Last

public TasksReview findByUserId_Last(long userId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchReviewException,
                                     SystemException
Specified by:
findByUserId_Last in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

findByUserId_PrevAndNext

public TasksReview[] findByUserId_PrevAndNext(long reviewId,
                                              long userId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchReviewException,
                                              SystemException
Specified by:
findByUserId_PrevAndNext in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

getByUserId_PrevAndNext

protected TasksReview getByUserId_PrevAndNext(Session session,
                                              TasksReview tasksReview,
                                              long userId,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

findByProposalId

public List<TasksReview> findByProposalId(long proposalId)
                                   throws SystemException
Specified by:
findByProposalId in interface TasksReviewPersistence
Throws:
SystemException

findByProposalId

public List<TasksReview> findByProposalId(long proposalId,
                                          int start,
                                          int end)
                                   throws SystemException
Specified by:
findByProposalId in interface TasksReviewPersistence
Throws:
SystemException

findByProposalId

public List<TasksReview> findByProposalId(long proposalId,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Specified by:
findByProposalId in interface TasksReviewPersistence
Throws:
SystemException

findByProposalId_First

public TasksReview findByProposalId_First(long proposalId,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchReviewException,
                                          SystemException
Specified by:
findByProposalId_First in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

findByProposalId_Last

public TasksReview findByProposalId_Last(long proposalId,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchReviewException,
                                         SystemException
Specified by:
findByProposalId_Last in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

findByProposalId_PrevAndNext

public TasksReview[] findByProposalId_PrevAndNext(long reviewId,
                                                  long proposalId,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchReviewException,
                                                  SystemException
Specified by:
findByProposalId_PrevAndNext in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

getByProposalId_PrevAndNext

protected TasksReview getByProposalId_PrevAndNext(Session session,
                                                  TasksReview tasksReview,
                                                  long proposalId,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

findByU_P

public TasksReview findByU_P(long userId,
                             long proposalId)
                      throws NoSuchReviewException,
                             SystemException
Specified by:
findByU_P in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

fetchByU_P

public TasksReview fetchByU_P(long userId,
                              long proposalId)
                       throws SystemException
Specified by:
fetchByU_P in interface TasksReviewPersistence
Throws:
SystemException

fetchByU_P

public TasksReview fetchByU_P(long userId,
                              long proposalId,
                              boolean retrieveFromCache)
                       throws SystemException
Specified by:
fetchByU_P in interface TasksReviewPersistence
Throws:
SystemException

findByP_S

public List<TasksReview> findByP_S(long proposalId,
                                   int stage)
                            throws SystemException
Specified by:
findByP_S in interface TasksReviewPersistence
Throws:
SystemException

findByP_S

public List<TasksReview> findByP_S(long proposalId,
                                   int stage,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
findByP_S in interface TasksReviewPersistence
Throws:
SystemException

findByP_S

public List<TasksReview> findByP_S(long proposalId,
                                   int stage,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
findByP_S in interface TasksReviewPersistence
Throws:
SystemException

findByP_S_First

public TasksReview findByP_S_First(long proposalId,
                                   int stage,
                                   OrderByComparator orderByComparator)
                            throws NoSuchReviewException,
                                   SystemException
Specified by:
findByP_S_First in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

findByP_S_Last

public TasksReview findByP_S_Last(long proposalId,
                                  int stage,
                                  OrderByComparator orderByComparator)
                           throws NoSuchReviewException,
                                  SystemException
Specified by:
findByP_S_Last in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

findByP_S_PrevAndNext

public TasksReview[] findByP_S_PrevAndNext(long reviewId,
                                           long proposalId,
                                           int stage,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchReviewException,
                                           SystemException
Specified by:
findByP_S_PrevAndNext in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

getByP_S_PrevAndNext

protected TasksReview getByP_S_PrevAndNext(Session session,
                                           TasksReview tasksReview,
                                           long proposalId,
                                           int stage,
                                           OrderByComparator orderByComparator,
                                           boolean previous)

findByP_S_C

public List<TasksReview> findByP_S_C(long proposalId,
                                     int stage,
                                     boolean completed)
                              throws SystemException
Specified by:
findByP_S_C in interface TasksReviewPersistence
Throws:
SystemException

findByP_S_C

public List<TasksReview> findByP_S_C(long proposalId,
                                     int stage,
                                     boolean completed,
                                     int start,
                                     int end)
                              throws SystemException
Specified by:
findByP_S_C in interface TasksReviewPersistence
Throws:
SystemException

findByP_S_C

public List<TasksReview> findByP_S_C(long proposalId,
                                     int stage,
                                     boolean completed,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Specified by:
findByP_S_C in interface TasksReviewPersistence
Throws:
SystemException

findByP_S_C_First

public TasksReview findByP_S_C_First(long proposalId,
                                     int stage,
                                     boolean completed,
                                     OrderByComparator orderByComparator)
                              throws NoSuchReviewException,
                                     SystemException
Specified by:
findByP_S_C_First in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

findByP_S_C_Last

public TasksReview findByP_S_C_Last(long proposalId,
                                    int stage,
                                    boolean completed,
                                    OrderByComparator orderByComparator)
                             throws NoSuchReviewException,
                                    SystemException
Specified by:
findByP_S_C_Last in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

findByP_S_C_PrevAndNext

public TasksReview[] findByP_S_C_PrevAndNext(long reviewId,
                                             long proposalId,
                                             int stage,
                                             boolean completed,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchReviewException,
                                             SystemException
Specified by:
findByP_S_C_PrevAndNext in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

getByP_S_C_PrevAndNext

protected TasksReview getByP_S_C_PrevAndNext(Session session,
                                             TasksReview tasksReview,
                                             long proposalId,
                                             int stage,
                                             boolean completed,
                                             OrderByComparator orderByComparator,
                                             boolean previous)

findByP_S_C_R

public List<TasksReview> findByP_S_C_R(long proposalId,
                                       int stage,
                                       boolean completed,
                                       boolean rejected)
                                throws SystemException
Specified by:
findByP_S_C_R in interface TasksReviewPersistence
Throws:
SystemException

findByP_S_C_R

public List<TasksReview> findByP_S_C_R(long proposalId,
                                       int stage,
                                       boolean completed,
                                       boolean rejected,
                                       int start,
                                       int end)
                                throws SystemException
Specified by:
findByP_S_C_R in interface TasksReviewPersistence
Throws:
SystemException

findByP_S_C_R

public List<TasksReview> findByP_S_C_R(long proposalId,
                                       int stage,
                                       boolean completed,
                                       boolean rejected,
                                       int start,
                                       int end,
                                       OrderByComparator orderByComparator)
                                throws SystemException
Specified by:
findByP_S_C_R in interface TasksReviewPersistence
Throws:
SystemException

findByP_S_C_R_First

public TasksReview findByP_S_C_R_First(long proposalId,
                                       int stage,
                                       boolean completed,
                                       boolean rejected,
                                       OrderByComparator orderByComparator)
                                throws NoSuchReviewException,
                                       SystemException
Specified by:
findByP_S_C_R_First in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

findByP_S_C_R_Last

public TasksReview findByP_S_C_R_Last(long proposalId,
                                      int stage,
                                      boolean completed,
                                      boolean rejected,
                                      OrderByComparator orderByComparator)
                               throws NoSuchReviewException,
                                      SystemException
Specified by:
findByP_S_C_R_Last in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

findByP_S_C_R_PrevAndNext

public TasksReview[] findByP_S_C_R_PrevAndNext(long reviewId,
                                               long proposalId,
                                               int stage,
                                               boolean completed,
                                               boolean rejected,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchReviewException,
                                               SystemException
Specified by:
findByP_S_C_R_PrevAndNext in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

getByP_S_C_R_PrevAndNext

protected TasksReview getByP_S_C_R_PrevAndNext(Session session,
                                               TasksReview tasksReview,
                                               long proposalId,
                                               int stage,
                                               boolean completed,
                                               boolean rejected,
                                               OrderByComparator orderByComparator,
                                               boolean previous)

findAll

public List<TasksReview> findAll()
                          throws SystemException
Specified by:
findAll in interface TasksReviewPersistence
Throws:
SystemException

findAll

public List<TasksReview> findAll(int start,
                                 int end)
                          throws SystemException
Specified by:
findAll in interface TasksReviewPersistence
Throws:
SystemException

findAll

public List<TasksReview> findAll(int start,
                                 int end,
                                 OrderByComparator orderByComparator)
                          throws SystemException
Specified by:
findAll in interface TasksReviewPersistence
Throws:
SystemException

removeByUserId

public void removeByUserId(long userId)
                    throws SystemException
Specified by:
removeByUserId in interface TasksReviewPersistence
Throws:
SystemException

removeByProposalId

public void removeByProposalId(long proposalId)
                        throws SystemException
Specified by:
removeByProposalId in interface TasksReviewPersistence
Throws:
SystemException

removeByU_P

public void removeByU_P(long userId,
                        long proposalId)
                 throws NoSuchReviewException,
                        SystemException
Specified by:
removeByU_P in interface TasksReviewPersistence
Throws:
NoSuchReviewException
SystemException

removeByP_S

public void removeByP_S(long proposalId,
                        int stage)
                 throws SystemException
Specified by:
removeByP_S in interface TasksReviewPersistence
Throws:
SystemException

removeByP_S_C

public void removeByP_S_C(long proposalId,
                          int stage,
                          boolean completed)
                   throws SystemException
Specified by:
removeByP_S_C in interface TasksReviewPersistence
Throws:
SystemException

removeByP_S_C_R

public void removeByP_S_C_R(long proposalId,
                            int stage,
                            boolean completed,
                            boolean rejected)
                     throws SystemException
Specified by:
removeByP_S_C_R in interface TasksReviewPersistence
Throws:
SystemException

removeAll

public void removeAll()
               throws SystemException
Specified by:
removeAll in interface TasksReviewPersistence
Throws:
SystemException

countByUserId

public int countByUserId(long userId)
                  throws SystemException
Specified by:
countByUserId in interface TasksReviewPersistence
Throws:
SystemException

countByProposalId

public int countByProposalId(long proposalId)
                      throws SystemException
Specified by:
countByProposalId in interface TasksReviewPersistence
Throws:
SystemException

countByU_P

public int countByU_P(long userId,
                      long proposalId)
               throws SystemException
Specified by:
countByU_P in interface TasksReviewPersistence
Throws:
SystemException

countByP_S

public int countByP_S(long proposalId,
                      int stage)
               throws SystemException
Specified by:
countByP_S in interface TasksReviewPersistence
Throws:
SystemException

countByP_S_C

public int countByP_S_C(long proposalId,
                        int stage,
                        boolean completed)
                 throws SystemException
Specified by:
countByP_S_C in interface TasksReviewPersistence
Throws:
SystemException

countByP_S_C_R

public int countByP_S_C_R(long proposalId,
                          int stage,
                          boolean completed,
                          boolean rejected)
                   throws SystemException
Specified by:
countByP_S_C_R in interface TasksReviewPersistence
Throws:
SystemException

countAll

public int countAll()
             throws SystemException
Specified by:
countAll in interface TasksReviewPersistence
Throws:
SystemException

afterPropertiesSet

public void afterPropertiesSet()

Liferay 6.0.3