1
14
15 package com.liferay.portlet.asset.service;
16
17
18
34 public class AssetCategoryLocalServiceWrapper
35 implements AssetCategoryLocalService {
36 public AssetCategoryLocalServiceWrapper(
37 AssetCategoryLocalService assetCategoryLocalService) {
38 _assetCategoryLocalService = assetCategoryLocalService;
39 }
40
41 public com.liferay.portlet.asset.model.AssetCategory addAssetCategory(
42 com.liferay.portlet.asset.model.AssetCategory assetCategory)
43 throws com.liferay.portal.kernel.exception.SystemException {
44 return _assetCategoryLocalService.addAssetCategory(assetCategory);
45 }
46
47 public com.liferay.portlet.asset.model.AssetCategory createAssetCategory(
48 long categoryId) {
49 return _assetCategoryLocalService.createAssetCategory(categoryId);
50 }
51
52 public void deleteAssetCategory(long categoryId)
53 throws com.liferay.portal.kernel.exception.PortalException,
54 com.liferay.portal.kernel.exception.SystemException {
55 _assetCategoryLocalService.deleteAssetCategory(categoryId);
56 }
57
58 public void deleteAssetCategory(
59 com.liferay.portlet.asset.model.AssetCategory assetCategory)
60 throws com.liferay.portal.kernel.exception.SystemException {
61 _assetCategoryLocalService.deleteAssetCategory(assetCategory);
62 }
63
64 @SuppressWarnings("unchecked")
65 public java.util.List dynamicQuery(
66 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67 throws com.liferay.portal.kernel.exception.SystemException {
68 return _assetCategoryLocalService.dynamicQuery(dynamicQuery);
69 }
70
71 @SuppressWarnings("unchecked")
72 public java.util.List dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end) throws com.liferay.portal.kernel.exception.SystemException {
75 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
76 }
77
78 @SuppressWarnings("unchecked")
79 public java.util.List dynamicQuery(
80 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
81 int end,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.kernel.exception.SystemException {
84 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start,
85 end, orderByComparator);
86 }
87
88 public long dynamicQueryCount(
89 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
90 throws com.liferay.portal.kernel.exception.SystemException {
91 return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery);
92 }
93
94 public com.liferay.portlet.asset.model.AssetCategory getAssetCategory(
95 long categoryId)
96 throws com.liferay.portal.kernel.exception.PortalException,
97 com.liferay.portal.kernel.exception.SystemException {
98 return _assetCategoryLocalService.getAssetCategory(categoryId);
99 }
100
101 public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndGroupId(
102 java.lang.String uuid, long groupId)
103 throws com.liferay.portal.kernel.exception.PortalException,
104 com.liferay.portal.kernel.exception.SystemException {
105 return _assetCategoryLocalService.getAssetCategoryByUuidAndGroupId(uuid,
106 groupId);
107 }
108
109 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
110 int start, int end)
111 throws com.liferay.portal.kernel.exception.SystemException {
112 return _assetCategoryLocalService.getAssetCategories(start, end);
113 }
114
115 public int getAssetCategoriesCount()
116 throws com.liferay.portal.kernel.exception.SystemException {
117 return _assetCategoryLocalService.getAssetCategoriesCount();
118 }
119
120 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
121 com.liferay.portlet.asset.model.AssetCategory assetCategory)
122 throws com.liferay.portal.kernel.exception.SystemException {
123 return _assetCategoryLocalService.updateAssetCategory(assetCategory);
124 }
125
126 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
127 com.liferay.portlet.asset.model.AssetCategory assetCategory,
128 boolean merge)
129 throws com.liferay.portal.kernel.exception.SystemException {
130 return _assetCategoryLocalService.updateAssetCategory(assetCategory,
131 merge);
132 }
133
134 public com.liferay.portlet.asset.model.AssetCategory addCategory(
135 java.lang.String uuid, long userId, long parentCategoryId,
136 java.util.Map<java.util.Locale, java.lang.String> titleMap,
137 long vocabularyId, java.lang.String[] categoryProperties,
138 com.liferay.portal.service.ServiceContext serviceContext)
139 throws com.liferay.portal.kernel.exception.PortalException,
140 com.liferay.portal.kernel.exception.SystemException {
141 return _assetCategoryLocalService.addCategory(uuid, userId,
142 parentCategoryId, titleMap, vocabularyId, categoryProperties,
143 serviceContext);
144 }
145
146 public void addCategoryResources(
147 com.liferay.portlet.asset.model.AssetCategory category,
148 boolean addCommunityPermissions, boolean addGuestPermissions)
149 throws com.liferay.portal.kernel.exception.PortalException,
150 com.liferay.portal.kernel.exception.SystemException {
151 _assetCategoryLocalService.addCategoryResources(category,
152 addCommunityPermissions, addGuestPermissions);
153 }
154
155 public void addCategoryResources(
156 com.liferay.portlet.asset.model.AssetCategory category,
157 java.lang.String[] communityPermissions,
158 java.lang.String[] guestPermissions)
159 throws com.liferay.portal.kernel.exception.PortalException,
160 com.liferay.portal.kernel.exception.SystemException {
161 _assetCategoryLocalService.addCategoryResources(category,
162 communityPermissions, guestPermissions);
163 }
164
165 public void deleteCategory(
166 com.liferay.portlet.asset.model.AssetCategory category)
167 throws com.liferay.portal.kernel.exception.PortalException,
168 com.liferay.portal.kernel.exception.SystemException {
169 _assetCategoryLocalService.deleteCategory(category);
170 }
171
172 public void deleteCategory(long categoryId)
173 throws com.liferay.portal.kernel.exception.PortalException,
174 com.liferay.portal.kernel.exception.SystemException {
175 _assetCategoryLocalService.deleteCategory(categoryId);
176 }
177
178 public void deleteVocabularyCategories(long vocabularyId)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 _assetCategoryLocalService.deleteVocabularyCategories(vocabularyId);
182 }
183
184 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
185 throws com.liferay.portal.kernel.exception.SystemException {
186 return _assetCategoryLocalService.getCategories();
187 }
188
189 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
190 long classNameId, long classPK)
191 throws com.liferay.portal.kernel.exception.SystemException {
192 return _assetCategoryLocalService.getCategories(classNameId, classPK);
193 }
194
195 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
196 java.lang.String className, long classPK)
197 throws com.liferay.portal.kernel.exception.SystemException {
198 return _assetCategoryLocalService.getCategories(className, classPK);
199 }
200
201 public com.liferay.portlet.asset.model.AssetCategory getCategory(
202 long categoryId)
203 throws com.liferay.portal.kernel.exception.PortalException,
204 com.liferay.portal.kernel.exception.SystemException {
205 return _assetCategoryLocalService.getCategory(categoryId);
206 }
207
208 public long[] getCategoryIds(java.lang.String className, long classPK)
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return _assetCategoryLocalService.getCategoryIds(className, classPK);
211 }
212
213 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
214 long parentCategoryId, int start, int end,
215 com.liferay.portal.kernel.util.OrderByComparator obc)
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _assetCategoryLocalService.getChildCategories(parentCategoryId,
218 start, end, obc);
219 }
220
221 public int getChildCategoriesCount(long parentCategoryId)
222 throws com.liferay.portal.kernel.exception.SystemException {
223 return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
224 }
225
226 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
227 long entryId)
228 throws com.liferay.portal.kernel.exception.SystemException {
229 return _assetCategoryLocalService.getEntryCategories(entryId);
230 }
231
232 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
233 long vocabularyId, int start, int end,
234 com.liferay.portal.kernel.util.OrderByComparator obc)
235 throws com.liferay.portal.kernel.exception.SystemException {
236 return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
237 start, end, obc);
238 }
239
240 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
241 long parentCategoryId, long vocabularyId, int start, int end,
242 com.liferay.portal.kernel.util.OrderByComparator obc)
243 throws com.liferay.portal.kernel.exception.SystemException {
244 return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
245 vocabularyId, start, end, obc);
246 }
247
248 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
249 long vocabularyId, int start, int end,
250 com.liferay.portal.kernel.util.OrderByComparator obc)
251 throws com.liferay.portal.kernel.exception.SystemException {
252 return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
253 start, end, obc);
254 }
255
256 public void mergeCategories(long fromCategoryId, long toCategoryId)
257 throws com.liferay.portal.kernel.exception.PortalException,
258 com.liferay.portal.kernel.exception.SystemException {
259 _assetCategoryLocalService.mergeCategories(fromCategoryId, toCategoryId);
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.SystemException {
266 return _assetCategoryLocalService.search(groupId, name,
267 categoryProperties, start, end);
268 }
269
270 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
271 long userId, long categoryId, long parentCategoryId,
272 java.util.Map<java.util.Locale, java.lang.String> titleMap,
273 long vocabularyId, java.lang.String[] categoryProperties,
274 com.liferay.portal.service.ServiceContext serviceContext)
275 throws com.liferay.portal.kernel.exception.PortalException,
276 com.liferay.portal.kernel.exception.SystemException {
277 return _assetCategoryLocalService.updateCategory(userId, categoryId,
278 parentCategoryId, titleMap, vocabularyId, categoryProperties,
279 serviceContext);
280 }
281
282 public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
283 return _assetCategoryLocalService;
284 }
285
286 private AssetCategoryLocalService _assetCategoryLocalService;
287 }