com.liferay.portlet.tasks.service.persistence
Class TasksReviewPersistenceImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
com.liferay.portal.service.persistence.BasePersistence
com.liferay.portlet.tasks.service.persistence.TasksReviewPersistenceImpl
- All Implemented Interfaces:
- com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence, org.springframework.beans.factory.InitializingBean
public class TasksReviewPersistenceImpl
- extends BasePersistence
- implements com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Method Summary |
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)
|
com.liferay.portlet.tasks.model.TasksReview |
create(long reviewId)
|
com.liferay.portlet.tasks.model.TasksReview |
fetchByPrimaryKey(long reviewId)
|
com.liferay.portlet.tasks.model.TasksReview |
fetchByU_P(long userId,
long proposalId)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findAll()
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findAll(int begin,
int end)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview |
findByP_S_C_First(long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview |
findByP_S_C_Last(long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview[] |
findByP_S_C_PrevAndNext(long reviewId,
long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview |
findByP_S_C_R_First(long proposalId,
int stage,
boolean completed,
boolean rejected,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview |
findByP_S_C_R_Last(long proposalId,
int stage,
boolean completed,
boolean rejected,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview[] |
findByP_S_C_R_PrevAndNext(long reviewId,
long proposalId,
int stage,
boolean completed,
boolean rejected,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected,
int begin,
int end)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByP_S_C(long proposalId,
int stage,
boolean completed)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByP_S_C(long proposalId,
int stage,
boolean completed,
int begin,
int end)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByP_S_C(long proposalId,
int stage,
boolean completed,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview |
findByP_S_First(long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview |
findByP_S_Last(long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview[] |
findByP_S_PrevAndNext(long reviewId,
long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByP_S(long proposalId,
int stage)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByP_S(long proposalId,
int stage,
int begin,
int end)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByP_S(long proposalId,
int stage,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview |
findByPrimaryKey(long reviewId)
|
com.liferay.portlet.tasks.model.TasksReview |
findByProposalId_First(long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview |
findByProposalId_Last(long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview[] |
findByProposalId_PrevAndNext(long reviewId,
long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByProposalId(long proposalId)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByProposalId(long proposalId,
int begin,
int end)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByProposalId(long proposalId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview |
findByU_P(long userId,
long proposalId)
|
com.liferay.portlet.tasks.model.TasksReview |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
com.liferay.portlet.tasks.model.TasksReview[] |
findByUserId_PrevAndNext(long reviewId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByUserId(long userId)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByUserId(long userId,
int begin,
int end)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findByUserId(long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List<com.liferay.portlet.tasks.model.TasksReview> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
protected void |
initDao()
|
com.liferay.portlet.tasks.model.TasksReview |
remove(long reviewId)
|
com.liferay.portlet.tasks.model.TasksReview |
remove(com.liferay.portlet.tasks.model.TasksReview tasksReview)
|
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 com.liferay.portlet.tasks.model.TasksReview |
removeImpl(com.liferay.portlet.tasks.model.TasksReview tasksReview)
|
com.liferay.portlet.tasks.model.TasksReview |
update(com.liferay.portlet.tasks.model.TasksReview tasksReview)
Deprecated. Use update(TasksReview tasksReview, boolean merge) . |
com.liferay.portlet.tasks.model.TasksReview |
update(com.liferay.portlet.tasks.model.TasksReview tasksReview,
boolean merge)
Add, update, or merge, the entity. |
com.liferay.portlet.tasks.model.TasksReview |
updateImpl(com.liferay.portlet.tasks.model.TasksReview tasksReview,
boolean merge)
|
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TasksReviewPersistenceImpl
public TasksReviewPersistenceImpl()
create
public com.liferay.portlet.tasks.model.TasksReview create(long reviewId)
- Specified by:
create
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
remove
public com.liferay.portlet.tasks.model.TasksReview remove(long reviewId)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
remove
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
remove
public com.liferay.portlet.tasks.model.TasksReview remove(com.liferay.portlet.tasks.model.TasksReview tasksReview)
throws com.liferay.portal.SystemException
- Specified by:
remove
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
removeImpl
protected com.liferay.portlet.tasks.model.TasksReview removeImpl(com.liferay.portlet.tasks.model.TasksReview tasksReview)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.tasks.model.TasksReview update(com.liferay.portlet.tasks.model.TasksReview tasksReview)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(TasksReview tasksReview, boolean merge)
.
- Specified by:
update
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
update
public com.liferay.portlet.tasks.model.TasksReview update(com.liferay.portlet.tasks.model.TasksReview tasksReview,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Specified by:
update
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Parameters:
tasksReview
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when tasksReview is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
public com.liferay.portlet.tasks.model.TasksReview updateImpl(com.liferay.portlet.tasks.model.TasksReview tasksReview,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
updateImpl
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public com.liferay.portlet.tasks.model.TasksReview findByPrimaryKey(long reviewId)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByPrimaryKey
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
fetchByPrimaryKey
public com.liferay.portlet.tasks.model.TasksReview fetchByPrimaryKey(long reviewId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByPrimaryKey
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByUserId
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByUserId(long userId)
throws com.liferay.portal.SystemException
- Specified by:
findByUserId
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByUserId
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByUserId(long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByUserId
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByUserId
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByUserId(long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByUserId
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByUserId_First
public com.liferay.portlet.tasks.model.TasksReview findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByUserId_First
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findByUserId_Last
public com.liferay.portlet.tasks.model.TasksReview findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByUserId_Last
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findByUserId_PrevAndNext
public com.liferay.portlet.tasks.model.TasksReview[] findByUserId_PrevAndNext(long reviewId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByUserId_PrevAndNext
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findByProposalId
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByProposalId(long proposalId)
throws com.liferay.portal.SystemException
- Specified by:
findByProposalId
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByProposalId
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByProposalId(long proposalId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByProposalId
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByProposalId
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByProposalId(long proposalId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByProposalId
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByProposalId_First
public com.liferay.portlet.tasks.model.TasksReview findByProposalId_First(long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByProposalId_First
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findByProposalId_Last
public com.liferay.portlet.tasks.model.TasksReview findByProposalId_Last(long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByProposalId_Last
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findByProposalId_PrevAndNext
public com.liferay.portlet.tasks.model.TasksReview[] findByProposalId_PrevAndNext(long reviewId,
long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByProposalId_PrevAndNext
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findByU_P
public com.liferay.portlet.tasks.model.TasksReview findByU_P(long userId,
long proposalId)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByU_P
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
fetchByU_P
public com.liferay.portlet.tasks.model.TasksReview fetchByU_P(long userId,
long proposalId)
throws com.liferay.portal.SystemException
- Specified by:
fetchByU_P
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByP_S
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S(long proposalId,
int stage)
throws com.liferay.portal.SystemException
- Specified by:
findByP_S
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByP_S
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S(long proposalId,
int stage,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByP_S
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByP_S
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S(long proposalId,
int stage,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByP_S
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByP_S_First
public com.liferay.portlet.tasks.model.TasksReview findByP_S_First(long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByP_S_First
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findByP_S_Last
public com.liferay.portlet.tasks.model.TasksReview findByP_S_Last(long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByP_S_Last
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findByP_S_PrevAndNext
public com.liferay.portlet.tasks.model.TasksReview[] findByP_S_PrevAndNext(long reviewId,
long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByP_S_PrevAndNext
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findByP_S_C
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C(long proposalId,
int stage,
boolean completed)
throws com.liferay.portal.SystemException
- Specified by:
findByP_S_C
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByP_S_C
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C(long proposalId,
int stage,
boolean completed,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByP_S_C
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByP_S_C
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C(long proposalId,
int stage,
boolean completed,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByP_S_C
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByP_S_C_First
public com.liferay.portlet.tasks.model.TasksReview findByP_S_C_First(long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByP_S_C_First
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findByP_S_C_Last
public com.liferay.portlet.tasks.model.TasksReview findByP_S_C_Last(long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByP_S_C_Last
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findByP_S_C_PrevAndNext
public com.liferay.portlet.tasks.model.TasksReview[] findByP_S_C_PrevAndNext(long reviewId,
long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByP_S_C_PrevAndNext
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findByP_S_C_R
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
throws com.liferay.portal.SystemException
- Specified by:
findByP_S_C_R
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByP_S_C_R
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findByP_S_C_R
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByP_S_C_R
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findByP_S_C_R
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findByP_S_C_R_First
public com.liferay.portlet.tasks.model.TasksReview findByP_S_C_R_First(long proposalId,
int stage,
boolean completed,
boolean rejected,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByP_S_C_R_First
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findByP_S_C_R_Last
public com.liferay.portlet.tasks.model.TasksReview findByP_S_C_R_Last(long proposalId,
int stage,
boolean completed,
boolean rejected,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByP_S_C_R_Last
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findByP_S_C_R_PrevAndNext
public com.liferay.portlet.tasks.model.TasksReview[] findByP_S_C_R_PrevAndNext(long reviewId,
long proposalId,
int stage,
boolean completed,
boolean rejected,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
findByP_S_C_R_PrevAndNext
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findWithDynamicQuery
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findAll()
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
findAll
public java.util.List<com.liferay.portlet.tasks.model.TasksReview> findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Specified by:
findAll
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
removeByUserId
public void removeByUserId(long userId)
throws com.liferay.portal.SystemException
- Specified by:
removeByUserId
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
removeByProposalId
public void removeByProposalId(long proposalId)
throws com.liferay.portal.SystemException
- Specified by:
removeByProposalId
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
removeByU_P
public void removeByU_P(long userId,
long proposalId)
throws com.liferay.portlet.tasks.NoSuchReviewException,
com.liferay.portal.SystemException
- Specified by:
removeByU_P
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portlet.tasks.NoSuchReviewException
com.liferay.portal.SystemException
removeByP_S
public void removeByP_S(long proposalId,
int stage)
throws com.liferay.portal.SystemException
- Specified by:
removeByP_S
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
removeByP_S_C
public void removeByP_S_C(long proposalId,
int stage,
boolean completed)
throws com.liferay.portal.SystemException
- Specified by:
removeByP_S_C
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
removeByP_S_C_R
public void removeByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
throws com.liferay.portal.SystemException
- Specified by:
removeByP_S_C_R
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.SystemException
- Specified by:
removeAll
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
countByUserId
public int countByUserId(long userId)
throws com.liferay.portal.SystemException
- Specified by:
countByUserId
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
countByProposalId
public int countByProposalId(long proposalId)
throws com.liferay.portal.SystemException
- Specified by:
countByProposalId
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
countByU_P
public int countByU_P(long userId,
long proposalId)
throws com.liferay.portal.SystemException
- Specified by:
countByU_P
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
countByP_S
public int countByP_S(long proposalId,
int stage)
throws com.liferay.portal.SystemException
- Specified by:
countByP_S
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
countByP_S_C
public int countByP_S_C(long proposalId,
int stage,
boolean completed)
throws com.liferay.portal.SystemException
- Specified by:
countByP_S_C
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
countByP_S_C_R
public int countByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
throws com.liferay.portal.SystemException
- Specified by:
countByP_S_C_R
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
countAll
public int countAll()
throws com.liferay.portal.SystemException
- Specified by:
countAll
in interface com.liferay.portlet.tasks.service.persistence.TasksReviewPersistence
- Throws:
com.liferay.portal.SystemException
initDao
protected void initDao()
- Overrides:
initDao
in class org.springframework.dao.support.DaoSupport