com.liferay.portlet.tasks.service.persistence
Class TasksProposalUtil
java.lang.Object
com.liferay.portlet.tasks.service.persistence.TasksProposalUtil
public class TasksProposalUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByC_C(long classNameId,
java.lang.String classPK)
|
static int |
countByG_U(long groupId,
long userId)
|
static int |
countByGroupId(long groupId)
|
static TasksProposal |
create(long proposalId)
|
static TasksProposal |
fetchByC_C(long classNameId,
java.lang.String classPK)
|
static TasksProposal |
fetchByPrimaryKey(long proposalId)
|
static java.util.List<TasksProposal> |
findAll()
|
static java.util.List<TasksProposal> |
findAll(int start,
int end)
|
static java.util.List<TasksProposal> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksProposal |
findByC_C(long classNameId,
java.lang.String classPK)
|
static TasksProposal |
findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksProposal |
findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksProposal[] |
findByG_U_PrevAndNext(long proposalId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<TasksProposal> |
findByG_U(long groupId,
long userId)
|
static java.util.List<TasksProposal> |
findByG_U(long groupId,
long userId,
int start,
int end)
|
static java.util.List<TasksProposal> |
findByG_U(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksProposal |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksProposal |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksProposal[] |
findByGroupId_PrevAndNext(long proposalId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<TasksProposal> |
findByGroupId(long groupId)
|
static java.util.List<TasksProposal> |
findByGroupId(long groupId,
int start,
int end)
|
static java.util.List<TasksProposal> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TasksProposal |
findByPrimaryKey(long proposalId)
|
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 TasksProposalPersistence |
getPersistence()
|
static TasksProposal |
remove(long proposalId)
|
static TasksProposal |
remove(TasksProposal tasksProposal)
|
static void |
removeAll()
|
static void |
removeByC_C(long classNameId,
java.lang.String classPK)
|
static void |
removeByG_U(long groupId,
long userId)
|
static void |
removeByGroupId(long groupId)
|
void |
setPersistence(TasksProposalPersistence persistence)
|
static TasksProposal |
update(TasksProposal tasksProposal)
Deprecated. Use update(TasksProposal tasksProposal, boolean merge) . |
static TasksProposal |
update(TasksProposal tasksProposal,
boolean merge)
Add, update, or merge, the entity. |
static TasksProposal |
updateImpl(TasksProposal tasksProposal,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TasksProposalUtil
public TasksProposalUtil()
create
public static TasksProposal create(long proposalId)
remove
public static TasksProposal remove(long proposalId)
throws com.liferay.portal.SystemException,
NoSuchProposalException
- Throws:
com.liferay.portal.SystemException
NoSuchProposalException
remove
public static TasksProposal remove(TasksProposal tasksProposal)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static TasksProposal update(TasksProposal tasksProposal)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(TasksProposal tasksProposal, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
public static 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
public static TasksProposal updateImpl(TasksProposal tasksProposal,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static TasksProposal findByPrimaryKey(long proposalId)
throws com.liferay.portal.SystemException,
NoSuchProposalException
- Throws:
com.liferay.portal.SystemException
NoSuchProposalException
fetchByPrimaryKey
public static TasksProposal fetchByPrimaryKey(long proposalId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List<TasksProposal> findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List<TasksProposal> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static 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
public static 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
public static 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
public static 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
public static java.util.List<TasksProposal> findByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
public static 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
public static 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
public static 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
public static 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
public static 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
public static TasksProposal findByC_C(long classNameId,
java.lang.String classPK)
throws com.liferay.portal.SystemException,
NoSuchProposalException
- Throws:
com.liferay.portal.SystemException
NoSuchProposalException
fetchByC_C
public static TasksProposal fetchByC_C(long classNameId,
java.lang.String classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static 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
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.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<TasksProposal> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<TasksProposal> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static 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
public static void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_U
public static void removeByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_C
public static void removeByC_C(long classNameId,
java.lang.String classPK)
throws com.liferay.portal.SystemException,
NoSuchProposalException
- Throws:
com.liferay.portal.SystemException
NoSuchProposalException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
public static int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_U
public static int countByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C
public static int countByC_C(long classNameId,
java.lang.String classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static TasksProposalPersistence getPersistence()
setPersistence
public void setPersistence(TasksProposalPersistence persistence)