001
014
015 package com.liferay.portlet.asset.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class AssetVocabularyServiceWrapper implements AssetVocabularyService,
029 ServiceWrapper<AssetVocabularyService> {
030 public AssetVocabularyServiceWrapper(
031 AssetVocabularyService assetVocabularyService) {
032 _assetVocabularyService = assetVocabularyService;
033 }
034
035
040 public java.lang.String getBeanIdentifier() {
041 return _assetVocabularyService.getBeanIdentifier();
042 }
043
044
049 public void setBeanIdentifier(java.lang.String beanIdentifier) {
050 _assetVocabularyService.setBeanIdentifier(beanIdentifier);
051 }
052
053
057 public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
058 java.util.Map<java.util.Locale, java.lang.String> titleMap,
059 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
060 java.lang.String settings,
061 com.liferay.portal.service.ServiceContext serviceContext)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 return _assetVocabularyService.addVocabulary(titleMap, descriptionMap,
065 settings, serviceContext);
066 }
067
068 public com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(
069 java.lang.String title,
070 java.util.Map<java.util.Locale, java.lang.String> titleMap,
071 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
072 java.lang.String settings,
073 com.liferay.portal.service.ServiceContext serviceContext)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 return _assetVocabularyService.addVocabulary(title, titleMap,
077 descriptionMap, settings, serviceContext);
078 }
079
080
084 public void deleteVocabularies(long[] vocabularyIds)
085 throws com.liferay.portal.kernel.exception.PortalException,
086 com.liferay.portal.kernel.exception.SystemException {
087 _assetVocabularyService.deleteVocabularies(vocabularyIds);
088 }
089
090 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> deleteVocabularies(
091 long[] vocabularyIds,
092 com.liferay.portal.service.ServiceContext serviceContext)
093 throws com.liferay.portal.kernel.exception.PortalException,
094 com.liferay.portal.kernel.exception.SystemException {
095 return _assetVocabularyService.deleteVocabularies(vocabularyIds,
096 serviceContext);
097 }
098
099 public void deleteVocabulary(long vocabularyId)
100 throws com.liferay.portal.kernel.exception.PortalException,
101 com.liferay.portal.kernel.exception.SystemException {
102 _assetVocabularyService.deleteVocabulary(vocabularyId);
103 }
104
105 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(
106 long companyId)
107 throws com.liferay.portal.kernel.exception.PortalException,
108 com.liferay.portal.kernel.exception.SystemException {
109 return _assetVocabularyService.getCompanyVocabularies(companyId);
110 }
111
112 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
113 long[] groupIds)
114 throws com.liferay.portal.kernel.exception.PortalException,
115 com.liferay.portal.kernel.exception.SystemException {
116 return _assetVocabularyService.getGroupsVocabularies(groupIds);
117 }
118
119 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(
120 long[] groupIds, java.lang.String className)
121 throws com.liferay.portal.kernel.exception.PortalException,
122 com.liferay.portal.kernel.exception.SystemException {
123 return _assetVocabularyService.getGroupsVocabularies(groupIds, className);
124 }
125
126 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
127 long groupId)
128 throws com.liferay.portal.kernel.exception.PortalException,
129 com.liferay.portal.kernel.exception.SystemException {
130 return _assetVocabularyService.getGroupVocabularies(groupId);
131 }
132
133 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
134 long groupId, boolean createDefaultVocabulary)
135 throws com.liferay.portal.kernel.exception.PortalException,
136 com.liferay.portal.kernel.exception.SystemException {
137 return _assetVocabularyService.getGroupVocabularies(groupId,
138 createDefaultVocabulary);
139 }
140
141 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
142 long groupId, int start, int end,
143 com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _assetVocabularyService.getGroupVocabularies(groupId, start,
146 end, obc);
147 }
148
149 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(
150 long groupId, java.lang.String name, int start, int end,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.kernel.exception.SystemException {
153 return _assetVocabularyService.getGroupVocabularies(groupId, name,
154 start, end, obc);
155 }
156
157 public int getGroupVocabulariesCount(long groupId)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _assetVocabularyService.getGroupVocabulariesCount(groupId);
160 }
161
162 public int getGroupVocabulariesCount(long groupId, java.lang.String name)
163 throws com.liferay.portal.kernel.exception.SystemException {
164 return _assetVocabularyService.getGroupVocabulariesCount(groupId, name);
165 }
166
167 public com.liferay.portlet.asset.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(
168 long groupId, java.lang.String name, int start, int end,
169 boolean addDefaultVocabulary,
170 com.liferay.portal.kernel.util.OrderByComparator obc)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _assetVocabularyService.getGroupVocabulariesDisplay(groupId,
174 name, start, end, addDefaultVocabulary, obc);
175 }
176
177 public com.liferay.portal.kernel.json.JSONObject getJSONGroupVocabularies(
178 long groupId, java.lang.String name, int start, int end,
179 com.liferay.portal.kernel.util.OrderByComparator obc)
180 throws com.liferay.portal.kernel.exception.PortalException,
181 com.liferay.portal.kernel.exception.SystemException {
182 return _assetVocabularyService.getJSONGroupVocabularies(groupId, name,
183 start, end, obc);
184 }
185
186 public com.liferay.portal.kernel.json.JSONObject getJSONGroupVocabulariesDisplay(
187 long groupId, java.lang.String name, int start, int end,
188 boolean addDefaultVocabulary,
189 com.liferay.portal.kernel.util.OrderByComparator obc)
190 throws com.liferay.portal.kernel.exception.PortalException,
191 com.liferay.portal.kernel.exception.SystemException {
192 return _assetVocabularyService.getJSONGroupVocabulariesDisplay(groupId,
193 name, start, end, addDefaultVocabulary, obc);
194 }
195
196 public java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getVocabularies(
197 long[] vocabularyIds)
198 throws com.liferay.portal.kernel.exception.PortalException,
199 com.liferay.portal.kernel.exception.SystemException {
200 return _assetVocabularyService.getVocabularies(vocabularyIds);
201 }
202
203 public com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(
204 long vocabularyId)
205 throws com.liferay.portal.kernel.exception.PortalException,
206 com.liferay.portal.kernel.exception.SystemException {
207 return _assetVocabularyService.getVocabulary(vocabularyId);
208 }
209
210
214 public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
215 long vocabularyId,
216 java.util.Map<java.util.Locale, java.lang.String> titleMap,
217 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
218 java.lang.String settings,
219 com.liferay.portal.service.ServiceContext serviceContext)
220 throws com.liferay.portal.kernel.exception.PortalException,
221 com.liferay.portal.kernel.exception.SystemException {
222 return _assetVocabularyService.updateVocabulary(vocabularyId, titleMap,
223 descriptionMap, settings, serviceContext);
224 }
225
226 public com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(
227 long vocabularyId, java.lang.String title,
228 java.util.Map<java.util.Locale, java.lang.String> titleMap,
229 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
230 java.lang.String settings,
231 com.liferay.portal.service.ServiceContext serviceContext)
232 throws com.liferay.portal.kernel.exception.PortalException,
233 com.liferay.portal.kernel.exception.SystemException {
234 return _assetVocabularyService.updateVocabulary(vocabularyId, title,
235 titleMap, descriptionMap, settings, serviceContext);
236 }
237
238
241 public AssetVocabularyService getWrappedAssetVocabularyService() {
242 return _assetVocabularyService;
243 }
244
245
248 public void setWrappedAssetVocabularyService(
249 AssetVocabularyService assetVocabularyService) {
250 _assetVocabularyService = assetVocabularyService;
251 }
252
253 public AssetVocabularyService getWrappedService() {
254 return _assetVocabularyService;
255 }
256
257 public void setWrappedService(AssetVocabularyService assetVocabularyService) {
258 _assetVocabularyService = assetVocabularyService;
259 }
260
261 private AssetVocabularyService _assetVocabularyService;
262 }