001
014
015 package com.liferay.portlet.dynamicdatamapping.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class DDMStructureServiceWrapper implements DDMStructureService,
029 ServiceWrapper<DDMStructureService> {
030 public DDMStructureServiceWrapper(DDMStructureService ddmStructureService) {
031 _ddmStructureService = ddmStructureService;
032 }
033
034
039 public java.lang.String getBeanIdentifier() {
040 return _ddmStructureService.getBeanIdentifier();
041 }
042
043
048 public void setBeanIdentifier(java.lang.String beanIdentifier) {
049 _ddmStructureService.setBeanIdentifier(beanIdentifier);
050 }
051
052 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
053 long groupId, long classNameId, java.lang.String structureKey,
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 xsd, java.lang.String storageType, int type,
057 com.liferay.portal.service.ServiceContext serviceContext)
058 throws com.liferay.portal.kernel.exception.PortalException,
059 com.liferay.portal.kernel.exception.SystemException {
060 return _ddmStructureService.addStructure(groupId, classNameId,
061 structureKey, nameMap, descriptionMap, xsd, storageType, type,
062 serviceContext);
063 }
064
065 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure copyStructure(
066 long structureId,
067 java.util.Map<java.util.Locale, java.lang.String> nameMap,
068 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
069 com.liferay.portal.service.ServiceContext serviceContext)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _ddmStructureService.copyStructure(structureId, nameMap,
073 descriptionMap, serviceContext);
074 }
075
076 public void deleteStructure(long structureId)
077 throws com.liferay.portal.kernel.exception.PortalException,
078 com.liferay.portal.kernel.exception.SystemException {
079 _ddmStructureService.deleteStructure(structureId);
080 }
081
082 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchStructure(
083 long groupId, java.lang.String structureKey)
084 throws com.liferay.portal.kernel.exception.PortalException,
085 com.liferay.portal.kernel.exception.SystemException {
086 return _ddmStructureService.fetchStructure(groupId, structureKey);
087 }
088
089 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure(
090 long structureId)
091 throws com.liferay.portal.kernel.exception.PortalException,
092 com.liferay.portal.kernel.exception.SystemException {
093 return _ddmStructureService.getStructure(structureId);
094 }
095
096 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> search(
097 long companyId, long[] groupIds, long[] classNameIds,
098 java.lang.String keywords, int start, int end,
099 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return _ddmStructureService.search(companyId, groupIds, classNameIds,
102 keywords, start, end, orderByComparator);
103 }
104
105 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> search(
106 long companyId, long[] groupIds, long[] classNameIds,
107 java.lang.String name, java.lang.String description,
108 java.lang.String storageType, int type, boolean andOperator, int start,
109 int end,
110 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111 throws com.liferay.portal.kernel.exception.SystemException {
112 return _ddmStructureService.search(companyId, groupIds, classNameIds,
113 name, description, storageType, type, andOperator, start, end,
114 orderByComparator);
115 }
116
117 public int searchCount(long companyId, long[] groupIds,
118 long[] classNameIds, java.lang.String keywords)
119 throws com.liferay.portal.kernel.exception.SystemException {
120 return _ddmStructureService.searchCount(companyId, groupIds,
121 classNameIds, keywords);
122 }
123
124 public int searchCount(long companyId, long[] groupIds,
125 long[] classNameIds, java.lang.String name,
126 java.lang.String description, java.lang.String storageType, int type,
127 boolean andOperator)
128 throws com.liferay.portal.kernel.exception.SystemException {
129 return _ddmStructureService.searchCount(companyId, groupIds,
130 classNameIds, name, description, storageType, type, andOperator);
131 }
132
133 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(
134 long structureId,
135 java.util.Map<java.util.Locale, java.lang.String> nameMap,
136 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
137 java.lang.String xsd,
138 com.liferay.portal.service.ServiceContext serviceContext)
139 throws com.liferay.portal.kernel.exception.PortalException,
140 com.liferay.portal.kernel.exception.SystemException {
141 return _ddmStructureService.updateStructure(structureId, nameMap,
142 descriptionMap, xsd, serviceContext);
143 }
144
145 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(
146 long groupId, java.lang.String structureKey,
147 java.util.Map<java.util.Locale, java.lang.String> nameMap,
148 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
149 java.lang.String xsd,
150 com.liferay.portal.service.ServiceContext serviceContext)
151 throws com.liferay.portal.kernel.exception.PortalException,
152 com.liferay.portal.kernel.exception.SystemException {
153 return _ddmStructureService.updateStructure(groupId, structureKey,
154 nameMap, descriptionMap, xsd, serviceContext);
155 }
156
157
160 public DDMStructureService getWrappedDDMStructureService() {
161 return _ddmStructureService;
162 }
163
164
167 public void setWrappedDDMStructureService(
168 DDMStructureService ddmStructureService) {
169 _ddmStructureService = ddmStructureService;
170 }
171
172 public DDMStructureService getWrappedService() {
173 return _ddmStructureService;
174 }
175
176 public void setWrappedService(DDMStructureService ddmStructureService) {
177 _ddmStructureService = ddmStructureService;
178 }
179
180 private DDMStructureService _ddmStructureService;
181 }