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