|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.persistence.impl.BasePersistenceImpl<TasksReview> com.liferay.portlet.tasks.service.persistence.TasksReviewPersistenceImpl
public class TasksReviewPersistenceImpl
The persistence implementation for the tasks review service.
Never modify or reference this class directly. Always use TasksReviewUtil
to access the tasks review persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this class.
Caching information and settings can be found in portal.properties
TasksReviewPersistence
,
TasksReviewUtil
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()
Initializes the tasks review persistence. |
void |
cacheResult(List<TasksReview> tasksReviews)
Caches the tasks reviews in the entity cache if it is enabled. |
void |
cacheResult(TasksReview tasksReview)
Caches the tasks review in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all tasks reviews. |
void |
clearCache(TasksReview tasksReview)
Clears the cache for the tasks review. |
int |
countAll()
Counts all the tasks reviews. |
int |
countByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
Counts all the tasks reviews where proposalId = ? and stage = ? and completed = ? and rejected = ?. |
int |
countByP_S_C(long proposalId,
int stage,
boolean completed)
Counts all the tasks reviews where proposalId = ? and stage = ? and completed = ?. |
int |
countByP_S(long proposalId,
int stage)
Counts all the tasks reviews where proposalId = ? and stage = ?. |
int |
countByProposalId(long proposalId)
Counts all the tasks reviews where proposalId = ?. |
int |
countByU_P(long userId,
long proposalId)
Counts all the tasks reviews where userId = ? and proposalId = ?. |
int |
countByUserId(long userId)
Counts all the tasks reviews where userId = ?. |
TasksReview |
create(long reviewId)
Creates a new tasks review with the primary key. |
TasksReview |
fetchByPrimaryKey(long reviewId)
Finds the tasks review with the primary key or returns null if it could not be found. |
TasksReview |
fetchByPrimaryKey(Serializable primaryKey)
Finds the tasks review with the primary key or returns null if it could not be found. |
TasksReview |
fetchByU_P(long userId,
long proposalId)
Finds the tasks review where userId = ? and proposalId = ? or returns null if it could not be found. |
TasksReview |
fetchByU_P(long userId,
long proposalId,
boolean retrieveFromCache)
Finds the tasks review where userId = ? and proposalId = ? or returns null if it could not be found, optionally using the finder cache. |
List<TasksReview> |
findAll()
Finds all the tasks reviews. |
List<TasksReview> |
findAll(int start,
int end)
Finds a range of all the tasks reviews. |
List<TasksReview> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks reviews. |
TasksReview |
findByP_S_C_First(long proposalId,
int stage,
boolean completed,
OrderByComparator orderByComparator)
Finds the first tasks review in the ordered set where proposalId = ? and stage = ? and completed = ?. |
TasksReview |
findByP_S_C_Last(long proposalId,
int stage,
boolean completed,
OrderByComparator orderByComparator)
Finds the last tasks review in the ordered set where proposalId = ? and stage = ? and completed = ?. |
TasksReview[] |
findByP_S_C_PrevAndNext(long reviewId,
long proposalId,
int stage,
boolean completed,
OrderByComparator orderByComparator)
Finds the tasks reviews before and after the current tasks review in the ordered set where proposalId = ? and stage = ? and completed = ?. |
TasksReview |
findByP_S_C_R_First(long proposalId,
int stage,
boolean completed,
boolean rejected,
OrderByComparator orderByComparator)
Finds the first tasks review in the ordered set where proposalId = ? and stage = ? and completed = ? and rejected = ?. |
TasksReview |
findByP_S_C_R_Last(long proposalId,
int stage,
boolean completed,
boolean rejected,
OrderByComparator orderByComparator)
Finds the last tasks review in the ordered set where proposalId = ? and stage = ? and completed = ? and rejected = ?. |
TasksReview[] |
findByP_S_C_R_PrevAndNext(long reviewId,
long proposalId,
int stage,
boolean completed,
boolean rejected,
OrderByComparator orderByComparator)
Finds the tasks reviews before and after the current tasks review in the ordered set where proposalId = ? and stage = ? and completed = ? and rejected = ?. |
List<TasksReview> |
findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
Finds all the tasks reviews where proposalId = ? and stage = ? and completed = ? and rejected = ?. |
List<TasksReview> |
findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected,
int start,
int end)
Finds a range of all the tasks reviews where proposalId = ? and stage = ? and completed = ? and rejected = ?. |
List<TasksReview> |
findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks reviews where proposalId = ? and stage = ? and completed = ? and rejected = ?. |
List<TasksReview> |
findByP_S_C(long proposalId,
int stage,
boolean completed)
Finds all the tasks reviews where proposalId = ? and stage = ? and completed = ?. |
List<TasksReview> |
findByP_S_C(long proposalId,
int stage,
boolean completed,
int start,
int end)
Finds a range of all the tasks reviews where proposalId = ? and stage = ? and completed = ?. |
List<TasksReview> |
findByP_S_C(long proposalId,
int stage,
boolean completed,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks reviews where proposalId = ? and stage = ? and completed = ?. |
TasksReview |
findByP_S_First(long proposalId,
int stage,
OrderByComparator orderByComparator)
Finds the first tasks review in the ordered set where proposalId = ? and stage = ?. |
TasksReview |
findByP_S_Last(long proposalId,
int stage,
OrderByComparator orderByComparator)
Finds the last tasks review in the ordered set where proposalId = ? and stage = ?. |
TasksReview[] |
findByP_S_PrevAndNext(long reviewId,
long proposalId,
int stage,
OrderByComparator orderByComparator)
Finds the tasks reviews before and after the current tasks review in the ordered set where proposalId = ? and stage = ?. |
List<TasksReview> |
findByP_S(long proposalId,
int stage)
Finds all the tasks reviews where proposalId = ? and stage = ?. |
List<TasksReview> |
findByP_S(long proposalId,
int stage,
int start,
int end)
Finds a range of all the tasks reviews where proposalId = ? and stage = ?. |
List<TasksReview> |
findByP_S(long proposalId,
int stage,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks reviews where proposalId = ? and stage = ?. |
TasksReview |
findByPrimaryKey(long reviewId)
Finds the tasks review with the primary key or throws a NoSuchReviewException if it could not be found. |
TasksReview |
findByPrimaryKey(Serializable primaryKey)
Finds the tasks review with the primary key or throws a NoSuchModelException if it could not be found. |
TasksReview |
findByProposalId_First(long proposalId,
OrderByComparator orderByComparator)
Finds the first tasks review in the ordered set where proposalId = ?. |
TasksReview |
findByProposalId_Last(long proposalId,
OrderByComparator orderByComparator)
Finds the last tasks review in the ordered set where proposalId = ?. |
TasksReview[] |
findByProposalId_PrevAndNext(long reviewId,
long proposalId,
OrderByComparator orderByComparator)
Finds the tasks reviews before and after the current tasks review in the ordered set where proposalId = ?. |
List<TasksReview> |
findByProposalId(long proposalId)
Finds all the tasks reviews where proposalId = ?. |
List<TasksReview> |
findByProposalId(long proposalId,
int start,
int end)
Finds a range of all the tasks reviews where proposalId = ?. |
List<TasksReview> |
findByProposalId(long proposalId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks reviews where proposalId = ?. |
TasksReview |
findByU_P(long userId,
long proposalId)
Finds the tasks review where userId = ? and proposalId = ? or throws a NoSuchReviewException if it could not be found. |
TasksReview |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
Finds the first tasks review in the ordered set where userId = ?. |
TasksReview |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
Finds the last tasks review in the ordered set where userId = ?. |
TasksReview[] |
findByUserId_PrevAndNext(long reviewId,
long userId,
OrderByComparator orderByComparator)
Finds the tasks reviews before and after the current tasks review in the ordered set where userId = ?. |
List<TasksReview> |
findByUserId(long userId)
Finds all the tasks reviews where userId = ?. |
List<TasksReview> |
findByUserId(long userId,
int start,
int end)
Finds a range of all the tasks reviews where userId = ?. |
List<TasksReview> |
findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks reviews where userId = ?. |
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)
Removes the tasks review with the primary key from the database. |
TasksReview |
remove(Serializable primaryKey)
Removes the tasks review with the primary key from the database. |
void |
removeAll()
Removes all the tasks reviews from the database. |
void |
removeByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
Removes all the tasks reviews where proposalId = ? and stage = ? and completed = ? and rejected = ? from the database. |
void |
removeByP_S_C(long proposalId,
int stage,
boolean completed)
Removes all the tasks reviews where proposalId = ? and stage = ? and completed = ? from the database. |
void |
removeByP_S(long proposalId,
int stage)
Removes all the tasks reviews where proposalId = ? and stage = ? from the database. |
void |
removeByProposalId(long proposalId)
Removes all the tasks reviews where proposalId = ? from the database. |
void |
removeByU_P(long userId,
long proposalId)
Removes the tasks review where userId = ? and proposalId = ? from the database. |
void |
removeByUserId(long userId)
Removes all the tasks reviews where userId = ? from the database. |
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 |
---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_USERID
public static final FinderPath FINDER_PATH_COUNT_BY_USERID
public static final FinderPath FINDER_PATH_FIND_BY_PROPOSALID
public static final FinderPath FINDER_PATH_COUNT_BY_PROPOSALID
public static final FinderPath FINDER_PATH_FETCH_BY_U_P
public static final FinderPath FINDER_PATH_COUNT_BY_U_P
public static final FinderPath FINDER_PATH_FIND_BY_P_S
public static final FinderPath FINDER_PATH_COUNT_BY_P_S
public static final FinderPath FINDER_PATH_FIND_BY_P_S_C
public static final FinderPath FINDER_PATH_COUNT_BY_P_S_C
public static final FinderPath FINDER_PATH_FIND_BY_P_S_C_R
public static final FinderPath FINDER_PATH_COUNT_BY_P_S_C_R
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=TasksProposalPersistence.class) protected TasksProposalPersistence tasksProposalPersistence
@BeanReference(type=TasksReviewPersistence.class) protected TasksReviewPersistence tasksReviewPersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=SocialActivityPersistence.class) protected SocialActivityPersistence socialActivityPersistence
Constructor Detail |
---|
public TasksReviewPersistenceImpl()
Method Detail |
---|
public void cacheResult(TasksReview tasksReview)
cacheResult
in interface TasksReviewPersistence
tasksReview
- the tasks review to cachepublic void cacheResult(List<TasksReview> tasksReviews)
cacheResult
in interface TasksReviewPersistence
tasksReviews
- the tasks reviews to cachepublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<TasksReview>
clearCache
in class BasePersistenceImpl<TasksReview>
public void clearCache(TasksReview tasksReview)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface BasePersistence<TasksReview>
clearCache
in class BasePersistenceImpl<TasksReview>
tasksReview
- the instance of this model to clear the cache forpublic TasksReview create(long reviewId)
create
in interface TasksReviewPersistence
reviewId
- the primary key for the new tasks review
public TasksReview remove(Serializable primaryKey) throws NoSuchModelException, SystemException
remove
in interface BasePersistence<TasksReview>
remove
in class BasePersistenceImpl<TasksReview>
primaryKey
- the primary key of the tasks review to remove
NoSuchModelException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredpublic TasksReview remove(long reviewId) throws NoSuchReviewException, SystemException
remove
in interface TasksReviewPersistence
reviewId
- the primary key of the tasks review to remove
NoSuchReviewException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredprotected TasksReview removeImpl(TasksReview tasksReview) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.update(BaseModel,
boolean)
depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl
in class BasePersistenceImpl<TasksReview>
tasksReview
- the model instance to remove
SystemException
- if a system exception occurredpublic TasksReview updateImpl(TasksReview tasksReview, boolean merge) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface TasksReviewPersistence
updateImpl
in class BasePersistenceImpl<TasksReview>
tasksReview
- the model instance to updatemerge
- 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.
SystemException
- if a system exception occurredprotected TasksReview toUnwrappedModel(TasksReview tasksReview)
public TasksReview findByPrimaryKey(Serializable primaryKey) throws NoSuchModelException, SystemException
NoSuchModelException
if it could not be found.
findByPrimaryKey
in interface BasePersistence<TasksReview>
findByPrimaryKey
in class BasePersistenceImpl<TasksReview>
primaryKey
- the primary key of the tasks review to find
NoSuchModelException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredpublic TasksReview findByPrimaryKey(long reviewId) throws NoSuchReviewException, SystemException
NoSuchReviewException
if it could not be found.
findByPrimaryKey
in interface TasksReviewPersistence
reviewId
- the primary key of the tasks review to find
NoSuchReviewException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredpublic TasksReview fetchByPrimaryKey(Serializable primaryKey) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface BasePersistence<TasksReview>
fetchByPrimaryKey
in class BasePersistenceImpl<TasksReview>
primaryKey
- the primary key of the tasks review to find
null
if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredpublic TasksReview fetchByPrimaryKey(long reviewId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface TasksReviewPersistence
reviewId
- the primary key of the tasks review to find
null
if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredpublic List<TasksReview> findByUserId(long userId) throws SystemException
findByUserId
in interface TasksReviewPersistence
userId
- the user id to search with
SystemException
- if a system exception occurredpublic List<TasksReview> findByUserId(long userId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUserId
in interface TasksReviewPersistence
userId
- the user id to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)
SystemException
- if a system exception occurredpublic List<TasksReview> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUserId
in interface TasksReviewPersistence
userId
- the user id to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic TasksReview findByUserId_First(long userId, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUserId_First
in interface TasksReviewPersistence
userId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredpublic TasksReview findByUserId_Last(long userId, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUserId_Last
in interface TasksReviewPersistence
userId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredpublic TasksReview[] findByUserId_PrevAndNext(long reviewId, long userId, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByUserId_PrevAndNext
in interface TasksReviewPersistence
reviewId
- the primary key of the current tasks reviewuserId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredprotected TasksReview getByUserId_PrevAndNext(Session session, TasksReview tasksReview, long userId, OrderByComparator orderByComparator, boolean previous)
public List<TasksReview> findByProposalId(long proposalId) throws SystemException
findByProposalId
in interface TasksReviewPersistence
proposalId
- the proposal id to search with
SystemException
- if a system exception occurredpublic List<TasksReview> findByProposalId(long proposalId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByProposalId
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)
SystemException
- if a system exception occurredpublic List<TasksReview> findByProposalId(long proposalId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByProposalId
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic TasksReview findByProposalId_First(long proposalId, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByProposalId_First
in interface TasksReviewPersistence
proposalId
- the proposal id to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredpublic TasksReview findByProposalId_Last(long proposalId, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByProposalId_Last
in interface TasksReviewPersistence
proposalId
- the proposal id to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredpublic TasksReview[] findByProposalId_PrevAndNext(long reviewId, long proposalId, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByProposalId_PrevAndNext
in interface TasksReviewPersistence
reviewId
- the primary key of the current tasks reviewproposalId
- the proposal id to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredprotected TasksReview getByProposalId_PrevAndNext(Session session, TasksReview tasksReview, long proposalId, OrderByComparator orderByComparator, boolean previous)
public TasksReview findByU_P(long userId, long proposalId) throws NoSuchReviewException, SystemException
NoSuchReviewException
if it could not be found.
findByU_P
in interface TasksReviewPersistence
userId
- the user id to search withproposalId
- the proposal id to search with
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredpublic TasksReview fetchByU_P(long userId, long proposalId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByU_P
in interface TasksReviewPersistence
userId
- the user id to search withproposalId
- the proposal id to search with
null
if a matching tasks review could not be found
SystemException
- if a system exception occurredpublic TasksReview fetchByU_P(long userId, long proposalId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
fetchByU_P
in interface TasksReviewPersistence
userId
- the user id to search withproposalId
- the proposal id to search with
null
if a matching tasks review could not be found
SystemException
- if a system exception occurredpublic List<TasksReview> findByP_S(long proposalId, int stage) throws SystemException
findByP_S
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search with
SystemException
- if a system exception occurredpublic List<TasksReview> findByP_S(long proposalId, int stage, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)
SystemException
- if a system exception occurredpublic List<TasksReview> findByP_S(long proposalId, int stage, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic TasksReview findByP_S_First(long proposalId, int stage, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S_First
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredpublic TasksReview findByP_S_Last(long proposalId, int stage, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S_Last
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredpublic TasksReview[] findByP_S_PrevAndNext(long reviewId, long proposalId, int stage, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S_PrevAndNext
in interface TasksReviewPersistence
reviewId
- the primary key of the current tasks reviewproposalId
- the proposal id to search withstage
- the stage to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredprotected TasksReview getByP_S_PrevAndNext(Session session, TasksReview tasksReview, long proposalId, int stage, OrderByComparator orderByComparator, boolean previous)
public List<TasksReview> findByP_S_C(long proposalId, int stage, boolean completed) throws SystemException
findByP_S_C
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search with
SystemException
- if a system exception occurredpublic List<TasksReview> findByP_S_C(long proposalId, int stage, boolean completed, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S_C
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)
SystemException
- if a system exception occurredpublic List<TasksReview> findByP_S_C(long proposalId, int stage, boolean completed, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S_C
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic TasksReview findByP_S_C_First(long proposalId, int stage, boolean completed, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S_C_First
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredpublic TasksReview findByP_S_C_Last(long proposalId, int stage, boolean completed, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S_C_Last
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredpublic TasksReview[] findByP_S_C_PrevAndNext(long reviewId, long proposalId, int stage, boolean completed, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S_C_PrevAndNext
in interface TasksReviewPersistence
reviewId
- the primary key of the current tasks reviewproposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredprotected TasksReview getByP_S_C_PrevAndNext(Session session, TasksReview tasksReview, long proposalId, int stage, boolean completed, OrderByComparator orderByComparator, boolean previous)
public List<TasksReview> findByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected) throws SystemException
findByP_S_C_R
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search with
SystemException
- if a system exception occurredpublic List<TasksReview> findByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S_C_R
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)
SystemException
- if a system exception occurredpublic List<TasksReview> findByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S_C_R
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic TasksReview findByP_S_C_R_First(long proposalId, int stage, boolean completed, boolean rejected, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S_C_R_First
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredpublic TasksReview findByP_S_C_R_Last(long proposalId, int stage, boolean completed, boolean rejected, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S_C_R_Last
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredpublic TasksReview[] findByP_S_C_R_PrevAndNext(long reviewId, long proposalId, int stage, boolean completed, boolean rejected, OrderByComparator orderByComparator) throws NoSuchReviewException, SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findByP_S_C_R_PrevAndNext
in interface TasksReviewPersistence
reviewId
- the primary key of the current tasks reviewproposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredprotected TasksReview getByP_S_C_R_PrevAndNext(Session session, TasksReview tasksReview, long proposalId, int stage, boolean completed, boolean rejected, OrderByComparator orderByComparator, boolean previous)
public List<TasksReview> findAll() throws SystemException
findAll
in interface TasksReviewPersistence
SystemException
- if a system exception occurredpublic List<TasksReview> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findAll
in interface TasksReviewPersistence
start
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)
SystemException
- if a system exception occurredpublic List<TasksReview> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set.
findAll
in interface TasksReviewPersistence
start
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic void removeByUserId(long userId) throws SystemException
removeByUserId
in interface TasksReviewPersistence
userId
- the user id to search with
SystemException
- if a system exception occurredpublic void removeByProposalId(long proposalId) throws SystemException
removeByProposalId
in interface TasksReviewPersistence
proposalId
- the proposal id to search with
SystemException
- if a system exception occurredpublic void removeByU_P(long userId, long proposalId) throws NoSuchReviewException, SystemException
removeByU_P
in interface TasksReviewPersistence
userId
- the user id to search withproposalId
- the proposal id to search with
SystemException
- if a system exception occurred
NoSuchReviewException
public void removeByP_S(long proposalId, int stage) throws SystemException
removeByP_S
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search with
SystemException
- if a system exception occurredpublic void removeByP_S_C(long proposalId, int stage, boolean completed) throws SystemException
removeByP_S_C
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search with
SystemException
- if a system exception occurredpublic void removeByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected) throws SystemException
removeByP_S_C_R
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search with
SystemException
- if a system exception occurredpublic void removeAll() throws SystemException
removeAll
in interface TasksReviewPersistence
SystemException
- if a system exception occurredpublic int countByUserId(long userId) throws SystemException
countByUserId
in interface TasksReviewPersistence
userId
- the user id to search with
SystemException
- if a system exception occurredpublic int countByProposalId(long proposalId) throws SystemException
countByProposalId
in interface TasksReviewPersistence
proposalId
- the proposal id to search with
SystemException
- if a system exception occurredpublic int countByU_P(long userId, long proposalId) throws SystemException
countByU_P
in interface TasksReviewPersistence
userId
- the user id to search withproposalId
- the proposal id to search with
SystemException
- if a system exception occurredpublic int countByP_S(long proposalId, int stage) throws SystemException
countByP_S
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search with
SystemException
- if a system exception occurredpublic int countByP_S_C(long proposalId, int stage, boolean completed) throws SystemException
countByP_S_C
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search with
SystemException
- if a system exception occurredpublic int countByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected) throws SystemException
countByP_S_C_R
in interface TasksReviewPersistence
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search with
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface TasksReviewPersistence
SystemException
- if a system exception occurredpublic void afterPropertiesSet()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |