001
014
015 package com.liferay.portlet.asset.service;
016
017
026 public class AssetCategoryLocalServiceWrapper
027 implements AssetCategoryLocalService {
028 public AssetCategoryLocalServiceWrapper(
029 AssetCategoryLocalService assetCategoryLocalService) {
030 _assetCategoryLocalService = assetCategoryLocalService;
031 }
032
033 public com.liferay.portlet.asset.model.AssetCategory addAssetCategory(
034 com.liferay.portlet.asset.model.AssetCategory assetCategory)
035 throws com.liferay.portal.kernel.exception.SystemException {
036 return _assetCategoryLocalService.addAssetCategory(assetCategory);
037 }
038
039 public com.liferay.portlet.asset.model.AssetCategory createAssetCategory(
040 long categoryId) {
041 return _assetCategoryLocalService.createAssetCategory(categoryId);
042 }
043
044 public void deleteAssetCategory(long categoryId)
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException {
047 _assetCategoryLocalService.deleteAssetCategory(categoryId);
048 }
049
050 public void deleteAssetCategory(
051 com.liferay.portlet.asset.model.AssetCategory assetCategory)
052 throws com.liferay.portal.kernel.exception.SystemException {
053 _assetCategoryLocalService.deleteAssetCategory(assetCategory);
054 }
055
056 @SuppressWarnings("unchecked")
057 public java.util.List dynamicQuery(
058 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059 throws com.liferay.portal.kernel.exception.SystemException {
060 return _assetCategoryLocalService.dynamicQuery(dynamicQuery);
061 }
062
063 @SuppressWarnings("unchecked")
064 public java.util.List dynamicQuery(
065 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066 int end) throws com.liferay.portal.kernel.exception.SystemException {
067 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start, end);
068 }
069
070 @SuppressWarnings("unchecked")
071 public java.util.List dynamicQuery(
072 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073 int end,
074 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075 throws com.liferay.portal.kernel.exception.SystemException {
076 return _assetCategoryLocalService.dynamicQuery(dynamicQuery, start,
077 end, orderByComparator);
078 }
079
080 public long dynamicQueryCount(
081 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082 throws com.liferay.portal.kernel.exception.SystemException {
083 return _assetCategoryLocalService.dynamicQueryCount(dynamicQuery);
084 }
085
086 public com.liferay.portlet.asset.model.AssetCategory getAssetCategory(
087 long categoryId)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 return _assetCategoryLocalService.getAssetCategory(categoryId);
091 }
092
093 public com.liferay.portlet.asset.model.AssetCategory getAssetCategoryByUuidAndGroupId(
094 java.lang.String uuid, long groupId)
095 throws com.liferay.portal.kernel.exception.PortalException,
096 com.liferay.portal.kernel.exception.SystemException {
097 return _assetCategoryLocalService.getAssetCategoryByUuidAndGroupId(uuid,
098 groupId);
099 }
100
101 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getAssetCategories(
102 int start, int end)
103 throws com.liferay.portal.kernel.exception.SystemException {
104 return _assetCategoryLocalService.getAssetCategories(start, end);
105 }
106
107 public int getAssetCategoriesCount()
108 throws com.liferay.portal.kernel.exception.SystemException {
109 return _assetCategoryLocalService.getAssetCategoriesCount();
110 }
111
112 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
113 com.liferay.portlet.asset.model.AssetCategory assetCategory)
114 throws com.liferay.portal.kernel.exception.SystemException {
115 return _assetCategoryLocalService.updateAssetCategory(assetCategory);
116 }
117
118 public com.liferay.portlet.asset.model.AssetCategory updateAssetCategory(
119 com.liferay.portlet.asset.model.AssetCategory assetCategory,
120 boolean merge)
121 throws com.liferay.portal.kernel.exception.SystemException {
122 return _assetCategoryLocalService.updateAssetCategory(assetCategory,
123 merge);
124 }
125
126 public com.liferay.portlet.asset.model.AssetCategory addCategory(
127 long userId, long parentCategoryId,
128 java.util.Map<java.util.Locale, java.lang.String> titleMap,
129 long vocabularyId, java.lang.String[] categoryProperties,
130 com.liferay.portal.service.ServiceContext serviceContext)
131 throws com.liferay.portal.kernel.exception.PortalException,
132 com.liferay.portal.kernel.exception.SystemException {
133 return _assetCategoryLocalService.addCategory(userId, parentCategoryId,
134 titleMap, vocabularyId, categoryProperties, serviceContext);
135 }
136
137 public void addCategoryResources(
138 com.liferay.portlet.asset.model.AssetCategory category,
139 boolean addCommunityPermissions, boolean addGuestPermissions)
140 throws com.liferay.portal.kernel.exception.PortalException,
141 com.liferay.portal.kernel.exception.SystemException {
142 _assetCategoryLocalService.addCategoryResources(category,
143 addCommunityPermissions, addGuestPermissions);
144 }
145
146 public void addCategoryResources(
147 com.liferay.portlet.asset.model.AssetCategory category,
148 java.lang.String[] communityPermissions,
149 java.lang.String[] guestPermissions)
150 throws com.liferay.portal.kernel.exception.PortalException,
151 com.liferay.portal.kernel.exception.SystemException {
152 _assetCategoryLocalService.addCategoryResources(category,
153 communityPermissions, guestPermissions);
154 }
155
156 public void deleteCategory(
157 com.liferay.portlet.asset.model.AssetCategory category)
158 throws com.liferay.portal.kernel.exception.PortalException,
159 com.liferay.portal.kernel.exception.SystemException {
160 _assetCategoryLocalService.deleteCategory(category);
161 }
162
163 public void deleteCategory(long categoryId)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException {
166 _assetCategoryLocalService.deleteCategory(categoryId);
167 }
168
169 public void deleteVocabularyCategories(long vocabularyId)
170 throws com.liferay.portal.kernel.exception.PortalException,
171 com.liferay.portal.kernel.exception.SystemException {
172 _assetCategoryLocalService.deleteVocabularyCategories(vocabularyId);
173 }
174
175 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
176 throws com.liferay.portal.kernel.exception.SystemException {
177 return _assetCategoryLocalService.getCategories();
178 }
179
180 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
181 long classNameId, long classPK)
182 throws com.liferay.portal.kernel.exception.SystemException {
183 return _assetCategoryLocalService.getCategories(classNameId, classPK);
184 }
185
186 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
187 java.lang.String className, long classPK)
188 throws com.liferay.portal.kernel.exception.SystemException {
189 return _assetCategoryLocalService.getCategories(className, classPK);
190 }
191
192 public com.liferay.portlet.asset.model.AssetCategory getCategory(
193 long categoryId)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException {
196 return _assetCategoryLocalService.getCategory(categoryId);
197 }
198
199 public long[] getCategoryIds(java.lang.String className, long classPK)
200 throws com.liferay.portal.kernel.exception.SystemException {
201 return _assetCategoryLocalService.getCategoryIds(className, classPK);
202 }
203
204 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
205 long parentCategoryId, int start, int end,
206 com.liferay.portal.kernel.util.OrderByComparator obc)
207 throws com.liferay.portal.kernel.exception.SystemException {
208 return _assetCategoryLocalService.getChildCategories(parentCategoryId,
209 start, end, obc);
210 }
211
212 public int getChildCategoriesCount(long parentCategoryId)
213 throws com.liferay.portal.kernel.exception.SystemException {
214 return _assetCategoryLocalService.getChildCategoriesCount(parentCategoryId);
215 }
216
217 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(
218 long entryId)
219 throws com.liferay.portal.kernel.exception.SystemException {
220 return _assetCategoryLocalService.getEntryCategories(entryId);
221 }
222
223 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
224 long vocabularyId, int start, int end,
225 com.liferay.portal.kernel.util.OrderByComparator obc)
226 throws com.liferay.portal.kernel.exception.SystemException {
227 return _assetCategoryLocalService.getVocabularyCategories(vocabularyId,
228 start, end, obc);
229 }
230
231 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
232 long parentCategoryId, long vocabularyId, int start, int end,
233 com.liferay.portal.kernel.util.OrderByComparator obc)
234 throws com.liferay.portal.kernel.exception.SystemException {
235 return _assetCategoryLocalService.getVocabularyCategories(parentCategoryId,
236 vocabularyId, start, end, obc);
237 }
238
239 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
240 long vocabularyId, int start, int end,
241 com.liferay.portal.kernel.util.OrderByComparator obc)
242 throws com.liferay.portal.kernel.exception.SystemException {
243 return _assetCategoryLocalService.getVocabularyRootCategories(vocabularyId,
244 start, end, obc);
245 }
246
247 public void mergeCategories(long fromCategoryId, long toCategoryId)
248 throws com.liferay.portal.kernel.exception.PortalException,
249 com.liferay.portal.kernel.exception.SystemException {
250 _assetCategoryLocalService.mergeCategories(fromCategoryId, toCategoryId);
251 }
252
253 public com.liferay.portal.kernel.json.JSONArray search(long groupId,
254 java.lang.String name, java.lang.String[] categoryProperties,
255 int start, int end)
256 throws com.liferay.portal.kernel.exception.SystemException {
257 return _assetCategoryLocalService.search(groupId, name,
258 categoryProperties, start, end);
259 }
260
261 public com.liferay.portlet.asset.model.AssetCategory updateCategory(
262 long userId, long categoryId, long parentCategoryId,
263 java.util.Map<java.util.Locale, java.lang.String> titleMap,
264 long vocabularyId, java.lang.String[] categoryProperties,
265 com.liferay.portal.service.ServiceContext serviceContext)
266 throws com.liferay.portal.kernel.exception.PortalException,
267 com.liferay.portal.kernel.exception.SystemException {
268 return _assetCategoryLocalService.updateCategory(userId, categoryId,
269 parentCategoryId, titleMap, vocabularyId, categoryProperties,
270 serviceContext);
271 }
272
273 public AssetCategoryLocalService getWrappedAssetCategoryLocalService() {
274 return _assetCategoryLocalService;
275 }
276
277 private AssetCategoryLocalService _assetCategoryLocalService;
278 }