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.kernel.exception.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.kernel.exception.PortalException,
54 com.liferay.portal.kernel.exception.SystemException {
55 _pollsQuestionLocalService.deletePollsQuestion(questionId);
56 }
57
58 public void deletePollsQuestion(
59 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
60 throws com.liferay.portal.kernel.exception.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.kernel.exception.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.kernel.exception.SystemException {
73 return _pollsQuestionLocalService.dynamicQuery(dynamicQuery, start, end);
74 }
75
76 public java.util.List<Object> dynamicQuery(
77 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78 int end,
79 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80 throws com.liferay.portal.kernel.exception.SystemException {
81 return _pollsQuestionLocalService.dynamicQuery(dynamicQuery, start,
82 end, orderByComparator);
83 }
84
85 public int dynamicQueryCount(
86 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
87 throws com.liferay.portal.kernel.exception.SystemException {
88 return _pollsQuestionLocalService.dynamicQueryCount(dynamicQuery);
89 }
90
91 public com.liferay.portlet.polls.model.PollsQuestion getPollsQuestion(
92 long questionId)
93 throws com.liferay.portal.kernel.exception.PortalException,
94 com.liferay.portal.kernel.exception.SystemException {
95 return _pollsQuestionLocalService.getPollsQuestion(questionId);
96 }
97
98 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getPollsQuestions(
99 int start, int end)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return _pollsQuestionLocalService.getPollsQuestions(start, end);
102 }
103
104 public int getPollsQuestionsCount()
105 throws com.liferay.portal.kernel.exception.SystemException {
106 return _pollsQuestionLocalService.getPollsQuestionsCount();
107 }
108
109 public com.liferay.portlet.polls.model.PollsQuestion updatePollsQuestion(
110 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion)
111 throws com.liferay.portal.kernel.exception.SystemException {
112 return _pollsQuestionLocalService.updatePollsQuestion(pollsQuestion);
113 }
114
115 public com.liferay.portlet.polls.model.PollsQuestion updatePollsQuestion(
116 com.liferay.portlet.polls.model.PollsQuestion pollsQuestion,
117 boolean merge)
118 throws com.liferay.portal.kernel.exception.SystemException {
119 return _pollsQuestionLocalService.updatePollsQuestion(pollsQuestion,
120 merge);
121 }
122
123 public com.liferay.portlet.polls.model.PollsQuestion addQuestion(
124 java.lang.String uuid, long userId,
125 java.util.Map<java.util.Locale, String> titleMap,
126 java.util.Map<java.util.Locale, String> descriptionMap,
127 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
128 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
129 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
130 com.liferay.portal.service.ServiceContext serviceContext)
131 throws com.liferay.portal.kernel.exception.PortalException,
132 com.liferay.portal.kernel.exception.SystemException {
133 return _pollsQuestionLocalService.addQuestion(uuid, userId, titleMap,
134 descriptionMap, expirationDateMonth, expirationDateDay,
135 expirationDateYear, expirationDateHour, expirationDateMinute,
136 neverExpire, choices, serviceContext);
137 }
138
139 public void addQuestionResources(long questionId,
140 boolean addCommunityPermissions, boolean addGuestPermissions)
141 throws com.liferay.portal.kernel.exception.PortalException,
142 com.liferay.portal.kernel.exception.SystemException {
143 _pollsQuestionLocalService.addQuestionResources(questionId,
144 addCommunityPermissions, addGuestPermissions);
145 }
146
147 public void addQuestionResources(long questionId,
148 java.lang.String[] communityPermissions,
149 java.lang.String[] guestPermissions)
150 throws com.liferay.portal.kernel.exception.PortalException,
151 com.liferay.portal.kernel.exception.SystemException {
152 _pollsQuestionLocalService.addQuestionResources(questionId,
153 communityPermissions, guestPermissions);
154 }
155
156 public void addQuestionResources(
157 com.liferay.portlet.polls.model.PollsQuestion question,
158 boolean addCommunityPermissions, boolean addGuestPermissions)
159 throws com.liferay.portal.kernel.exception.PortalException,
160 com.liferay.portal.kernel.exception.SystemException {
161 _pollsQuestionLocalService.addQuestionResources(question,
162 addCommunityPermissions, addGuestPermissions);
163 }
164
165 public void addQuestionResources(
166 com.liferay.portlet.polls.model.PollsQuestion question,
167 java.lang.String[] communityPermissions,
168 java.lang.String[] guestPermissions)
169 throws com.liferay.portal.kernel.exception.PortalException,
170 com.liferay.portal.kernel.exception.SystemException {
171 _pollsQuestionLocalService.addQuestionResources(question,
172 communityPermissions, guestPermissions);
173 }
174
175 public void deleteQuestion(long questionId)
176 throws com.liferay.portal.kernel.exception.PortalException,
177 com.liferay.portal.kernel.exception.SystemException {
178 _pollsQuestionLocalService.deleteQuestion(questionId);
179 }
180
181 public void deleteQuestion(
182 com.liferay.portlet.polls.model.PollsQuestion question)
183 throws com.liferay.portal.kernel.exception.PortalException,
184 com.liferay.portal.kernel.exception.SystemException {
185 _pollsQuestionLocalService.deleteQuestion(question);
186 }
187
188 public void deleteQuestions(long groupId)
189 throws com.liferay.portal.kernel.exception.PortalException,
190 com.liferay.portal.kernel.exception.SystemException {
191 _pollsQuestionLocalService.deleteQuestions(groupId);
192 }
193
194 public com.liferay.portlet.polls.model.PollsQuestion getQuestion(
195 long questionId)
196 throws com.liferay.portal.kernel.exception.PortalException,
197 com.liferay.portal.kernel.exception.SystemException {
198 return _pollsQuestionLocalService.getQuestion(questionId);
199 }
200
201 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getQuestions(
202 long groupId)
203 throws com.liferay.portal.kernel.exception.SystemException {
204 return _pollsQuestionLocalService.getQuestions(groupId);
205 }
206
207 public java.util.List<com.liferay.portlet.polls.model.PollsQuestion> getQuestions(
208 long groupId, int start, int end)
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return _pollsQuestionLocalService.getQuestions(groupId, start, end);
211 }
212
213 public int getQuestionsCount(long groupId)
214 throws com.liferay.portal.kernel.exception.SystemException {
215 return _pollsQuestionLocalService.getQuestionsCount(groupId);
216 }
217
218 public com.liferay.portlet.polls.model.PollsQuestion updateQuestion(
219 long userId, long questionId,
220 java.util.Map<java.util.Locale, String> titleMap,
221 java.util.Map<java.util.Locale, String> descriptionMap,
222 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
223 int expirationDateHour, int expirationDateMinute, boolean neverExpire)
224 throws com.liferay.portal.kernel.exception.PortalException,
225 com.liferay.portal.kernel.exception.SystemException {
226 return _pollsQuestionLocalService.updateQuestion(userId, questionId,
227 titleMap, descriptionMap, expirationDateMonth, expirationDateDay,
228 expirationDateYear, expirationDateHour, expirationDateMinute,
229 neverExpire);
230 }
231
232 public com.liferay.portlet.polls.model.PollsQuestion updateQuestion(
233 long userId, long questionId,
234 java.util.Map<java.util.Locale, String> titleMap,
235 java.util.Map<java.util.Locale, String> descriptionMap,
236 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
237 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
238 java.util.List<com.liferay.portlet.polls.model.PollsChoice> choices,
239 com.liferay.portal.service.ServiceContext serviceContext)
240 throws com.liferay.portal.kernel.exception.PortalException,
241 com.liferay.portal.kernel.exception.SystemException {
242 return _pollsQuestionLocalService.updateQuestion(userId, questionId,
243 titleMap, descriptionMap, expirationDateMonth, expirationDateDay,
244 expirationDateYear, expirationDateHour, expirationDateMinute,
245 neverExpire, choices, serviceContext);
246 }
247
248 public PollsQuestionLocalService getWrappedPollsQuestionLocalService() {
249 return _pollsQuestionLocalService;
250 }
251
252 private PollsQuestionLocalService _pollsQuestionLocalService;
253 }