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
069 public void deleteCategories(long[] categoryIds)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 _assetCategoryService.deleteCategories(categoryIds);
073 }
074
075 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> deleteCategories(
076 long[] categoryIds,
077 com.liferay.portal.service.ServiceContext serviceContext)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException {
080 return _assetCategoryService.deleteCategories(categoryIds,
081 serviceContext);
082 }
083
084 public void deleteCategory(long categoryId)
085 throws com.liferay.portal.kernel.exception.PortalException,
086 com.liferay.portal.kernel.exception.SystemException {
087 _assetCategoryService.deleteCategory(categoryId);
088 }
089
090 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
091 java.lang.String className, long classPK)
092 throws com.liferay.portal.kernel.exception.PortalException,
093 com.liferay.portal.kernel.exception.SystemException {
094 return _assetCategoryService.getCategories(className, classPK);
095 }
096
097 public com.liferay.portlet.asset.model.AssetCategory getCategory(
098 long categoryId)
099 throws com.liferay.portal.kernel.exception.PortalException,
100 com.liferay.portal.kernel.exception.SystemException {
101 return _assetCategoryService.getCategory(categoryId);
102 }
103
104 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
105 long parentCategoryId)
106 throws com.liferay.portal.kernel.exception.PortalException,
107 com.liferay.portal.kernel.exception.SystemException {
108 return _assetCategoryService.getChildCategories(parentCategoryId);
109 }
110
111 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
112 long parentCategoryId, int start, int end,
113 com.liferay.portal.kernel.util.OrderByComparator obc)
114 throws com.liferay.portal.kernel.exception.PortalException,
115 com.liferay.portal.kernel.exception.SystemException {
116 return _assetCategoryService.getChildCategories(parentCategoryId,
117 start, end, obc);
118 }
119
120
123 public com.liferay.portal.kernel.json.JSONArray getJSONSearch(
124 long groupId, java.lang.String keywords, long vocabularyId, int start,
125 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
126 throws com.liferay.portal.kernel.exception.PortalException,
127 com.liferay.portal.kernel.exception.SystemException {
128 return _assetCategoryService.getJSONSearch(groupId, keywords,
129 vocabularyId, start, end, obc);
130 }
131
132
135 public com.liferay.portal.kernel.json.JSONArray getJSONSearch(
136 long groupId, java.lang.String name, long[] vocabularyIds, int start,
137 int end)
138 throws com.liferay.portal.kernel.exception.PortalException,
139 com.liferay.portal.kernel.exception.SystemException {
140 return _assetCategoryService.getJSONSearch(groupId, name,
141 vocabularyIds, start, end);
142 }
143
144 public com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(
145 long vocabularyId, int start, int end,
146 com.liferay.portal.kernel.util.OrderByComparator obc)
147 throws com.liferay.portal.kernel.exception.PortalException,
148 com.liferay.portal.kernel.exception.SystemException {
149 return _assetCategoryService.getJSONVocabularyCategories(vocabularyId,
150 start, end, obc);
151 }
152
153 public com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(
154 long groupId, java.lang.String name, long vocabularyId, int start,
155 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
156 throws com.liferay.portal.kernel.exception.PortalException,
157 com.liferay.portal.kernel.exception.SystemException {
158 return _assetCategoryService.getJSONVocabularyCategories(groupId, name,
159 vocabularyId, start, end, obc);
160 }
161
162 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
163 long vocabularyId, int start, int end,
164 com.liferay.portal.kernel.util.OrderByComparator obc)
165 throws com.liferay.portal.kernel.exception.PortalException,
166 com.liferay.portal.kernel.exception.SystemException {
167 return _assetCategoryService.getVocabularyCategories(vocabularyId,
168 start, end, obc);
169 }
170
171 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
172 long parentCategoryId, long vocabularyId, int start, int end,
173 com.liferay.portal.kernel.util.OrderByComparator obc)
174 throws com.liferay.portal.kernel.exception.PortalException,
175 com.liferay.portal.kernel.exception.SystemException {
176 return _assetCategoryService.getVocabularyCategories(parentCategoryId,
177 vocabularyId, start, end, obc);
178 }
179
180 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
181 long groupId, java.lang.String name, long vocabularyId, int start,
182 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.kernel.exception.SystemException {
184 return _assetCategoryService.getVocabularyCategories(groupId, name,
185 vocabularyId, start, end, obc);
186 }
187
188 public int getVocabularyCategoriesCount(long groupId, long vocabularyId)
189 throws com.liferay.portal.kernel.exception.SystemException {
190 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
191 vocabularyId);
192 }
193
194 public int getVocabularyCategoriesCount(long groupId,
195 java.lang.String name, long vocabularyId)
196 throws com.liferay.portal.kernel.exception.SystemException {
197 return _assetCategoryService.getVocabularyCategoriesCount(groupId,
198 name, vocabularyId);
199 }
200
201
205 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
206 long vocabularyId, int start, int end,
207 com.liferay.portal.kernel.util.OrderByComparator obc)
208 throws com.liferay.portal.kernel.exception.PortalException,
209 com.liferay.portal.kernel.exception.SystemException {
210 return _assetCategoryService.getVocabularyRootCategories(vocabularyId,
211 start, end, obc);
212 }
213
214 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
215 long groupId, long vocabularyId, int start, int end,
216 com.liferay.portal.kernel.util.OrderByComparator obc)
217 throws com.liferay.portal.kernel.exception.SystemException {
218 return _assetCategoryService.getVocabularyRootCategories(groupId,
219 vocabularyId, start, end, obc);
220 }
221
222 public int getVocabularyRootCategoriesCount(long groupId, long vocabularyId)
223 throws com.liferay.portal.kernel.exception.SystemException {
224 return _assetCategoryService.getVocabularyRootCategoriesCount(groupId,
225 vocabularyId);
226 }
227
228 public com.liferay.portlet.asset.model.AssetCategory moveCategory(
229 long categoryId, long parentCategoryId, long vocabularyId,
230 com.liferay.portal.service.ServiceContext serviceContext)
231 throws com.liferay.portal.kernel.exception.PortalException,
232 com.liferay.portal.kernel.exception.SystemException {
233 return _assetCategoryService.moveCategory(categoryId, parentCategoryId,
234 vocabularyId, serviceContext);
235 }
236
237 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(
238 long groupId, java.lang.String keywords, long vocabularyId, int start,
239 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
240 throws com.liferay.portal.kernel.exception.SystemException {
241 return _assetCategoryService.search(groupId, keywords, vocabularyId,
242 start, end, obc);
243 }
244
245 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
246 java.lang.String name, java.lang.String[] categoryProperties,
247 int start, int end)
248 throws com.liferay.portal.kernel.exception.PortalException,
249 com.liferay.portal.kernel.exception.SystemException {
250 return _assetCategoryService.search(groupId, name, categoryProperties,
251 start, end);
252 }
253
254 public com.liferay.portal.kernel.json.JSONArray search(long[] groupIds,
255 java.lang.String name, long[] vocabularyIds, int start, int end)
256 throws com.liferay.portal.kernel.exception.PortalException,
257 com.liferay.portal.kernel.exception.SystemException {
258 return _assetCategoryService.search(groupIds, name, vocabularyIds,
259 start, end);
260 }
261
262 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
263 long categoryId, long parentCategoryId,
264 java.util.Map<java.util.Locale, java.lang.String> titleMap,
265 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
266 long vocabularyId, java.lang.String[] categoryProperties,
267 com.liferay.portal.service.ServiceContext serviceContext)
268 throws com.liferay.portal.kernel.exception.PortalException,
269 com.liferay.portal.kernel.exception.SystemException {
270 return _assetCategoryService.updateCategory(categoryId,
271 parentCategoryId, titleMap, descriptionMap, vocabularyId,
272 categoryProperties, serviceContext);
273 }
274
275
278 public AssetCategoryService getWrappedAssetCategoryService() {
279 return _assetCategoryService;
280 }
281
282
285 public void setWrappedAssetCategoryService(
286 AssetCategoryService assetCategoryService) {
287 _assetCategoryService = assetCategoryService;
288 }
289
290 public AssetCategoryService getWrappedService() {
291 return _assetCategoryService;
292 }
293
294 public void setWrappedService(AssetCategoryService assetCategoryService) {
295 _assetCategoryService = assetCategoryService;
296 }
297
298 private AssetCategoryService _assetCategoryService;
299 }