|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TasksProposalPersistence
The persistence interface for the tasks proposal service.
Never modify this interface directly. Modify service.xml and rerun ServiceBuilder to regnerate this interface.
TasksProposalPersistenceImpl,
TasksProposalUtil| Method Summary | |
|---|---|
void |
cacheResult(List<TasksProposal> tasksProposals)
Caches the tasks proposals in the entity cache if it is enabled. |
void |
cacheResult(TasksProposal tasksProposal)
Caches the tasks proposal in the entity cache if it is enabled. |
int |
countAll()
Counts all the tasks proposals. |
int |
countByC_C(long classNameId,
String classPK)
Counts all the tasks proposals where classNameId = ? and classPK = ?. |
int |
countByG_U(long groupId,
long userId)
Counts all the tasks proposals where groupId = ? and userId = ?. |
int |
countByGroupId(long groupId)
Counts all the tasks proposals where groupId = ?. |
TasksProposal |
create(long proposalId)
Creates a new tasks proposal with the primary key. |
TasksProposal |
fetchByC_C(long classNameId,
String classPK)
Finds the tasks proposal where classNameId = ? and classPK = ? or returns null if it could not be found. |
TasksProposal |
fetchByC_C(long classNameId,
String classPK,
boolean retrieveFromCache)
Finds the tasks proposal where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache. |
TasksProposal |
fetchByPrimaryKey(long proposalId)
Finds the tasks proposal with the primary key or returns null if it could not be found. |
int |
filterCountByG_U(long groupId,
long userId)
Filters by the user's permissions and counts all the tasks proposals where groupId = ? and userId = ?. |
int |
filterCountByGroupId(long groupId)
Filters by the user's permissions and counts all the tasks proposals where groupId = ?. |
List<TasksProposal> |
filterFindByG_U(long groupId,
long userId)
Filters by the user's permissions and finds all the tasks proposals where groupId = ? and userId = ?. |
List<TasksProposal> |
filterFindByG_U(long groupId,
long userId,
int start,
int end)
Filters by the user's permissions and finds a range of all the tasks proposals where groupId = ? and userId = ?. |
List<TasksProposal> |
filterFindByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the tasks proposals where groupId = ? and userId = ?. |
List<TasksProposal> |
filterFindByGroupId(long groupId)
Filters by the user's permissions and finds all the tasks proposals where groupId = ?. |
List<TasksProposal> |
filterFindByGroupId(long groupId,
int start,
int end)
Filters by the user's permissions and finds a range of all the tasks proposals where groupId = ?. |
List<TasksProposal> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Filters by the user's permissions and finds an ordered range of all the tasks proposals where groupId = ?. |
List<TasksProposal> |
findAll()
Finds all the tasks proposals. |
List<TasksProposal> |
findAll(int start,
int end)
Finds a range of all the tasks proposals. |
List<TasksProposal> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks proposals. |
TasksProposal |
findByC_C(long classNameId,
String classPK)
Finds the tasks proposal where classNameId = ? and classPK = ? or throws a NoSuchProposalException if it could not be found. |
TasksProposal |
findByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
Finds the first tasks proposal in the ordered set where groupId = ? and userId = ?. |
TasksProposal |
findByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
Finds the last tasks proposal in the ordered set where groupId = ? and userId = ?. |
TasksProposal[] |
findByG_U_PrevAndNext(long proposalId,
long groupId,
long userId,
OrderByComparator orderByComparator)
Finds the tasks proposals before and after the current tasks proposal in the ordered set where groupId = ? and userId = ?. |
List<TasksProposal> |
findByG_U(long groupId,
long userId)
Finds all the tasks proposals where groupId = ? and userId = ?. |
List<TasksProposal> |
findByG_U(long groupId,
long userId,
int start,
int end)
Finds a range of all the tasks proposals where groupId = ? and userId = ?. |
List<TasksProposal> |
findByG_U(long groupId,
long userId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks proposals where groupId = ? and userId = ?. |
TasksProposal |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Finds the first tasks proposal in the ordered set where groupId = ?. |
TasksProposal |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Finds the last tasks proposal in the ordered set where groupId = ?. |
TasksProposal[] |
findByGroupId_PrevAndNext(long proposalId,
long groupId,
OrderByComparator orderByComparator)
Finds the tasks proposals before and after the current tasks proposal in the ordered set where groupId = ?. |
List<TasksProposal> |
findByGroupId(long groupId)
Finds all the tasks proposals where groupId = ?. |
List<TasksProposal> |
findByGroupId(long groupId,
int start,
int end)
Finds a range of all the tasks proposals where groupId = ?. |
List<TasksProposal> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks proposals where groupId = ?. |
TasksProposal |
findByPrimaryKey(long proposalId)
Finds the tasks proposal with the primary key or throws a NoSuchProposalException if it could not be found. |
TasksProposal |
remove(long proposalId)
Removes the tasks proposal with the primary key from the database. |
void |
removeAll()
Removes all the tasks proposals from the database. |
void |
removeByC_C(long classNameId,
String classPK)
Removes the tasks proposal where classNameId = ? and classPK = ? from the database. |
void |
removeByG_U(long groupId,
long userId)
Removes all the tasks proposals where groupId = ? and userId = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the tasks proposals where groupId = ? from the database. |
TasksProposal |
updateImpl(TasksProposal tasksProposal,
boolean merge)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
| Method Detail |
|---|
void cacheResult(TasksProposal tasksProposal)
tasksProposal - the tasks proposal to cachevoid cacheResult(List<TasksProposal> tasksProposals)
tasksProposals - the tasks proposals to cacheTasksProposal create(long proposalId)
proposalId - the primary key for the new tasks proposal
TasksProposal remove(long proposalId)
throws SystemException,
NoSuchProposalException
proposalId - the primary key of the tasks proposal to remove
NoSuchProposalException - if a tasks proposal with the primary key could not be found
SystemException - if a system exception occurred
TasksProposal updateImpl(TasksProposal tasksProposal,
boolean merge)
throws SystemException
SystemException
TasksProposal findByPrimaryKey(long proposalId)
throws SystemException,
NoSuchProposalException
NoSuchProposalException if it could not be found.
proposalId - the primary key of the tasks proposal to find
NoSuchProposalException - if a tasks proposal with the primary key could not be found
SystemException - if a system exception occurred
TasksProposal fetchByPrimaryKey(long proposalId)
throws SystemException
null if it could not be found.
proposalId - the primary key of the tasks proposal to find
null if a tasks proposal with the primary key could not be found
SystemException - if a system exception occurred
List<TasksProposal> findByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
List<TasksProposal> findByGroupId(long groupId,
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.
groupId - the group id to search withstart - the lower bound of the range of tasks proposals to returnend - the upper bound of the range of tasks proposals to return (not inclusive)
SystemException - if a system exception occurred
List<TasksProposal> findByGroupId(long groupId,
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.
groupId - the group id to search withstart - the lower bound of the range of tasks proposals to returnend - the upper bound of the range of tasks proposals to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
TasksProposal findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchProposalException
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.
groupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchProposalException - if a matching tasks proposal could not be found
SystemException - if a system exception occurred
TasksProposal findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchProposalException
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.
groupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchProposalException - if a matching tasks proposal could not be found
SystemException - if a system exception occurred
TasksProposal[] findByGroupId_PrevAndNext(long proposalId,
long groupId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchProposalException
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.
proposalId - the primary key of the current tasks proposalgroupId - the group id to search withorderByComparator - the comparator to order the set by
NoSuchProposalException - if a tasks proposal with the primary key could not be found
SystemException - if a system exception occurred
List<TasksProposal> filterFindByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
List<TasksProposal> filterFindByGroupId(long groupId,
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.
groupId - the group id to search withstart - the lower bound of the range of tasks proposals to returnend - the upper bound of the range of tasks proposals to return (not inclusive)
SystemException - if a system exception occurred
List<TasksProposal> filterFindByGroupId(long groupId,
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.
groupId - the group id to search withstart - the lower bound of the range of tasks proposals to returnend - the upper bound of the range of tasks proposals to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
List<TasksProposal> findByG_U(long groupId,
long userId)
throws SystemException
groupId - the group id to search withuserId - the user id to search with
SystemException - if a system exception occurred
List<TasksProposal> findByG_U(long groupId,
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.
groupId - the group id to search withuserId - the user id to search withstart - the lower bound of the range of tasks proposals to returnend - the upper bound of the range of tasks proposals to return (not inclusive)
SystemException - if a system exception occurred
List<TasksProposal> findByG_U(long groupId,
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.
groupId - the group id to search withuserId - the user id to search withstart - the lower bound of the range of tasks proposals to returnend - the upper bound of the range of tasks proposals to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
TasksProposal findByG_U_First(long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchProposalException
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.
groupId - the group id to search withuserId - the user id to search withorderByComparator - the comparator to order the set by
NoSuchProposalException - if a matching tasks proposal could not be found
SystemException - if a system exception occurred
TasksProposal findByG_U_Last(long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchProposalException
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.
groupId - the group id to search withuserId - the user id to search withorderByComparator - the comparator to order the set by
NoSuchProposalException - if a matching tasks proposal could not be found
SystemException - if a system exception occurred
TasksProposal[] findByG_U_PrevAndNext(long proposalId,
long groupId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchProposalException
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.
proposalId - the primary key of the current tasks proposalgroupId - the group id to search withuserId - the user id to search withorderByComparator - the comparator to order the set by
NoSuchProposalException - if a tasks proposal with the primary key could not be found
SystemException - if a system exception occurred
List<TasksProposal> filterFindByG_U(long groupId,
long userId)
throws SystemException
groupId - the group id to search withuserId - the user id to search with
SystemException - if a system exception occurred
List<TasksProposal> filterFindByG_U(long groupId,
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.
groupId - the group id to search withuserId - the user id to search withstart - the lower bound of the range of tasks proposals to returnend - the upper bound of the range of tasks proposals to return (not inclusive)
SystemException - if a system exception occurred
List<TasksProposal> filterFindByG_U(long groupId,
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.
groupId - the group id to search withuserId - the user id to search withstart - the lower bound of the range of tasks proposals to returnend - the upper bound of the range of tasks proposals to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
TasksProposal findByC_C(long classNameId,
String classPK)
throws SystemException,
NoSuchProposalException
NoSuchProposalException if it could not be found.
classNameId - the class name id to search withclassPK - the class p k to search with
NoSuchProposalException - if a matching tasks proposal could not be found
SystemException - if a system exception occurred
TasksProposal fetchByC_C(long classNameId,
String classPK)
throws SystemException
null if it could not be found. Uses the finder cache.
classNameId - the class name id to search withclassPK - the class p k to search with
null if a matching tasks proposal could not be found
SystemException - if a system exception occurred
TasksProposal fetchByC_C(long classNameId,
String classPK,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
classNameId - the class name id to search withclassPK - the class p k to search with
null if a matching tasks proposal could not be found
SystemException - if a system exception occurred
List<TasksProposal> findAll()
throws SystemException
SystemException - if a system exception occurred
List<TasksProposal> 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.
start - the lower bound of the range of tasks proposals to returnend - the upper bound of the range of tasks proposals to return (not inclusive)
SystemException - if a system exception occurred
List<TasksProposal> 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.
start - the lower bound of the range of tasks proposals to returnend - the upper bound of the range of tasks proposals to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
void removeByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
void removeByG_U(long groupId,
long userId)
throws SystemException
groupId - the group id to search withuserId - the user id to search with
SystemException - if a system exception occurred
void removeByC_C(long classNameId,
String classPK)
throws SystemException,
NoSuchProposalException
classNameId - the class name id to search withclassPK - the class p k to search with
SystemException - if a system exception occurred
NoSuchProposalException
void removeAll()
throws SystemException
SystemException - if a system exception occurred
int countByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
int filterCountByGroupId(long groupId)
throws SystemException
groupId - the group id to search with
SystemException - if a system exception occurred
int countByG_U(long groupId,
long userId)
throws SystemException
groupId - the group id to search withuserId - the user id to search with
SystemException - if a system exception occurred
int filterCountByG_U(long groupId,
long userId)
throws SystemException
groupId - the group id to search withuserId - the user id to search with
SystemException - if a system exception occurred
int countByC_C(long classNameId,
String classPK)
throws SystemException
classNameId - the class name id to search withclassPK - the class p k to search with
SystemException - if a system exception occurred
int countAll()
throws SystemException
SystemException - if a system exception occurred
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||