001
014
015 package com.liferay.portlet.dynamicdatamapping.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class DDMTemplateServiceWrapper implements DDMTemplateService,
029 ServiceWrapper<DDMTemplateService> {
030 public DDMTemplateServiceWrapper(DDMTemplateService ddmTemplateService) {
031 _ddmTemplateService = ddmTemplateService;
032 }
033
034
039 public java.lang.String getBeanIdentifier() {
040 return _ddmTemplateService.getBeanIdentifier();
041 }
042
043
048 public void setBeanIdentifier(java.lang.String beanIdentifier) {
049 _ddmTemplateService.setBeanIdentifier(beanIdentifier);
050 }
051
052 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate addTemplate(
053 long groupId, long structureId,
054 java.util.Map<java.util.Locale, java.lang.String> nameMap,
055 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
056 java.lang.String type, java.lang.String mode,
057 java.lang.String language, java.lang.String script,
058 com.liferay.portal.service.ServiceContext serviceContext)
059 throws com.liferay.portal.kernel.exception.PortalException,
060 com.liferay.portal.kernel.exception.SystemException {
061 return _ddmTemplateService.addTemplate(groupId, structureId, nameMap,
062 descriptionMap, type, mode, language, script, serviceContext);
063 }
064
065 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> copyTemplates(
066 long structureId, long newStructureId, java.lang.String type,
067 com.liferay.portal.service.ServiceContext serviceContext)
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException {
070 return _ddmTemplateService.copyTemplates(structureId, newStructureId,
071 type, serviceContext);
072 }
073
074 public void deleteTemplate(long templateId)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 _ddmTemplateService.deleteTemplate(templateId);
078 }
079
080 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate getTemplate(
081 long templateId)
082 throws com.liferay.portal.kernel.exception.PortalException,
083 com.liferay.portal.kernel.exception.SystemException {
084 return _ddmTemplateService.getTemplate(templateId);
085 }
086
087 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> getTemplates(
088 long structureId, java.lang.String type, java.lang.String mode)
089 throws com.liferay.portal.kernel.exception.SystemException {
090 return _ddmTemplateService.getTemplates(structureId, type, mode);
091 }
092
093 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> search(
094 long companyId, long groupId, long structureId,
095 java.lang.String keywords, java.lang.String type,
096 java.lang.String mode, int start, int end,
097 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
098 throws com.liferay.portal.kernel.exception.SystemException {
099 return _ddmTemplateService.search(companyId, groupId, structureId,
100 keywords, type, mode, start, end, orderByComparator);
101 }
102
103 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMTemplate> search(
104 long companyId, long groupId, long structureId, java.lang.String name,
105 java.lang.String description, java.lang.String type,
106 java.lang.String mode, java.lang.String language, boolean andOperator,
107 int start, int end,
108 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _ddmTemplateService.search(companyId, groupId, structureId,
111 name, description, type, mode, language, andOperator, start, end,
112 orderByComparator);
113 }
114
115 public int searchCount(long companyId, long groupId, long structureId,
116 java.lang.String keywords, java.lang.String type, java.lang.String mode)
117 throws com.liferay.portal.kernel.exception.SystemException {
118 return _ddmTemplateService.searchCount(companyId, groupId, structureId,
119 keywords, type, mode);
120 }
121
122 public int searchCount(long companyId, long groupId, long structureId,
123 java.lang.String name, java.lang.String description,
124 java.lang.String type, java.lang.String mode,
125 java.lang.String language, boolean andOperator)
126 throws com.liferay.portal.kernel.exception.SystemException {
127 return _ddmTemplateService.searchCount(companyId, groupId, structureId,
128 name, description, type, mode, language, andOperator);
129 }
130
131 public com.liferay.portlet.dynamicdatamapping.model.DDMTemplate updateTemplate(
132 long templateId,
133 java.util.Map<java.util.Locale, java.lang.String> nameMap,
134 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
135 java.lang.String type, java.lang.String mode,
136 java.lang.String language, java.lang.String script,
137 com.liferay.portal.service.ServiceContext serviceContext)
138 throws com.liferay.portal.kernel.exception.PortalException,
139 com.liferay.portal.kernel.exception.SystemException {
140 return _ddmTemplateService.updateTemplate(templateId, nameMap,
141 descriptionMap, type, mode, language, script, serviceContext);
142 }
143
144
147 public DDMTemplateService getWrappedDDMTemplateService() {
148 return _ddmTemplateService;
149 }
150
151
154 public void setWrappedDDMTemplateService(
155 DDMTemplateService ddmTemplateService) {
156 _ddmTemplateService = ddmTemplateService;
157 }
158
159 public DDMTemplateService getWrappedService() {
160 return _ddmTemplateService;
161 }
162
163 public void setWrappedService(DDMTemplateService ddmTemplateService) {
164 _ddmTemplateService = ddmTemplateService;
165 }
166
167 private DDMTemplateService _ddmTemplateService;
168 }