com.liferay.portlet.tasks.service.persistence
Interface TasksReviewPersistence
- All Superinterfaces:
- BasePersistence
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface TasksReviewPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
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)
|
TasksReview |
create(long reviewId)
|
TasksReview |
fetchByPrimaryKey(long reviewId)
|
TasksReview |
fetchByU_P(long userId,
long proposalId)
|
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)
|
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TasksReview> findByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TasksReview> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByUserId
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TasksReview> findByProposalId(long proposalId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProposalId
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TasksReview> findByProposalId(long proposalId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByProposalId
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
findByP_S
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TasksReview> findByP_S(long proposalId,
int stage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByP_S
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TasksReview> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TasksReview> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByUserId(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByProposalId
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByProposalId(long proposalId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByU_P
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByU_P(long userId,
long proposalId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByP_S
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByP_S(long proposalId,
int stage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByP_S_C
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByP_S_C(long proposalId,
int stage,
boolean completed)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByP_S_C_R
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
@Transactional(propagation=SUPPORTS,
readOnly=true)
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException