com.liferay.portlet.tasks.service.persistence
Class TasksReviewUtil
java.lang.Object
com.liferay.portlet.tasks.service.persistence.TasksReviewUtil
public class TasksReviewUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
TasksReviewPersistence
,
TasksReviewPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<TasksReview> tasksReviews)
|
static void |
cacheResult(TasksReview tasksReview)
|
static void |
clearCache()
|
static int |
countAll()
|
static int |
countByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
|
static int |
countByP_S_C(long proposalId,
int stage,
boolean completed)
|
static int |
countByP_S(long proposalId,
int stage)
|
static int |
countByProposalId(long proposalId)
|
static int |
countByU_P(long userId,
long proposalId)
|
static int |
countByUserId(long userId)
|
static TasksReview |
create(long reviewId)
|
static TasksReview |
fetchByPrimaryKey(long reviewId)
|
static TasksReview |
fetchByU_P(long userId,
long proposalId)
|
static TasksReview |
fetchByU_P(long userId,
long proposalId,
boolean retrieveFromCache)
|
static java.util.List<TasksReview> |
findAll()
|
static java.util.List<TasksReview> |
findAll(int start,
int end)
|
static java.util.List<TasksReview> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview |
findByP_S_C_First(long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview |
findByP_S_C_Last(long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview[] |
findByP_S_C_PrevAndNext(long reviewId,
long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview |
findByP_S_C_R_First(long proposalId,
int stage,
boolean completed,
boolean rejected,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview |
findByP_S_C_R_Last(long proposalId,
int stage,
boolean completed,
boolean rejected,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview[] |
findByP_S_C_R_PrevAndNext(long reviewId,
long proposalId,
int stage,
boolean completed,
boolean rejected,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<TasksReview> |
findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
|
static java.util.List<TasksReview> |
findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected,
int start,
int end)
|
static 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)
|
static java.util.List<TasksReview> |
findByP_S_C(long proposalId,
int stage,
boolean completed)
|
static java.util.List<TasksReview> |
findByP_S_C(long proposalId,
int stage,
boolean completed,
int start,
int end)
|
static java.util.List<TasksReview> |
findByP_S_C(long proposalId,
int stage,
boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview |
findByP_S_First(long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview |
findByP_S_Last(long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview[] |
findByP_S_PrevAndNext(long reviewId,
long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<TasksReview> |
findByP_S(long proposalId,
int stage)
|
static java.util.List<TasksReview> |
findByP_S(long proposalId,
int stage,
int start,
int end)
|
static java.util.List<TasksReview> |
findByP_S(long proposalId,
int stage,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview |
findByPrimaryKey(long reviewId)
|
static TasksReview |
findByProposalId_First(long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview |
findByProposalId_Last(long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview[] |
findByProposalId_PrevAndNext(long reviewId,
long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<TasksReview> |
findByProposalId(long proposalId)
|
static java.util.List<TasksReview> |
findByProposalId(long proposalId,
int start,
int end)
|
static java.util.List<TasksReview> |
findByProposalId(long proposalId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview |
findByU_P(long userId,
long proposalId)
|
static TasksReview |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksReview[] |
findByUserId_PrevAndNext(long reviewId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<TasksReview> |
findByUserId(long userId)
|
static java.util.List<TasksReview> |
findByUserId(long userId,
int start,
int end)
|
static java.util.List<TasksReview> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static TasksReviewPersistence |
getPersistence()
|
static TasksReview |
remove(long reviewId)
|
static TasksReview |
remove(TasksReview tasksReview)
|
static void |
removeAll()
|
static void |
removeByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
|
static void |
removeByP_S_C(long proposalId,
int stage,
boolean completed)
|
static void |
removeByP_S(long proposalId,
int stage)
|
static void |
removeByProposalId(long proposalId)
|
static void |
removeByU_P(long userId,
long proposalId)
|
static void |
removeByUserId(long userId)
|
void |
setPersistence(TasksReviewPersistence persistence)
|
static TasksReview |
update(TasksReview tasksReview,
boolean merge)
|
static TasksReview |
updateImpl(TasksReview tasksReview,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TasksReviewUtil
public TasksReviewUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static TasksReview remove(TasksReview tasksReview)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static TasksReview update(TasksReview tasksReview,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(TasksReview tasksReview)
cacheResult
public static void cacheResult(java.util.List<TasksReview> tasksReviews)
create
public static TasksReview create(long reviewId)
remove
public static TasksReview remove(long reviewId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
updateImpl
public static TasksReview updateImpl(TasksReview tasksReview,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public static TasksReview findByPrimaryKey(long reviewId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
fetchByPrimaryKey
public static TasksReview fetchByPrimaryKey(long reviewId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
public static java.util.List<TasksReview> findByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
public static java.util.List<TasksReview> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
public static java.util.List<TasksReview> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId_First
public static TasksReview findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findByUserId_Last
public static TasksReview findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findByUserId_PrevAndNext
public static TasksReview[] findByUserId_PrevAndNext(long reviewId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findByProposalId
public static java.util.List<TasksReview> findByProposalId(long proposalId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByProposalId
public static java.util.List<TasksReview> findByProposalId(long proposalId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByProposalId
public static java.util.List<TasksReview> findByProposalId(long proposalId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByProposalId_First
public static TasksReview findByProposalId_First(long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findByProposalId_Last
public static TasksReview findByProposalId_Last(long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findByProposalId_PrevAndNext
public static TasksReview[] findByProposalId_PrevAndNext(long reviewId,
long proposalId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findByU_P
public static TasksReview findByU_P(long userId,
long proposalId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
fetchByU_P
public static TasksReview fetchByU_P(long userId,
long proposalId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByU_P
public static TasksReview fetchByU_P(long userId,
long proposalId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByP_S
public static java.util.List<TasksReview> findByP_S(long proposalId,
int stage)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByP_S
public static java.util.List<TasksReview> findByP_S(long proposalId,
int stage,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByP_S
public static 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.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByP_S_First
public static TasksReview findByP_S_First(long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findByP_S_Last
public static TasksReview findByP_S_Last(long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findByP_S_PrevAndNext
public static TasksReview[] findByP_S_PrevAndNext(long reviewId,
long proposalId,
int stage,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findByP_S_C
public static java.util.List<TasksReview> findByP_S_C(long proposalId,
int stage,
boolean completed)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByP_S_C
public static java.util.List<TasksReview> findByP_S_C(long proposalId,
int stage,
boolean completed,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByP_S_C
public static 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.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByP_S_C_First
public static TasksReview findByP_S_C_First(long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findByP_S_C_Last
public static TasksReview findByP_S_C_Last(long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findByP_S_C_PrevAndNext
public static TasksReview[] findByP_S_C_PrevAndNext(long reviewId,
long proposalId,
int stage,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findByP_S_C_R
public static java.util.List<TasksReview> findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByP_S_C_R
public static java.util.List<TasksReview> findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByP_S_C_R
public static 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.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByP_S_C_R_First
public static 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.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findByP_S_C_R_Last
public static 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.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findByP_S_C_R_PrevAndNext
public static 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.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
findAll
public static java.util.List<TasksReview> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<TasksReview> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<TasksReview> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByUserId
public static void removeByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByProposalId
public static void removeByProposalId(long proposalId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByU_P
public static void removeByU_P(long userId,
long proposalId)
throws com.liferay.portal.kernel.exception.SystemException,
NoSuchReviewException
- Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchReviewException
removeByP_S
public static void removeByP_S(long proposalId,
int stage)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByP_S_C
public static void removeByP_S_C(long proposalId,
int stage,
boolean completed)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByP_S_C_R
public static void removeByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByUserId
public static int countByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByProposalId
public static int countByProposalId(long proposalId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByU_P
public static int countByU_P(long userId,
long proposalId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByP_S
public static int countByP_S(long proposalId,
int stage)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByP_S_C
public static int countByP_S_C(long proposalId,
int stage,
boolean completed)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByP_S_C_R
public static int countByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
public static int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPersistence
public static TasksReviewPersistence getPersistence()
setPersistence
public void setPersistence(TasksReviewPersistence persistence)