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 void deleteCategories(long[] categoryIds)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 _assetCategoryService.deleteCategories(categoryIds);
078 }
079
080 public void deleteCategory(long categoryId)
081 throws com.liferay.portal.kernel.exception.PortalException,
082 com.liferay.portal.kernel.exception.SystemException {
083 _assetCategoryService.deleteCategory(categoryId);
084 }
085
086 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
087 java.lang.String className, long classPK)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 return _assetCategoryService.getCategories(className, classPK);
091 }
092
093 public com.liferay.portlet.asset.model.AssetCategory getCategory(
094 long categoryId)
095 throws com.liferay.portal.kernel.exception.PortalException,
096 com.liferay.portal.kernel.exception.SystemException {
097 return _assetCategoryService.getCategory(categoryId);
098 }
099
100 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
101 long parentCategoryId)
102 throws com.liferay.portal.kernel.exception.PortalException,
103 com.liferay.portal.kernel.exception.SystemException {
104 return _assetCategoryService.getChildCategories(parentCategoryId);
105 }
106
107 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
108 long parentCategoryId, int start, int end,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.kernel.exception.PortalException,
111 com.liferay.portal.kernel.exception.SystemException {
112 return _assetCategoryService.getChildCategories(parentCategoryId,
113 start, end, obc);
114 }
115
116
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.SystemException {
207 return _assetCategoryService.search(groupId, keywords, vocabularyId,
208 start, end, obc);
209 }
210
211 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
212 java.lang.String name, java.lang.String[] categoryProperties,
213 int start, int end)
214 throws com.liferay.portal.kernel.exception.PortalException,
215 com.liferay.portal.kernel.exception.SystemException {
216 return _assetCategoryService.search(groupId, name, categoryProperties,
217 start, end);
218 }
219
220 public com.liferay.portal.kernel.json.JSONArray search(long[] groupIds,
221 java.lang.String name, long[] vocabularyIds, int start, int end)
222 throws com.liferay.portal.kernel.exception.PortalException,
223 com.liferay.portal.kernel.exception.SystemException {
224 return _assetCategoryService.search(groupIds, name, vocabularyIds,
225 start, end);
226 }
227
228 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
229 long categoryId, long parentCategoryId,
230 java.util.Map<java.util.Locale, java.lang.String> titleMap,
231 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
232 long vocabularyId, java.lang.String[] categoryProperties,
233 com.liferay.portal.service.ServiceContext serviceContext)
234 throws com.liferay.portal.kernel.exception.PortalException,
235 com.liferay.portal.kernel.exception.SystemException {
236 return _assetCategoryService.updateCategory(categoryId,
237 parentCategoryId, titleMap, descriptionMap, vocabularyId,
238 categoryProperties, serviceContext);
239 }
240
241
244 public AssetCategoryService getWrappedAssetCategoryService() {
245 return _assetCategoryService;
246 }
247
248
251 public void setWrappedAssetCategoryService(
252 AssetCategoryService assetCategoryService) {
253 _assetCategoryService = assetCategoryService;
254 }
255
256 public AssetCategoryService getWrappedService() {
257 return _assetCategoryService;
258 }
259
260 public void setWrappedService(AssetCategoryService assetCategoryService) {
261 _assetCategoryService = assetCategoryService;
262 }
263
264 private AssetCategoryService _assetCategoryService;
265 }