1
14
15 package com.liferay.portlet.polls.service;
16
17
18
34 public class PollsQuestionLocalServiceWrapper
35 implements PollsQuestionLocalService {
36 public PollsQuestionLocalServiceWrapper(
37 PollsQuestionLocalService pollsQuestionLocalService) {
38 _pollsQuestionLocalService = pollsQuestionLocalService;
39 }
40
41 public com.liferay.portlet.polls.model.PollsQuestion addPollsQuestion(
42 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
43 throws com.liferay.portal.SystemException {
44 return _pollsQuestionLocalService.addPollsQuestion(pollsQuestion);
45 }
46
47 public com.liferay.portlet.polls.model.PollsQuestion createPollsQuestion(
48 long questionId) {
49 return _pollsQuestionLocalService.createPollsQuestion(questionId);
50 }
51
52 public void deletePollsQuestion(long questionId)
53 throws com.liferay.portal.PortalException,
54 com.liferay.portal.SystemException {
55 _pollsQuestionLocalService.deletePollsQuestion(questionId);
56 }
57
58 public void deletePollsQuestion(
59 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
60 throws com.liferay.portal.SystemException {
61 _pollsQuestionLocalService.deletePollsQuestion(pollsQuestion);
62 }
63
64 public java.util.List<Object> dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.SystemException {
67 return _pollsQuestionLocalService.dynamicQuery(dynamicQuery);
68 }
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 return _pollsQuestionLocalService.dynamicQuery(dynamicQuery, start, end);
74 }
75
76 public com.liferay.portlet.polls.model.PollsQuestion getPollsQuestion(
77 long questionId)
78 throws com.liferay.portal.PortalException,
79 com.liferay.portal.SystemException {
80 return _pollsQuestionLocalService.getPollsQuestion(questionId);
81 }
82
83 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getPollsQuestions(
84 int start, int end) throws com.liferay.portal.SystemException {
85 return _pollsQuestionLocalService.getPollsQuestions(start, end);
86 }
87
88 public int getPollsQuestionsCount()
89 throws com.liferay.portal.SystemException {
90 return _pollsQuestionLocalService.getPollsQuestionsCount();
91 }
92
93 public com.liferay.portlet.polls.model.PollsQuestion updatePollsQuestion(
94 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
95 throws com.liferay.portal.SystemException {
96 return _pollsQuestionLocalService.updatePollsQuestion(pollsQuestion);
97 }
98
99 public com.liferay.portlet.polls.model.PollsQuestion updatePollsQuestion(
100 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion,
101 boolean merge) throws com.liferay.portal.SystemException {
102 return _pollsQuestionLocalService.updatePollsQuestion(pollsQuestion,
103 merge);
104 }
105
106 public com.liferay.portlet.polls.model.PollsQuestion addQuestion(
107 long userId, long plid, java.lang.String title,
108 java.lang.String description, int expirationDateMonth,
109 int expirationDateDay, int expirationDateYear, int expirationDateHour,
110 int expirationDateMinute, boolean neverExpire,
111 boolean addCommunityPermissions, boolean addGuestPermissions)
112 throws com.liferay.portal.PortalException,
113 com.liferay.portal.SystemException {
114 return _pollsQuestionLocalService.addQuestion(userId, plid, title,
115 description, expirationDateMonth, expirationDateDay,
116 expirationDateYear, expirationDateHour, expirationDateMinute,
117 neverExpire, addCommunityPermissions, addGuestPermissions);
118 }
119
120 public com.liferay.portlet.polls.model.PollsQuestion addQuestion(
121 long userId, long plid, java.lang.String title,
122 java.lang.String description, int expirationDateMonth,
123 int expirationDateDay, int expirationDateYear, int expirationDateHour,
124 int expirationDateMinute, boolean neverExpire,
125 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
126 boolean addCommunityPermissions, boolean addGuestPermissions)
127 throws com.liferay.portal.PortalException,
128 com.liferay.portal.SystemException {
129 return _pollsQuestionLocalService.addQuestion(userId, plid, title,
130 description, expirationDateMonth, expirationDateDay,
131 expirationDateYear, expirationDateHour, expirationDateMinute,
132 neverExpire, choices, addCommunityPermissions, addGuestPermissions);
133 }
134
135 public com.liferay.portlet.polls.model.PollsQuestion addQuestion(
136 long userId, long plid, java.lang.String title,
137 java.lang.String description, int expirationDateMonth,
138 int expirationDateDay, int expirationDateYear, int expirationDateHour,
139 int expirationDateMinute, boolean neverExpire,
140 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
141 java.lang.String[] communityPermissions,
142 java.lang.String[] guestPermissions)
143 throws com.liferay.portal.PortalException,
144 com.liferay.portal.SystemException {
145 return _pollsQuestionLocalService.addQuestion(userId, plid, title,
146 description, expirationDateMonth, expirationDateDay,
147 expirationDateYear, expirationDateHour, expirationDateMinute,
148 neverExpire, choices, communityPermissions, guestPermissions);
149 }
150
151 public com.liferay.portlet.polls.model.PollsQuestion addQuestion(
152 java.lang.String uuid, long userId, long plid, java.lang.String title,
153 java.lang.String description, int expirationDateMonth,
154 int expirationDateDay, int expirationDateYear, int expirationDateHour,
155 int expirationDateMinute, boolean neverExpire,
156 boolean addCommunityPermissions, boolean addGuestPermissions)
157 throws com.liferay.portal.PortalException,
158 com.liferay.portal.SystemException {
159 return _pollsQuestionLocalService.addQuestion(uuid, userId, plid,
160 title, description, expirationDateMonth, expirationDateDay,
161 expirationDateYear, expirationDateHour, expirationDateMinute,
162 neverExpire, addCommunityPermissions, addGuestPermissions);
163 }
164
165 public com.liferay.portlet.polls.model.PollsQuestion addQuestion(
166 java.lang.String uuid, long userId, long plid, java.lang.String title,
167 java.lang.String description, int expirationDateMonth,
168 int expirationDateDay, int expirationDateYear, int expirationDateHour,
169 int expirationDateMinute, boolean neverExpire,
170 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
171 java.lang.Boolean addCommunityPermissions,
172 java.lang.Boolean addGuestPermissions,
173 java.lang.String[] communityPermissions,
174 java.lang.String[] guestPermissions)
175 throws com.liferay.portal.PortalException,
176 com.liferay.portal.SystemException {
177 return _pollsQuestionLocalService.addQuestion(uuid, userId, plid,
178 title, description, expirationDateMonth, expirationDateDay,
179 expirationDateYear, expirationDateHour, expirationDateMinute,
180 neverExpire, choices, addCommunityPermissions, addGuestPermissions,
181 communityPermissions, guestPermissions);
182 }
183
184 public void addQuestionResources(long questionId,
185 boolean addCommunityPermissions, boolean addGuestPermissions)
186 throws com.liferay.portal.PortalException,
187 com.liferay.portal.SystemException {
188 _pollsQuestionLocalService.addQuestionResources(questionId,
189 addCommunityPermissions, addGuestPermissions);
190 }
191
192 public void addQuestionResources(long questionId,
193 java.lang.String[] communityPermissions,
194 java.lang.String[] guestPermissions)
195 throws com.liferay.portal.PortalException,
196 com.liferay.portal.SystemException {
197 _pollsQuestionLocalService.addQuestionResources(questionId,
198 communityPermissions, guestPermissions);
199 }
200
201 public void addQuestionResources(
202 com.liferay.portlet.polls.model.PollsQuestion question,
203 boolean addCommunityPermissions, boolean addGuestPermissions)
204 throws com.liferay.portal.PortalException,
205 com.liferay.portal.SystemException {
206 _pollsQuestionLocalService.addQuestionResources(question,
207 addCommunityPermissions, addGuestPermissions);
208 }
209
210 public void addQuestionResources(
211 com.liferay.portlet.polls.model.PollsQuestion question,
212 java.lang.String[] communityPermissions,
213 java.lang.String[] guestPermissions)
214 throws com.liferay.portal.PortalException,
215 com.liferay.portal.SystemException {
216 _pollsQuestionLocalService.addQuestionResources(question,
217 communityPermissions, guestPermissions);
218 }
219
220 public void deleteQuestion(long questionId)
221 throws com.liferay.portal.PortalException,
222 com.liferay.portal.SystemException {
223 _pollsQuestionLocalService.deleteQuestion(questionId);
224 }
225
226 public void deleteQuestion(
227 com.liferay.portlet.polls.model.PollsQuestion question)
228 throws com.liferay.portal.PortalException,
229 com.liferay.portal.SystemException {
230 _pollsQuestionLocalService.deleteQuestion(question);
231 }
232
233 public void deleteQuestions(long groupId)
234 throws com.liferay.portal.PortalException,
235 com.liferay.portal.SystemException {
236 _pollsQuestionLocalService.deleteQuestions(groupId);
237 }
238
239 public com.liferay.portlet.polls.model.PollsQuestion getQuestion(
240 long questionId)
241 throws com.liferay.portal.PortalException,
242 com.liferay.portal.SystemException {
243 return _pollsQuestionLocalService.getQuestion(questionId);
244 }
245
246 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getQuestions(
247 long groupId) throws com.liferay.portal.SystemException {
248 return _pollsQuestionLocalService.getQuestions(groupId);
249 }
250
251 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getQuestions(
252 long groupId, int start, int end)
253 throws com.liferay.portal.SystemException {
254 return _pollsQuestionLocalService.getQuestions(groupId, start, end);
255 }
256
257 public int getQuestionsCount(long groupId)
258 throws com.liferay.portal.SystemException {
259 return _pollsQuestionLocalService.getQuestionsCount(groupId);
260 }
261
262 public com.liferay.portlet.polls.model.PollsQuestion updateQuestion(
263 long userId, long questionId, java.lang.String title,
264 java.lang.String description, int expirationDateMonth,
265 int expirationDateDay, int expirationDateYear, int expirationDateHour,
266 int expirationDateMinute, boolean neverExpire)
267 throws com.liferay.portal.PortalException,
268 com.liferay.portal.SystemException {
269 return _pollsQuestionLocalService.updateQuestion(userId, questionId,
270 title, description, expirationDateMonth, expirationDateDay,
271 expirationDateYear, expirationDateHour, expirationDateMinute,
272 neverExpire);
273 }
274
275 public com.liferay.portlet.polls.model.PollsQuestion updateQuestion(
276 long userId, long questionId, java.lang.String title,
277 java.lang.String description, int expirationDateMonth,
278 int expirationDateDay, int expirationDateYear, int expirationDateHour,
279 int expirationDateMinute, boolean neverExpire,
280 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices)
281 throws com.liferay.portal.PortalException,
282 com.liferay.portal.SystemException {
283 return _pollsQuestionLocalService.updateQuestion(userId, questionId,
284 title, description, expirationDateMonth, expirationDateDay,
285 expirationDateYear, expirationDateHour, expirationDateMinute,
286 neverExpire, choices);
287 }
288
289 public PollsQuestionLocalService getWrappedPollsQuestionLocalService() {
290 return _pollsQuestionLocalService;
291 }
292
293 private PollsQuestionLocalService _pollsQuestionLocalService;
294 }