001
014
015 package com.liferay.asset.kernel.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class AssetCategoryServiceWrapper implements AssetCategoryService,
030 ServiceWrapper<AssetCategoryService> {
031 public AssetCategoryServiceWrapper(
032 AssetCategoryService assetCategoryService) {
033 _assetCategoryService = assetCategoryService;
034 }
035
036 @Override
037 public com.liferay.asset.kernel.model.AssetCategory addCategory(
038 long groupId, java.lang.String title, long vocabularyId,
039 com.liferay.portal.kernel.service.ServiceContext serviceContext)
040 throws com.liferay.portal.kernel.exception.PortalException {
041 return _assetCategoryService.addCategory(groupId, title, vocabularyId,
042 serviceContext);
043 }
044
045 @Override
046 public com.liferay.asset.kernel.model.AssetCategory addCategory(
047 long groupId, long parentCategoryId,
048 java.util.Map<java.util.Locale, java.lang.String> titleMap,
049 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
050 long vocabularyId, java.lang.String[] categoryProperties,
051 com.liferay.portal.kernel.service.ServiceContext serviceContext)
052 throws com.liferay.portal.kernel.exception.PortalException {
053 return _assetCategoryService.addCategory(groupId, parentCategoryId,
054 titleMap, descriptionMap, vocabularyId, categoryProperties,
055 serviceContext);
056 }
057
058 @Override
059 public com.liferay.asset.kernel.model.AssetCategory fetchCategory(
060 long categoryId)
061 throws com.liferay.portal.kernel.exception.PortalException {
062 return _assetCategoryService.fetchCategory(categoryId);
063 }
064
065 @Override
066 public com.liferay.asset.kernel.model.AssetCategory getCategory(
067 long categoryId)
068 throws com.liferay.portal.kernel.exception.PortalException {
069 return _assetCategoryService.getCategory(categoryId);
070 }
071
072 @Override
073 public com.liferay.asset.kernel.model.AssetCategory moveCategory(
074 long categoryId, long parentCategoryId, long vocabularyId,
075 com.liferay.portal.kernel.service.ServiceContext serviceContext)
076 throws com.liferay.portal.kernel.exception.PortalException {
077 return _assetCategoryService.moveCategory(categoryId, parentCategoryId,
078 vocabularyId, serviceContext);
079 }
080
081 @Override
082 public com.liferay.asset.kernel.model.AssetCategory updateCategory(
083 long categoryId, long parentCategoryId,
084 java.util.Map<java.util.Locale, java.lang.String> titleMap,
085 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
086 long vocabularyId, java.lang.String[] categoryProperties,
087 com.liferay.portal.kernel.service.ServiceContext serviceContext)
088 throws com.liferay.portal.kernel.exception.PortalException {
089 return _assetCategoryService.updateCategory(categoryId,
090 parentCategoryId, titleMap, descriptionMap, vocabularyId,
091 categoryProperties, serviceContext);
092 }
093
094 @Override
095 public com.liferay.asset.kernel.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
096 long groupId, java.lang.String name, long vocabularyId, int start,
097 int end,
098 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
099 throws com.liferay.portal.kernel.exception.PortalException {
100 return _assetCategoryService.getVocabularyCategoriesDisplay(groupId,
101 name, vocabularyId, start, end, obc);
102 }
103
104 @Override
105 public com.liferay.asset.kernel.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
106 long vocabularyId, int start, int end,
107 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
108 throws com.liferay.portal.kernel.exception.PortalException {
109 return _assetCategoryService.getVocabularyCategoriesDisplay(vocabularyId,
110 start, end, obc);
111 }
112
113 @Override
114 public com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
115 long groupId, java.lang.String title, long parentCategoryId,
116 long vocabularyId, int start, int end)
117 throws com.liferay.portal.kernel.exception.PortalException {
118 return _assetCategoryService.searchCategoriesDisplay(groupId, title,
119 parentCategoryId, vocabularyId, start, end);
120 }
121
122 @Override
123 public com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
124 long groupId, java.lang.String title, long vocabularyId, int start,
125 int end) throws com.liferay.portal.kernel.exception.PortalException {
126 return _assetCategoryService.searchCategoriesDisplay(groupId, title,
127 vocabularyId, start, end);
128 }
129
130 @Override
131 public com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
132 long groupId, java.lang.String title, long vocabularyId,
133 long parentCategoryId, int start, int end,
134 com.liferay.portal.kernel.search.Sort sort)
135 throws com.liferay.portal.kernel.exception.PortalException {
136 return _assetCategoryService.searchCategoriesDisplay(groupId, title,
137 vocabularyId, parentCategoryId, start, end, sort);
138 }
139
140 @Override
141 public com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
142 long[] groupIds, java.lang.String title, long[] parentCategoryIds,
143 long[] vocabularyIds, int start, int end)
144 throws com.liferay.portal.kernel.exception.PortalException {
145 return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
146 parentCategoryIds, vocabularyIds, start, end);
147 }
148
149 @Override
150 public com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
151 long[] groupIds, java.lang.String title, long[] vocabularyIds,
152 int start, int end)
153 throws com.liferay.portal.kernel.exception.PortalException {
154 return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
155 vocabularyIds, start, end);
156 }
157
158 @Override
159 public com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
160 long[] groupIds, java.lang.String title, long[] vocabularyIds,
161 long[] parentCategoryIds, int start, int end,
162 com.liferay.portal.kernel.search.Sort sort)
163 throws com.liferay.portal.kernel.exception.PortalException {
164 return _assetCategoryService.searchCategoriesDisplay(groupIds, title,
165 vocabularyIds, parentCategoryIds, start, end, sort);
166 }
167
168 @Override
169 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
170 java.lang.String name, java.lang.String[] categoryProperties,
171 int start, int end)
172 throws com.liferay.portal.kernel.exception.PortalException {
173 return _assetCategoryService.search(groupId, name, categoryProperties,
174 start, end);
175 }
176
177 @Override
178 public com.liferay.portal.kernel.json.JSONArray search(long[] groupIds,
179 java.lang.String name, long[] vocabularyIds, int start, int end)
180 throws com.liferay.portal.kernel.exception.PortalException {
181 return _assetCategoryService.search(groupIds, name, vocabularyIds,
182 start, end);
183 }
184
185 @Override
186 public int getVocabularyCategoriesCount(long groupId,
187 java.lang.String name, long vocabularyId) {
188 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
189 name, vocabularyId);
190 }
191
192 @Override
193 public int getVocabularyCategoriesCount(long groupId, long parentCategory,
194 long vocabularyId) {
195 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
196 parentCategory, vocabularyId);
197 }
198
199 @Override
200 public int getVocabularyCategoriesCount(long groupId, long vocabularyId) {
201 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
202 vocabularyId);
203 }
204
205 @Override
206 public int getVocabularyRootCategoriesCount(long groupId, long vocabularyId) {
207 return _assetCategoryService.getVocabularyRootCategoriesCount(groupId,
208 vocabularyId);
209 }
210
211 @Override
212 public java.lang.String getCategoryPath(long categoryId)
213 throws com.liferay.portal.kernel.exception.PortalException {
214 return _assetCategoryService.getCategoryPath(categoryId);
215 }
216
217
222 @Override
223 public java.lang.String getOSGiServiceIdentifier() {
224 return _assetCategoryService.getOSGiServiceIdentifier();
225 }
226
227
230 @Deprecated
231 @Override
232 public java.util.List<com.liferay.asset.kernel.model.AssetCategory> deleteCategories(
233 long[] categoryIds,
234 com.liferay.portal.kernel.service.ServiceContext serviceContext)
235 throws com.liferay.portal.kernel.exception.PortalException {
236 return _assetCategoryService.deleteCategories(categoryIds,
237 serviceContext);
238 }
239
240 @Override
241 public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getCategories(
242 java.lang.String className, long classPK)
243 throws com.liferay.portal.kernel.exception.PortalException {
244 return _assetCategoryService.getCategories(className, classPK);
245 }
246
247 @Override
248 public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getChildCategories(
249 long parentCategoryId)
250 throws com.liferay.portal.kernel.exception.PortalException {
251 return _assetCategoryService.getChildCategories(parentCategoryId);
252 }
253
254 @Override
255 public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getChildCategories(
256 long parentCategoryId, int start, int end,
257 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
258 throws com.liferay.portal.kernel.exception.PortalException {
259 return _assetCategoryService.getChildCategories(parentCategoryId,
260 start, end, obc);
261 }
262
263 @Override
264 public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(
265 long groupId, java.lang.String name, long vocabularyId, int start,
266 int end,
267 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) {
268 return _assetCategoryService.getVocabularyCategories(groupId, name,
269 vocabularyId, start, end, obc);
270 }
271
272 @Override
273 public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(
274 long groupId, long parentCategoryId, long vocabularyId, int start,
275 int end,
276 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) {
277 return _assetCategoryService.getVocabularyCategories(groupId,
278 parentCategoryId, vocabularyId, start, end, obc);
279 }
280
281 @Override
282 public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(
283 long parentCategoryId, long vocabularyId, int start, int end,
284 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
285 throws com.liferay.portal.kernel.exception.PortalException {
286 return _assetCategoryService.getVocabularyCategories(parentCategoryId,
287 vocabularyId, start, end, obc);
288 }
289
290 @Override
291 public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(
292 long vocabularyId, int start, int end,
293 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
294 throws com.liferay.portal.kernel.exception.PortalException {
295 return _assetCategoryService.getVocabularyCategories(vocabularyId,
296 start, end, obc);
297 }
298
299 @Override
300 public java.util.List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyRootCategories(
301 long groupId, long vocabularyId, int start, int end,
302 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) {
303 return _assetCategoryService.getVocabularyRootCategories(groupId,
304 vocabularyId, start, end, obc);
305 }
306
307 @Override
308 public java.util.List<com.liferay.asset.kernel.model.AssetCategory> search(
309 long groupId, java.lang.String keywords, long vocabularyId, int start,
310 int end,
311 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) {
312 return _assetCategoryService.search(groupId, keywords, vocabularyId,
313 start, end, obc);
314 }
315
316 @Override
317 public void deleteCategories(long[] categoryIds)
318 throws com.liferay.portal.kernel.exception.PortalException {
319 _assetCategoryService.deleteCategories(categoryIds);
320 }
321
322 @Override
323 public void deleteCategory(long categoryId)
324 throws com.liferay.portal.kernel.exception.PortalException {
325 _assetCategoryService.deleteCategory(categoryId);
326 }
327
328 @Override
329 public AssetCategoryService getWrappedService() {
330 return _assetCategoryService;
331 }
332
333 @Override
334 public void setWrappedService(AssetCategoryService assetCategoryService) {
335 _assetCategoryService = assetCategoryService;
336 }
337
338 private AssetCategoryService _assetCategoryService;
339 }