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