com.liferay.portlet.tasks.service.persistence
Interface TasksProposalPersistence
- All Superinterfaces:
- BasePersistence
public interface TasksProposalPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
cacheResult(java.util.List<TasksProposal> tasksProposals)
|
void |
cacheResult(TasksProposal tasksProposal)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByC_C(long classNameId,
java.lang.String classPK)
|
int |
countByG_U(long groupId,
long userId)
|
int |
countByGroupId(long groupId)
|
TasksProposal |
create(long proposalId)
|
TasksProposal |
fetchByC_C(long classNameId,
java.lang.String classPK)
|
TasksProposal |
fetchByC_C(long classNameId,
java.lang.String classPK,
boolean retrieveFromCache)
|
TasksProposal |
fetchByPrimaryKey(long proposalId)
|
java.util.List<TasksProposal> |
findAll()
|
java.util.List<TasksProposal> |
findAll(int start,
int end)
|
java.util.List<TasksProposal> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksProposal |
findByC_C(long classNameId,
java.lang.String classPK)
|
TasksProposal |
findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksProposal |
findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksProposal[] |
findByG_U_PrevAndNext(long proposalId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<TasksProposal> |
findByG_U(long groupId,
long userId)
|
java.util.List<TasksProposal> |
findByG_U(long groupId,
long userId,
int start,
int end)
|
java.util.List<TasksProposal> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksProposal |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksProposal |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksProposal[] |
findByGroupId_PrevAndNext(long proposalId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<TasksProposal> |
findByGroupId(long groupId)
|
java.util.List<TasksProposal> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<TasksProposal> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TasksProposal |
findByPrimaryKey(long proposalId)
|
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)
|
TasksProposal |
remove(long proposalId)
|
TasksProposal |
remove(TasksProposal tasksProposal)
|
void |
removeAll()
|
void |
removeByC_C(long classNameId,
java.lang.String classPK)
|
void |
removeByG_U(long groupId,
long userId)
|
void |
removeByGroupId(long groupId)
|
TasksProposal |
update(TasksProposal tasksProposal)
Deprecated. Use update(TasksProposal tasksProposal, boolean merge) . |
TasksProposal |
update(TasksProposal tasksProposal,
boolean merge)
Add, update, or merge, the entity. |
TasksProposal |
updateImpl(TasksProposal tasksProposal,
boolean merge)
|
cacheResult
void cacheResult(TasksProposal tasksProposal)
cacheResult
void cacheResult(java.util.List<TasksProposal> tasksProposals)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
TasksProposal create(long proposalId)
remove
TasksProposal remove(long proposalId)
throws com.liferay.portal.SystemException,
NoSuchProposalException
- Throws:
com.liferay.portal.SystemException
NoSuchProposalException
remove
TasksProposal remove(TasksProposal tasksProposal)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
TasksProposal update(TasksProposal tasksProposal)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(TasksProposal tasksProposal, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
TasksProposal update(TasksProposal tasksProposal,
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:
tasksProposal
- 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 tasksProposal 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
TasksProposal updateImpl(TasksProposal tasksProposal,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
TasksProposal findByPrimaryKey(long proposalId)
throws com.liferay.portal.SystemException,
NoSuchProposalException
- Throws:
com.liferay.portal.SystemException
NoSuchProposalException
fetchByPrimaryKey
TasksProposal fetchByPrimaryKey(long proposalId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<TasksProposal> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<TasksProposal> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
java.util.List<TasksProposal> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
TasksProposal findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProposalException
- Throws:
com.liferay.portal.SystemException
NoSuchProposalException
findByGroupId_Last
TasksProposal findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProposalException
- Throws:
com.liferay.portal.SystemException
NoSuchProposalException
findByGroupId_PrevAndNext
TasksProposal[] findByGroupId_PrevAndNext(long proposalId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProposalException
- Throws:
com.liferay.portal.SystemException
NoSuchProposalException
findByG_U
java.util.List<TasksProposal> findByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
java.util.List<TasksProposal> findByG_U(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
java.util.List<TasksProposal> findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U_First
TasksProposal findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProposalException
- Throws:
com.liferay.portal.SystemException
NoSuchProposalException
findByG_U_Last
TasksProposal findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProposalException
- Throws:
com.liferay.portal.SystemException
NoSuchProposalException
findByG_U_PrevAndNext
TasksProposal[] findByG_U_PrevAndNext(long proposalId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchProposalException
- Throws:
com.liferay.portal.SystemException
NoSuchProposalException
findByC_C
TasksProposal findByC_C(long classNameId,
java.lang.String classPK)
throws com.liferay.portal.SystemException,
NoSuchProposalException
- Throws:
com.liferay.portal.SystemException
NoSuchProposalException
fetchByC_C
TasksProposal fetchByC_C(long classNameId,
java.lang.String classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_C
TasksProposal fetchByC_C(long classNameId,
java.lang.String classPK,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<TasksProposal> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<TasksProposal> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<TasksProposal> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByGroupId
void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_U
void removeByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_C
void removeByC_C(long classNameId,
java.lang.String classPK)
throws com.liferay.portal.SystemException,
NoSuchProposalException
- Throws:
com.liferay.portal.SystemException
NoSuchProposalException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_U
int countByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C
int countByC_C(long classNameId,
java.lang.String classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException