1
22
23 package com.liferay.portlet.tasks.service;
24
25
26
47 public class TasksProposalLocalServiceUtil {
48 public static com.liferay.portlet.tasks.model.TasksProposal addTasksProposal(
49 com.liferay.portlet.tasks.model.TasksProposal tasksProposal)
50 throws com.liferay.portal.SystemException {
51 return _service.addTasksProposal(tasksProposal);
52 }
53
54 public static void deleteTasksProposal(long proposalId)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException {
57 _service.deleteTasksProposal(proposalId);
58 }
59
60 public static void deleteTasksProposal(
61 com.liferay.portlet.tasks.model.TasksProposal tasksProposal)
62 throws com.liferay.portal.SystemException {
63 _service.deleteTasksProposal(tasksProposal);
64 }
65
66 public static java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException {
69 return _service.dynamicQuery(dynamicQuery);
70 }
71
72 public static java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end) throws com.liferay.portal.SystemException {
75 return _service.dynamicQuery(dynamicQuery, start, end);
76 }
77
78 public static com.liferay.portlet.tasks.model.TasksProposal getTasksProposal(
79 long proposalId)
80 throws com.liferay.portal.PortalException,
81 com.liferay.portal.SystemException {
82 return _service.getTasksProposal(proposalId);
83 }
84
85 public static java.util.List<com.liferay.portlet.tasks.model.TasksProposal> getTasksProposals(
86 int start, int end) throws com.liferay.portal.SystemException {
87 return _service.getTasksProposals(start, end);
88 }
89
90 public static int getTasksProposalsCount()
91 throws com.liferay.portal.SystemException {
92 return _service.getTasksProposalsCount();
93 }
94
95 public static com.liferay.portlet.tasks.model.TasksProposal updateTasksProposal(
96 com.liferay.portlet.tasks.model.TasksProposal tasksProposal)
97 throws com.liferay.portal.SystemException {
98 return _service.updateTasksProposal(tasksProposal);
99 }
100
101 public static com.liferay.portlet.tasks.model.TasksProposal addProposal(
102 long userId, long groupId, java.lang.String className,
103 java.lang.String classPK, java.lang.String name,
104 java.lang.String description, long reviewUserId,
105 boolean addCommunityPermissions, boolean addGuestPermissions)
106 throws com.liferay.portal.PortalException,
107 com.liferay.portal.SystemException {
108 return _service.addProposal(userId, groupId, className, classPK, name,
109 description, reviewUserId, addCommunityPermissions,
110 addGuestPermissions);
111 }
112
113 public static com.liferay.portlet.tasks.model.TasksProposal addProposal(
114 long userId, long groupId, java.lang.String className,
115 java.lang.String classPK, java.lang.String name,
116 java.lang.String description, long reviewUserId,
117 java.lang.String[] communityPermissions,
118 java.lang.String[] guestPermissions)
119 throws com.liferay.portal.PortalException,
120 com.liferay.portal.SystemException {
121 return _service.addProposal(userId, groupId, className, classPK, name,
122 description, reviewUserId, communityPermissions, guestPermissions);
123 }
124
125 public static com.liferay.portlet.tasks.model.TasksProposal addProposal(
126 long userId, long groupId, java.lang.String className,
127 java.lang.String classPK, java.lang.String name,
128 java.lang.String description, long reviewUserId,
129 java.lang.Boolean addCommunityPermissions,
130 java.lang.Boolean addGuestPermissions,
131 java.lang.String[] communityPermissions,
132 java.lang.String[] guestPermissions)
133 throws com.liferay.portal.PortalException,
134 com.liferay.portal.SystemException {
135 return _service.addProposal(userId, groupId, className, classPK, name,
136 description, reviewUserId, addCommunityPermissions,
137 addGuestPermissions, communityPermissions, guestPermissions);
138 }
139
140 public static void addProposalResources(long proposalId,
141 boolean addCommunityPermissions, boolean addGuestPermissions)
142 throws com.liferay.portal.PortalException,
143 com.liferay.portal.SystemException {
144 _service.addProposalResources(proposalId, addCommunityPermissions,
145 addGuestPermissions);
146 }
147
148 public static void addProposalResources(
149 com.liferay.portlet.tasks.model.TasksProposal proposal,
150 boolean addCommunityPermissions, boolean addGuestPermissions)
151 throws com.liferay.portal.PortalException,
152 com.liferay.portal.SystemException {
153 _service.addProposalResources(proposal, addCommunityPermissions,
154 addGuestPermissions);
155 }
156
157 public static void addProposalResources(long proposalId,
158 java.lang.String[] communityPermissions,
159 java.lang.String[] guestPermissions)
160 throws com.liferay.portal.PortalException,
161 com.liferay.portal.SystemException {
162 _service.addProposalResources(proposalId, communityPermissions,
163 guestPermissions);
164 }
165
166 public static void addProposalResources(
167 com.liferay.portlet.tasks.model.TasksProposal proposal,
168 java.lang.String[] communityPermissions,
169 java.lang.String[] guestPermissions)
170 throws com.liferay.portal.PortalException,
171 com.liferay.portal.SystemException {
172 _service.addProposalResources(proposal, communityPermissions,
173 guestPermissions);
174 }
175
176 public static void deleteProposal(java.lang.String className,
177 java.lang.String classPK)
178 throws com.liferay.portal.PortalException,
179 com.liferay.portal.SystemException {
180 _service.deleteProposal(className, classPK);
181 }
182
183 public static void deleteProposal(long classNameId, java.lang.String classPK)
184 throws com.liferay.portal.PortalException,
185 com.liferay.portal.SystemException {
186 _service.deleteProposal(classNameId, classPK);
187 }
188
189 public static void deleteProposal(long proposalId)
190 throws com.liferay.portal.PortalException,
191 com.liferay.portal.SystemException {
192 _service.deleteProposal(proposalId);
193 }
194
195 public static void deleteProposal(
196 com.liferay.portlet.tasks.model.TasksProposal proposal)
197 throws com.liferay.portal.PortalException,
198 com.liferay.portal.SystemException {
199 _service.deleteProposal(proposal);
200 }
201
202 public static void deleteProposals(long groupId)
203 throws com.liferay.portal.SystemException {
204 _service.deleteProposals(groupId);
205 }
206
207 public static com.liferay.portlet.tasks.model.TasksProposal getProposal(
208 long proposalId)
209 throws com.liferay.portal.PortalException,
210 com.liferay.portal.SystemException {
211 return _service.getProposal(proposalId);
212 }
213
214 public static com.liferay.portlet.tasks.model.TasksProposal getProposal(
215 java.lang.String className, java.lang.String classPK)
216 throws com.liferay.portal.PortalException,
217 com.liferay.portal.SystemException {
218 return _service.getProposal(className, classPK);
219 }
220
221 public static com.liferay.portlet.tasks.model.TasksProposal getProposal(
222 long classNameId, java.lang.String classPK)
223 throws com.liferay.portal.PortalException,
224 com.liferay.portal.SystemException {
225 return _service.getProposal(classNameId, classPK);
226 }
227
228 public static java.util.List<com.liferay.portlet.tasks.model.TasksProposal> getProposals(
229 long groupId, int start, int end)
230 throws com.liferay.portal.SystemException {
231 return _service.getProposals(groupId, start, end);
232 }
233
234 public static int getProposalsCount(long groupId)
235 throws com.liferay.portal.SystemException {
236 return _service.getProposalsCount(groupId);
237 }
238
239 public static java.util.List<com.liferay.portlet.tasks.model.TasksProposal> getReviewProposals(
240 long groupId, long userId, int start, int end)
241 throws com.liferay.portal.SystemException {
242 return _service.getReviewProposals(groupId, userId, start, end);
243 }
244
245 public static int getReviewProposalsCount(long groupId, long userId)
246 throws com.liferay.portal.SystemException {
247 return _service.getReviewProposalsCount(groupId, userId);
248 }
249
250 public static java.util.List<com.liferay.portlet.tasks.model.TasksProposal> getUserProposals(
251 long groupId, long userId, int start, int end)
252 throws com.liferay.portal.SystemException {
253 return _service.getUserProposals(groupId, userId, start, end);
254 }
255
256 public static int getUserProposalsCount(long groupId, long userId)
257 throws com.liferay.portal.SystemException {
258 return _service.getUserProposalsCount(groupId, userId);
259 }
260
261 public static com.liferay.portlet.tasks.model.TasksProposal updateProposal(
262 long userId, long proposalId, java.lang.String description,
263 int dueDateMonth, int dueDateDay, int dueDateYear, int dueDateHour,
264 int dueDateMinute)
265 throws com.liferay.portal.PortalException,
266 com.liferay.portal.SystemException {
267 return _service.updateProposal(userId, proposalId, description,
268 dueDateMonth, dueDateDay, dueDateYear, dueDateHour, dueDateMinute);
269 }
270
271 public static TasksProposalLocalService getService() {
272 return _service;
273 }
274
275 public void setService(TasksProposalLocalService service) {
276 _service = service;
277 }
278
279 private static TasksProposalLocalService _service;
280 }