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 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure addStructure(
035 long groupId, long classNameId, java.lang.String structureKey,
036 java.util.Map<java.util.Locale, java.lang.String> nameMap,
037 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
038 java.lang.String xsd, java.lang.String storageType, int type,
039 com.liferay.portal.service.ServiceContext serviceContext)
040 throws com.liferay.portal.kernel.exception.PortalException,
041 com.liferay.portal.kernel.exception.SystemException {
042 return _ddmStructureService.addStructure(groupId, classNameId,
043 structureKey, nameMap, descriptionMap, xsd, storageType, type,
044 serviceContext);
045 }
046
047 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure copyStructure(
048 long structureId,
049 java.util.Map<java.util.Locale, java.lang.String> nameMap,
050 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
051 com.liferay.portal.service.ServiceContext serviceContext)
052 throws com.liferay.portal.kernel.exception.PortalException,
053 com.liferay.portal.kernel.exception.SystemException {
054 return _ddmStructureService.copyStructure(structureId, nameMap,
055 descriptionMap, serviceContext);
056 }
057
058 public void deleteStructure(long structureId)
059 throws com.liferay.portal.kernel.exception.PortalException,
060 com.liferay.portal.kernel.exception.SystemException {
061 _ddmStructureService.deleteStructure(structureId);
062 }
063
064 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchStructure(
065 long groupId, java.lang.String structureKey)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException {
068 return _ddmStructureService.fetchStructure(groupId, structureKey);
069 }
070
071 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure getStructure(
072 long structureId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _ddmStructureService.getStructure(structureId);
076 }
077
078 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> search(
079 long companyId, long[] groupIds, long[] classNameIds,
080 java.lang.String keywords, int start, int end,
081 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
082 throws com.liferay.portal.kernel.exception.SystemException {
083 return _ddmStructureService.search(companyId, groupIds, classNameIds,
084 keywords, start, end, orderByComparator);
085 }
086
087 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> search(
088 long companyId, long[] groupIds, long[] classNameIds,
089 java.lang.String name, java.lang.String description,
090 java.lang.String storageType, int type, boolean andOperator, int start,
091 int end,
092 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
093 throws com.liferay.portal.kernel.exception.SystemException {
094 return _ddmStructureService.search(companyId, groupIds, classNameIds,
095 name, description, storageType, type, andOperator, start, end,
096 orderByComparator);
097 }
098
099 public int searchCount(long companyId, long[] groupIds,
100 long[] classNameIds, java.lang.String keywords)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _ddmStructureService.searchCount(companyId, groupIds,
103 classNameIds, keywords);
104 }
105
106 public int searchCount(long companyId, long[] groupIds,
107 long[] classNameIds, java.lang.String name,
108 java.lang.String description, java.lang.String storageType, int type,
109 boolean andOperator)
110 throws com.liferay.portal.kernel.exception.SystemException {
111 return _ddmStructureService.searchCount(companyId, groupIds,
112 classNameIds, name, description, storageType, type, andOperator);
113 }
114
115 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(
116 long structureId,
117 java.util.Map<java.util.Locale, java.lang.String> nameMap,
118 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
119 java.lang.String xsd,
120 com.liferay.portal.service.ServiceContext serviceContext)
121 throws com.liferay.portal.kernel.exception.PortalException,
122 com.liferay.portal.kernel.exception.SystemException {
123 return _ddmStructureService.updateStructure(structureId, nameMap,
124 descriptionMap, xsd, serviceContext);
125 }
126
127 public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateStructure(
128 long groupId, java.lang.String structureKey,
129 java.util.Map<java.util.Locale, java.lang.String> nameMap,
130 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
131 java.lang.String xsd,
132 com.liferay.portal.service.ServiceContext serviceContext)
133 throws com.liferay.portal.kernel.exception.PortalException,
134 com.liferay.portal.kernel.exception.SystemException {
135 return _ddmStructureService.updateStructure(groupId, structureKey,
136 nameMap, descriptionMap, xsd, serviceContext);
137 }
138
139
142 public DDMStructureService getWrappedDDMStructureService() {
143 return _ddmStructureService;
144 }
145
146
149 public void setWrappedDDMStructureService(
150 DDMStructureService ddmStructureService) {
151 _ddmStructureService = ddmStructureService;
152 }
153
154 public DDMStructureService getWrappedService() {
155 return _ddmStructureService;
156 }
157
158 public void setWrappedService(DDMStructureService ddmStructureService) {
159 _ddmStructureService = ddmStructureService;
160 }
161
162 private DDMStructureService _ddmStructureService;
163 }