com.liferay.portlet.tasks.service
Class TasksReviewLocalServiceUtil
java.lang.Object
com.liferay.portlet.tasks.service.TasksReviewLocalServiceUtil
public class TasksReviewLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
TasksReviewLocalService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
TasksReviewLocalService
Method Summary |
static TasksReview |
addReview(long userId,
long proposalId,
long assignedByUserId,
int stage)
|
static TasksReview |
addTasksReview(TasksReview tasksReview)
|
static TasksReview |
approveReview(long userId,
long proposalId,
int stage)
|
static TasksReview |
createTasksReview(long reviewId)
|
static void |
deleteReview(long reviewId)
|
static void |
deleteReview(TasksReview review)
|
static void |
deleteReviews(long proposalId)
|
static void |
deleteTasksReview(long reviewId)
|
static void |
deleteTasksReview(TasksReview tasksReview)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static TasksReview |
getReview(long reviewId)
|
static TasksReview |
getReview(long userId,
long proposalId)
|
static java.util.List<TasksReview> |
getReviews(long proposalId)
|
static java.util.List<TasksReview> |
getReviews(long proposalId,
int stage)
|
static java.util.List<TasksReview> |
getReviews(long proposalId,
int stage,
boolean completed)
|
static java.util.List<TasksReview> |
getReviews(long proposalId,
int stage,
boolean completed,
boolean rejected)
|
static TasksReviewLocalService |
getService()
|
static TasksReview |
getTasksReview(long reviewId)
|
static java.util.List<TasksReview> |
getTasksReviews(int start,
int end)
|
static int |
getTasksReviewsCount()
|
static TasksReview |
rejectReview(long userId,
long proposalId,
int stage)
|
void |
setService(TasksReviewLocalService service)
|
static void |
updateReviews(long proposalId,
long assignedByUserId,
long[][] userIdsPerStage)
|
static TasksReview |
updateTasksReview(TasksReview tasksReview)
|
static TasksReview |
updateTasksReview(TasksReview tasksReview,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TasksReviewLocalServiceUtil
public TasksReviewLocalServiceUtil()
addTasksReview
public static TasksReview addTasksReview(TasksReview tasksReview)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createTasksReview
public static TasksReview createTasksReview(long reviewId)
deleteTasksReview
public static void deleteTasksReview(long reviewId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteTasksReview
public static void deleteTasksReview(TasksReview tasksReview)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTasksReview
public static TasksReview getTasksReview(long reviewId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getTasksReviews
public static java.util.List<TasksReview> getTasksReviews(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTasksReviewsCount
public static int getTasksReviewsCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateTasksReview
public static TasksReview updateTasksReview(TasksReview tasksReview)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateTasksReview
public static TasksReview updateTasksReview(TasksReview tasksReview,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addReview
public static TasksReview addReview(long userId,
long proposalId,
long assignedByUserId,
int stage)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
approveReview
public static TasksReview approveReview(long userId,
long proposalId,
int stage)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteReview
public static void deleteReview(long reviewId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteReview
public static void deleteReview(TasksReview review)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteReviews
public static void deleteReviews(long proposalId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getReview
public static TasksReview getReview(long reviewId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getReview
public static TasksReview getReview(long userId,
long proposalId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getReviews
public static java.util.List<TasksReview> getReviews(long proposalId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getReviews
public static java.util.List<TasksReview> getReviews(long proposalId,
int stage)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getReviews
public static java.util.List<TasksReview> getReviews(long proposalId,
int stage,
boolean completed)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getReviews
public static java.util.List<TasksReview> getReviews(long proposalId,
int stage,
boolean completed,
boolean rejected)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
rejectReview
public static TasksReview rejectReview(long userId,
long proposalId,
int stage)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateReviews
public static void updateReviews(long proposalId,
long assignedByUserId,
long[][] userIdsPerStage)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getService
public static TasksReviewLocalService getService()
setService
public void setService(TasksReviewLocalService service)