001
014
015 package com.liferay.portlet.dynamicdatamapping.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class DDMTemplateLocalServiceWrapper implements DDMTemplateLocalService,
029 ServiceWrapper<DDMTemplateLocalService> {
030 public DDMTemplateLocalServiceWrapper(
031 DDMTemplateLocalService ddmTemplateLocalService) {
032 _ddmTemplateLocalService = ddmTemplateLocalService;
033 }
034
035
042 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate addDDMTemplate(
043 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _ddmTemplateLocalService.addDDMTemplate(ddmTemplate);
046 }
047
048
054 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate createDDMTemplate(
055 long templateId) {
056 return _ddmTemplateLocalService.createDDMTemplate(templateId);
057 }
058
059
067 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate deleteDDMTemplate(
068 long templateId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _ddmTemplateLocalService.deleteDDMTemplate(templateId);
072 }
073
074
081 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate deleteDDMTemplate(
082 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _ddmTemplateLocalService.deleteDDMTemplate(ddmTemplate);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _ddmTemplateLocalService.dynamicQuery();
089 }
090
091
098 @SuppressWarnings("rawtypes")
099 public java.util.List dynamicQuery(
100 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _ddmTemplateLocalService.dynamicQuery(dynamicQuery);
103 }
104
105
118 @SuppressWarnings("rawtypes")
119 public java.util.List dynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException {
122 return _ddmTemplateLocalService.dynamicQuery(dynamicQuery, start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _ddmTemplateLocalService.dynamicQuery(dynamicQuery, start, end,
146 orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _ddmTemplateLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate fetchDDMTemplate(
163 long templateId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _ddmTemplateLocalService.fetchDDMTemplate(templateId);
166 }
167
168
176 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getDDMTemplate(
177 long templateId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _ddmTemplateLocalService.getDDMTemplate(templateId);
181 }
182
183 public com.liferay.portal.model.PersistedModel getPersistedModel(
184 java.io.Serializable primaryKeyObj)
185 throws com.liferay.portal.kernel.exception.PortalException,
186 com.liferay.portal.kernel.exception.SystemException {
187 return _ddmTemplateLocalService.getPersistedModel(primaryKeyObj);
188 }
189
190
199 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getDDMTemplateByUuidAndGroupId(
200 java.lang.String uuid, long groupId)
201 throws com.liferay.portal.kernel.exception.PortalException,
202 com.liferay.portal.kernel.exception.SystemException {
203 return _ddmTemplateLocalService.getDDMTemplateByUuidAndGroupId(uuid,
204 groupId);
205 }
206
207
219 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> getDDMTemplates(
220 int start, int end)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _ddmTemplateLocalService.getDDMTemplates(start, end);
223 }
224
225
231 public int getDDMTemplatesCount()
232 throws com.liferay.portal.kernel.exception.SystemException {
233 return _ddmTemplateLocalService.getDDMTemplatesCount();
234 }
235
236
243 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate updateDDMTemplate(
244 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate)
245 throws com.liferay.portal.kernel.exception.SystemException {
246 return _ddmTemplateLocalService.updateDDMTemplate(ddmTemplate);
247 }
248
249
257 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate updateDDMTemplate(
258 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate ddmTemplate,
259 boolean merge)
260 throws com.liferay.portal.kernel.exception.SystemException {
261 return _ddmTemplateLocalService.updateDDMTemplate(ddmTemplate, merge);
262 }
263
264
269 public java.lang.String getBeanIdentifier() {
270 return _ddmTemplateLocalService.getBeanIdentifier();
271 }
272
273
278 public void setBeanIdentifier(java.lang.String beanIdentifier) {
279 _ddmTemplateLocalService.setBeanIdentifier(beanIdentifier);
280 }
281
282 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate addTemplate(
283 long userId, long groupId, long structureId,
284 java.util.Map<java.util.Locale, java.lang.String> nameMap,
285 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
286 java.lang.String type, java.lang.String mode,
287 java.lang.String language, java.lang.String script,
288 com.liferay.portal.service.ServiceContext serviceContext)
289 throws com.liferay.portal.kernel.exception.PortalException,
290 com.liferay.portal.kernel.exception.SystemException {
291 return _ddmTemplateLocalService.addTemplate(userId, groupId,
292 structureId, nameMap, descriptionMap, type, mode, language, script,
293 serviceContext);
294 }
295
296 public void addTemplateResources(
297 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate template,
298 boolean addGroupPermissions, boolean addGuestPermissions)
299 throws com.liferay.portal.kernel.exception.PortalException,
300 com.liferay.portal.kernel.exception.SystemException {
301 _ddmTemplateLocalService.addTemplateResources(template,
302 addGroupPermissions, addGuestPermissions);
303 }
304
305 public void addTemplateResources(
306 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate template,
307 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
308 throws com.liferay.portal.kernel.exception.PortalException,
309 com.liferay.portal.kernel.exception.SystemException {
310 _ddmTemplateLocalService.addTemplateResources(template,
311 groupPermissions, guestPermissions);
312 }
313
314 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> copyTemplates(
315 long userId, long structureId, long newStructureId,
316 java.lang.String type,
317 com.liferay.portal.service.ServiceContext serviceContext)
318 throws com.liferay.portal.kernel.exception.PortalException,
319 com.liferay.portal.kernel.exception.SystemException {
320 return _ddmTemplateLocalService.copyTemplates(userId, structureId,
321 newStructureId, type, serviceContext);
322 }
323
324 public void deleteTemplate(
325 com.liferay.portlet.dynamicdatamapping.model.DDMTemplate template)
326 throws com.liferay.portal.kernel.exception.PortalException,
327 com.liferay.portal.kernel.exception.SystemException {
328 _ddmTemplateLocalService.deleteTemplate(template);
329 }
330
331 public void deleteTemplate(long templateId)
332 throws com.liferay.portal.kernel.exception.PortalException,
333 com.liferay.portal.kernel.exception.SystemException {
334 _ddmTemplateLocalService.deleteTemplate(templateId);
335 }
336
337 public void deleteTemplates(long groupId)
338 throws com.liferay.portal.kernel.exception.PortalException,
339 com.liferay.portal.kernel.exception.SystemException {
340 _ddmTemplateLocalService.deleteTemplates(groupId);
341 }
342
343 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getTemplate(
344 long templateId)
345 throws com.liferay.portal.kernel.exception.PortalException,
346 com.liferay.portal.kernel.exception.SystemException {
347 return _ddmTemplateLocalService.getTemplate(templateId);
348 }
349
350 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> getTemplates(
351 long structureId)
352 throws com.liferay.portal.kernel.exception.SystemException {
353 return _ddmTemplateLocalService.getTemplates(structureId);
354 }
355
356 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> getTemplates(
357 long structureId, java.lang.String type)
358 throws com.liferay.portal.kernel.exception.SystemException {
359 return _ddmTemplateLocalService.getTemplates(structureId, type);
360 }
361
362 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> getTemplates(
363 long structureId, java.lang.String type, java.lang.String mode)
364 throws com.liferay.portal.kernel.exception.SystemException {
365 return _ddmTemplateLocalService.getTemplates(structureId, type, mode);
366 }
367
368 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> search(
369 long companyId, long groupId, long structureId,
370 java.lang.String keywords, java.lang.String type,
371 java.lang.String mode, int start, int end,
372 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
373 throws com.liferay.portal.kernel.exception.SystemException {
374 return _ddmTemplateLocalService.search(companyId, groupId, structureId,
375 keywords, type, mode, start, end, orderByComparator);
376 }
377
378 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> search(
379 long companyId, long groupId, long structureId, java.lang.String name,
380 java.lang.String description, java.lang.String type,
381 java.lang.String mode, java.lang.String language, boolean andOperator,
382 int start, int end,
383 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
384 throws com.liferay.portal.kernel.exception.SystemException {
385 return _ddmTemplateLocalService.search(companyId, groupId, structureId,
386 name, description, type, mode, language, andOperator, start, end,
387 orderByComparator);
388 }
389
390 public int searchCount(long companyId, long groupId, long structureId,
391 java.lang.String keywords, java.lang.String type, java.lang.String mode)
392 throws com.liferay.portal.kernel.exception.SystemException {
393 return _ddmTemplateLocalService.searchCount(companyId, groupId,
394 structureId, keywords, type, mode);
395 }
396
397 public int searchCount(long companyId, long groupId, long structureId,
398 java.lang.String name, java.lang.String description,
399 java.lang.String type, java.lang.String mode,
400 java.lang.String language, boolean andOperator)
401 throws com.liferay.portal.kernel.exception.SystemException {
402 return _ddmTemplateLocalService.searchCount(companyId, groupId,
403 structureId, name, description, type, mode, language, andOperator);
404 }
405
406 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate updateTemplate(
407 long templateId,
408 java.util.Map<java.util.Locale, java.lang.String> nameMap,
409 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
410 java.lang.String type, java.lang.String mode,
411 java.lang.String language, java.lang.String script,
412 com.liferay.portal.service.ServiceContext serviceContext)
413 throws com.liferay.portal.kernel.exception.PortalException,
414 com.liferay.portal.kernel.exception.SystemException {
415 return _ddmTemplateLocalService.updateTemplate(templateId, nameMap,
416 descriptionMap, type, mode, language, script, serviceContext);
417 }
418
419
422 public DDMTemplateLocalService getWrappedDDMTemplateLocalService() {
423 return _ddmTemplateLocalService;
424 }
425
426
429 public void setWrappedDDMTemplateLocalService(
430 DDMTemplateLocalService ddmTemplateLocalService) {
431 _ddmTemplateLocalService = ddmTemplateLocalService;
432 }
433
434 public DDMTemplateLocalService getWrappedService() {
435 return _ddmTemplateLocalService;
436 }
437
438 public void setWrappedService(
439 DDMTemplateLocalService ddmTemplateLocalService) {
440 _ddmTemplateLocalService = ddmTemplateLocalService;
441 }
442
443 private DDMTemplateLocalService _ddmTemplateLocalService;
444 }