1
22
23 package com.liferay.portlet.tasks.service;
24
25
26
50 public interface TasksReviewLocalService {
51 public com.liferay.portlet.tasks.model.TasksReview addTasksReview(
52 com.liferay.portlet.tasks.model.TasksReview tasksReview)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portlet.tasks.model.TasksReview createTasksReview(
56 long reviewId);
57
58 public void deleteTasksReview(long reviewId)
59 throws com.liferay.portal.SystemException,
60 com.liferay.portal.PortalException;
61
62 public void deleteTasksReview(
63 com.liferay.portlet.tasks.model.TasksReview tasksReview)
64 throws com.liferay.portal.SystemException;
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.tasks.model.TasksReview getTasksReview(
75 long reviewId)
76 throws com.liferay.portal.SystemException,
77 com.liferay.portal.PortalException;
78
79 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> getTasksReviews(
80 int start, int end) throws com.liferay.portal.SystemException;
81
82 public int getTasksReviewsCount() throws com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.tasks.model.TasksReview updateTasksReview(
85 com.liferay.portlet.tasks.model.TasksReview tasksReview)
86 throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.tasks.model.TasksReview addReview(long userId,
89 long proposalId, long assignedByUserId, int stage)
90 throws com.liferay.portal.PortalException,
91 com.liferay.portal.SystemException;
92
93 public com.liferay.portlet.tasks.model.TasksReview approveReview(
94 long userId, long proposalId, int stage)
95 throws com.liferay.portal.PortalException,
96 com.liferay.portal.SystemException;
97
98 public void deleteReview(long reviewId)
99 throws com.liferay.portal.PortalException,
100 com.liferay.portal.SystemException;
101
102 public void deleteReview(com.liferay.portlet.tasks.model.TasksReview review)
103 throws com.liferay.portal.SystemException;
104
105 public void deleteReviews(long proposalId)
106 throws com.liferay.portal.SystemException;
107
108 public com.liferay.portlet.tasks.model.TasksReview getReview(long reviewId)
109 throws com.liferay.portal.PortalException,
110 com.liferay.portal.SystemException;
111
112 public com.liferay.portlet.tasks.model.TasksReview getReview(long userId,
113 long proposalId)
114 throws com.liferay.portal.PortalException,
115 com.liferay.portal.SystemException;
116
117 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> getReviews(
118 long proposalId) throws com.liferay.portal.SystemException;
119
120 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> getReviews(
121 long proposalId, int stage) throws com.liferay.portal.SystemException;
122
123 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> getReviews(
124 long proposalId, int stage, boolean completed)
125 throws com.liferay.portal.SystemException;
126
127 public java.util.List<com.liferay.portlet.tasks.model.TasksReview> getReviews(
128 long proposalId, int stage, boolean completed, boolean rejected)
129 throws com.liferay.portal.SystemException;
130
131 public com.liferay.portlet.tasks.model.TasksReview rejectReview(
132 long userId, long proposalId, int stage)
133 throws com.liferay.portal.PortalException,
134 com.liferay.portal.SystemException;
135
136 public void updateReviews(long proposalId, long assignedByUserId,
137 long[][] userIdsPerStage)
138 throws com.liferay.portal.PortalException,
139 com.liferay.portal.SystemException;
140 }