com.liferay.portlet.tasks.service.persistence
Interface TasksReviewPersistence
- All Superinterfaces:
- BasePersistence
public interface TasksReviewPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
cacheResult(java.util.List<TasksReview> tasksReviews)
|
void |
cacheResult(TasksReview tasksReview)
|
void |
clearCache()
|
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 obc)
|
TasksReview |
findByP_S_C_First(long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksReview |
findByP_S_C_Last(long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksReview[] |
findByP_S_C_PrevAndNext(long reviewId,
long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksReview |
findByP_S_C_R_First(long proposalId,
int stage,
boolean completed,
boolean rejected,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksReview |
findByP_S_C_R_Last(long proposalId,
int stage,
boolean completed,
boolean rejected,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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<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 obc)
|
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 obc)
|
TasksReview |
findByP_S_First(long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksReview |
findByP_S_Last(long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksReview[] |
findByP_S_PrevAndNext(long reviewId,
long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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 obc)
|
TasksReview |
findByPrimaryKey(long reviewId)
|
TasksReview |
findByProposalId_First(long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksReview |
findByProposalId_Last(long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksReview[] |
findByProposalId_PrevAndNext(long reviewId,
long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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 obc)
|
TasksReview |
findByU_P(long userId,
long proposalId)
|
TasksReview |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksReview |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksReview[] |
findByUserId_PrevAndNext(long reviewId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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 obc)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
TasksReview |
remove(long reviewId)
|
TasksReview |
remove(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)
|
TasksReview |
update(TasksReview tasksReview)
Deprecated. Use update(TasksReview tasksReview, boolean merge) . |
TasksReview |
update(TasksReview tasksReview,
boolean merge)
Add, update, or merge, the entity. |
TasksReview |
updateImpl(TasksReview tasksReview,
boolean merge)
|
cacheResult
void cacheResult(TasksReview tasksReview)
cacheResult
void cacheResult(java.util.List<TasksReview> tasksReviews)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
TasksReview create(long reviewId)
remove
TasksReview remove(long reviewId)
throws com.liferay.portal.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.SystemException
NoSuchReviewException
remove
TasksReview remove(TasksReview tasksReview)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
TasksReview update(TasksReview tasksReview)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(TasksReview tasksReview, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
TasksReview update(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.
- 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
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 obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId_First
TasksReview findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
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 obc)
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 obc)
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 obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProposalId_First
TasksReview findByProposalId_First(long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
throws com.liferay.portal.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.SystemException
NoSuchReviewException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
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 obc)
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