001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.asset.service.http;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.asset.kernel.service.AssetCategoryServiceUtil;
020    
021    import com.liferay.portal.kernel.log.Log;
022    import com.liferay.portal.kernel.log.LogFactoryUtil;
023    import com.liferay.portal.kernel.util.LocalizationUtil;
024    
025    import java.rmi.RemoteException;
026    
027    import java.util.Locale;
028    import java.util.Map;
029    
030    /**
031     * Provides the SOAP utility for the
032     * {@link AssetCategoryServiceUtil} service utility. The
033     * static methods of this class calls the same methods of the service utility.
034     * However, the signatures are different because it is difficult for SOAP to
035     * support certain types.
036     *
037     * <p>
038     * ServiceBuilder follows certain rules in translating the methods. For example,
039     * if the method in the service utility returns a {@link java.util.List}, that
040     * is translated to an array of {@link com.liferay.asset.kernel.model.AssetCategorySoap}.
041     * If the method in the service utility returns a
042     * {@link com.liferay.asset.kernel.model.AssetCategory}, that is translated to a
043     * {@link com.liferay.asset.kernel.model.AssetCategorySoap}. Methods that SOAP cannot
044     * safely wire are skipped.
045     * </p>
046     *
047     * <p>
048     * The benefits of using the SOAP utility is that it is cross platform
049     * compatible. SOAP allows different languages like Java, .NET, C++, PHP, and
050     * even Perl, to call the generated services. One drawback of SOAP is that it is
051     * slow because it needs to serialize all calls into a text format (XML).
052     * </p>
053     *
054     * <p>
055     * You can see a list of services at http://localhost:8080/api/axis. Set the
056     * property <b>axis.servlet.hosts.allowed</b> in portal.properties to configure
057     * security.
058     * </p>
059     *
060     * <p>
061     * The SOAP utility is only generated for remote services.
062     * </p>
063     *
064     * @author Brian Wing Shun Chan
065     * @see AssetCategoryServiceHttp
066     * @see com.liferay.asset.kernel.model.AssetCategorySoap
067     * @see AssetCategoryServiceUtil
068     * @generated
069     */
070    @ProviderType
071    public class AssetCategoryServiceSoap {
072            public static com.liferay.asset.kernel.model.AssetCategorySoap addCategory(
073                    long groupId, long parentCategoryId,
074                    java.lang.String[] titleMapLanguageIds,
075                    java.lang.String[] titleMapValues,
076                    java.lang.String[] descriptionMapLanguageIds,
077                    java.lang.String[] descriptionMapValues, long vocabularyId,
078                    java.lang.String[] categoryProperties,
079                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
080                    throws RemoteException {
081                    try {
082                            Map<Locale, String> titleMap = LocalizationUtil.getLocalizationMap(titleMapLanguageIds,
083                                            titleMapValues);
084                            Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
085                                            descriptionMapValues);
086    
087                            com.liferay.asset.kernel.model.AssetCategory returnValue = AssetCategoryServiceUtil.addCategory(groupId,
088                                            parentCategoryId, titleMap, descriptionMap, vocabularyId,
089                                            categoryProperties, serviceContext);
090    
091                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModel(returnValue);
092                    }
093                    catch (Exception e) {
094                            _log.error(e, e);
095    
096                            throw new RemoteException(e.getMessage());
097                    }
098            }
099    
100            public static com.liferay.asset.kernel.model.AssetCategorySoap addCategory(
101                    long groupId, java.lang.String title, long vocabularyId,
102                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
103                    throws RemoteException {
104                    try {
105                            com.liferay.asset.kernel.model.AssetCategory returnValue = AssetCategoryServiceUtil.addCategory(groupId,
106                                            title, vocabularyId, serviceContext);
107    
108                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModel(returnValue);
109                    }
110                    catch (Exception e) {
111                            _log.error(e, e);
112    
113                            throw new RemoteException(e.getMessage());
114                    }
115            }
116    
117            public static void deleteCategories(long[] categoryIds)
118                    throws RemoteException {
119                    try {
120                            AssetCategoryServiceUtil.deleteCategories(categoryIds);
121                    }
122                    catch (Exception e) {
123                            _log.error(e, e);
124    
125                            throw new RemoteException(e.getMessage());
126                    }
127            }
128    
129            /**
130            * @deprecated As of 7.0.0, Replaced by {@link #deleteCategories(long[])}
131            */
132            @Deprecated
133            public static com.liferay.asset.kernel.model.AssetCategorySoap[] deleteCategories(
134                    long[] categoryIds,
135                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
136                    throws RemoteException {
137                    try {
138                            java.util.List<com.liferay.asset.kernel.model.AssetCategory> returnValue =
139                                    AssetCategoryServiceUtil.deleteCategories(categoryIds,
140                                            serviceContext);
141    
142                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModels(returnValue);
143                    }
144                    catch (Exception e) {
145                            _log.error(e, e);
146    
147                            throw new RemoteException(e.getMessage());
148                    }
149            }
150    
151            public static void deleteCategory(long categoryId)
152                    throws RemoteException {
153                    try {
154                            AssetCategoryServiceUtil.deleteCategory(categoryId);
155                    }
156                    catch (Exception e) {
157                            _log.error(e, e);
158    
159                            throw new RemoteException(e.getMessage());
160                    }
161            }
162    
163            public static com.liferay.asset.kernel.model.AssetCategorySoap fetchCategory(
164                    long categoryId) throws RemoteException {
165                    try {
166                            com.liferay.asset.kernel.model.AssetCategory returnValue = AssetCategoryServiceUtil.fetchCategory(categoryId);
167    
168                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModel(returnValue);
169                    }
170                    catch (Exception e) {
171                            _log.error(e, e);
172    
173                            throw new RemoteException(e.getMessage());
174                    }
175            }
176    
177            public static com.liferay.asset.kernel.model.AssetCategorySoap[] getCategories(
178                    java.lang.String className, long classPK) throws RemoteException {
179                    try {
180                            java.util.List<com.liferay.asset.kernel.model.AssetCategory> returnValue =
181                                    AssetCategoryServiceUtil.getCategories(className, classPK);
182    
183                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModels(returnValue);
184                    }
185                    catch (Exception e) {
186                            _log.error(e, e);
187    
188                            throw new RemoteException(e.getMessage());
189                    }
190            }
191    
192            public static com.liferay.asset.kernel.model.AssetCategorySoap getCategory(
193                    long categoryId) throws RemoteException {
194                    try {
195                            com.liferay.asset.kernel.model.AssetCategory returnValue = AssetCategoryServiceUtil.getCategory(categoryId);
196    
197                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModel(returnValue);
198                    }
199                    catch (Exception e) {
200                            _log.error(e, e);
201    
202                            throw new RemoteException(e.getMessage());
203                    }
204            }
205    
206            public static java.lang.String getCategoryPath(long categoryId)
207                    throws RemoteException {
208                    try {
209                            java.lang.String returnValue = AssetCategoryServiceUtil.getCategoryPath(categoryId);
210    
211                            return returnValue;
212                    }
213                    catch (Exception e) {
214                            _log.error(e, e);
215    
216                            throw new RemoteException(e.getMessage());
217                    }
218            }
219    
220            public static com.liferay.asset.kernel.model.AssetCategorySoap[] getChildCategories(
221                    long parentCategoryId) throws RemoteException {
222                    try {
223                            java.util.List<com.liferay.asset.kernel.model.AssetCategory> returnValue =
224                                    AssetCategoryServiceUtil.getChildCategories(parentCategoryId);
225    
226                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModels(returnValue);
227                    }
228                    catch (Exception e) {
229                            _log.error(e, e);
230    
231                            throw new RemoteException(e.getMessage());
232                    }
233            }
234    
235            public static com.liferay.asset.kernel.model.AssetCategorySoap[] getChildCategories(
236                    long parentCategoryId, int start, int end,
237                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
238                    throws RemoteException {
239                    try {
240                            java.util.List<com.liferay.asset.kernel.model.AssetCategory> returnValue =
241                                    AssetCategoryServiceUtil.getChildCategories(parentCategoryId,
242                                            start, end, obc);
243    
244                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModels(returnValue);
245                    }
246                    catch (Exception e) {
247                            _log.error(e, e);
248    
249                            throw new RemoteException(e.getMessage());
250                    }
251            }
252    
253            public static com.liferay.asset.kernel.model.AssetCategorySoap[] getVocabularyCategories(
254                    long vocabularyId, int start, int end,
255                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
256                    throws RemoteException {
257                    try {
258                            java.util.List<com.liferay.asset.kernel.model.AssetCategory> returnValue =
259                                    AssetCategoryServiceUtil.getVocabularyCategories(vocabularyId,
260                                            start, end, obc);
261    
262                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModels(returnValue);
263                    }
264                    catch (Exception e) {
265                            _log.error(e, e);
266    
267                            throw new RemoteException(e.getMessage());
268                    }
269            }
270    
271            public static com.liferay.asset.kernel.model.AssetCategorySoap[] getVocabularyCategories(
272                    long parentCategoryId, long vocabularyId, int start, int end,
273                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
274                    throws RemoteException {
275                    try {
276                            java.util.List<com.liferay.asset.kernel.model.AssetCategory> returnValue =
277                                    AssetCategoryServiceUtil.getVocabularyCategories(parentCategoryId,
278                                            vocabularyId, start, end, obc);
279    
280                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModels(returnValue);
281                    }
282                    catch (Exception e) {
283                            _log.error(e, e);
284    
285                            throw new RemoteException(e.getMessage());
286                    }
287            }
288    
289            public static com.liferay.asset.kernel.model.AssetCategorySoap[] getVocabularyCategories(
290                    long groupId, long parentCategoryId, long vocabularyId, int start,
291                    int end,
292                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
293                    throws RemoteException {
294                    try {
295                            java.util.List<com.liferay.asset.kernel.model.AssetCategory> returnValue =
296                                    AssetCategoryServiceUtil.getVocabularyCategories(groupId,
297                                            parentCategoryId, vocabularyId, start, end, obc);
298    
299                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModels(returnValue);
300                    }
301                    catch (Exception e) {
302                            _log.error(e, e);
303    
304                            throw new RemoteException(e.getMessage());
305                    }
306            }
307    
308            public static com.liferay.asset.kernel.model.AssetCategorySoap[] getVocabularyCategories(
309                    long groupId, java.lang.String name, long vocabularyId, int start,
310                    int end,
311                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
312                    throws RemoteException {
313                    try {
314                            java.util.List<com.liferay.asset.kernel.model.AssetCategory> returnValue =
315                                    AssetCategoryServiceUtil.getVocabularyCategories(groupId, name,
316                                            vocabularyId, start, end, obc);
317    
318                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModels(returnValue);
319                    }
320                    catch (Exception e) {
321                            _log.error(e, e);
322    
323                            throw new RemoteException(e.getMessage());
324                    }
325            }
326    
327            public static int getVocabularyCategoriesCount(long groupId,
328                    long vocabularyId) throws RemoteException {
329                    try {
330                            int returnValue = AssetCategoryServiceUtil.getVocabularyCategoriesCount(groupId,
331                                            vocabularyId);
332    
333                            return returnValue;
334                    }
335                    catch (Exception e) {
336                            _log.error(e, e);
337    
338                            throw new RemoteException(e.getMessage());
339                    }
340            }
341    
342            public static int getVocabularyCategoriesCount(long groupId,
343                    long parentCategory, long vocabularyId) throws RemoteException {
344                    try {
345                            int returnValue = AssetCategoryServiceUtil.getVocabularyCategoriesCount(groupId,
346                                            parentCategory, vocabularyId);
347    
348                            return returnValue;
349                    }
350                    catch (Exception e) {
351                            _log.error(e, e);
352    
353                            throw new RemoteException(e.getMessage());
354                    }
355            }
356    
357            public static int getVocabularyCategoriesCount(long groupId,
358                    java.lang.String name, long vocabularyId) throws RemoteException {
359                    try {
360                            int returnValue = AssetCategoryServiceUtil.getVocabularyCategoriesCount(groupId,
361                                            name, vocabularyId);
362    
363                            return returnValue;
364                    }
365                    catch (Exception e) {
366                            _log.error(e, e);
367    
368                            throw new RemoteException(e.getMessage());
369                    }
370            }
371    
372            public static com.liferay.asset.kernel.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
373                    long vocabularyId, int start, int end,
374                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
375                    throws RemoteException {
376                    try {
377                            com.liferay.asset.kernel.model.AssetCategoryDisplay returnValue = AssetCategoryServiceUtil.getVocabularyCategoriesDisplay(vocabularyId,
378                                            start, end, obc);
379    
380                            return returnValue;
381                    }
382                    catch (Exception e) {
383                            _log.error(e, e);
384    
385                            throw new RemoteException(e.getMessage());
386                    }
387            }
388    
389            public static com.liferay.asset.kernel.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(
390                    long groupId, java.lang.String name, long vocabularyId, int start,
391                    int end,
392                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
393                    throws RemoteException {
394                    try {
395                            com.liferay.asset.kernel.model.AssetCategoryDisplay returnValue = AssetCategoryServiceUtil.getVocabularyCategoriesDisplay(groupId,
396                                            name, vocabularyId, start, end, obc);
397    
398                            return returnValue;
399                    }
400                    catch (Exception e) {
401                            _log.error(e, e);
402    
403                            throw new RemoteException(e.getMessage());
404                    }
405            }
406    
407            public static com.liferay.asset.kernel.model.AssetCategorySoap[] getVocabularyRootCategories(
408                    long groupId, long vocabularyId, int start, int end,
409                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
410                    throws RemoteException {
411                    try {
412                            java.util.List<com.liferay.asset.kernel.model.AssetCategory> returnValue =
413                                    AssetCategoryServiceUtil.getVocabularyRootCategories(groupId,
414                                            vocabularyId, start, end, obc);
415    
416                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModels(returnValue);
417                    }
418                    catch (Exception e) {
419                            _log.error(e, e);
420    
421                            throw new RemoteException(e.getMessage());
422                    }
423            }
424    
425            public static int getVocabularyRootCategoriesCount(long groupId,
426                    long vocabularyId) throws RemoteException {
427                    try {
428                            int returnValue = AssetCategoryServiceUtil.getVocabularyRootCategoriesCount(groupId,
429                                            vocabularyId);
430    
431                            return returnValue;
432                    }
433                    catch (Exception e) {
434                            _log.error(e, e);
435    
436                            throw new RemoteException(e.getMessage());
437                    }
438            }
439    
440            public static com.liferay.asset.kernel.model.AssetCategorySoap moveCategory(
441                    long categoryId, long parentCategoryId, long vocabularyId,
442                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
443                    throws RemoteException {
444                    try {
445                            com.liferay.asset.kernel.model.AssetCategory returnValue = AssetCategoryServiceUtil.moveCategory(categoryId,
446                                            parentCategoryId, vocabularyId, serviceContext);
447    
448                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModel(returnValue);
449                    }
450                    catch (Exception e) {
451                            _log.error(e, e);
452    
453                            throw new RemoteException(e.getMessage());
454                    }
455            }
456    
457            public static com.liferay.asset.kernel.model.AssetCategorySoap[] search(
458                    long groupId, java.lang.String keywords, long vocabularyId, int start,
459                    int end,
460                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
461                    throws RemoteException {
462                    try {
463                            java.util.List<com.liferay.asset.kernel.model.AssetCategory> returnValue =
464                                    AssetCategoryServiceUtil.search(groupId, keywords,
465                                            vocabularyId, start, end, obc);
466    
467                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModels(returnValue);
468                    }
469                    catch (Exception e) {
470                            _log.error(e, e);
471    
472                            throw new RemoteException(e.getMessage());
473                    }
474            }
475    
476            public static java.lang.String search(long groupId, java.lang.String name,
477                    java.lang.String[] categoryProperties, int start, int end)
478                    throws RemoteException {
479                    try {
480                            com.liferay.portal.kernel.json.JSONArray returnValue = AssetCategoryServiceUtil.search(groupId,
481                                            name, categoryProperties, start, end);
482    
483                            return returnValue.toString();
484                    }
485                    catch (Exception e) {
486                            _log.error(e, e);
487    
488                            throw new RemoteException(e.getMessage());
489                    }
490            }
491    
492            public static java.lang.String search(long[] groupIds,
493                    java.lang.String name, long[] vocabularyIds, int start, int end)
494                    throws RemoteException {
495                    try {
496                            com.liferay.portal.kernel.json.JSONArray returnValue = AssetCategoryServiceUtil.search(groupIds,
497                                            name, vocabularyIds, start, end);
498    
499                            return returnValue.toString();
500                    }
501                    catch (Exception e) {
502                            _log.error(e, e);
503    
504                            throw new RemoteException(e.getMessage());
505                    }
506            }
507    
508            public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
509                    long groupId, java.lang.String title, long vocabularyId, int start,
510                    int end) throws RemoteException {
511                    try {
512                            com.liferay.asset.kernel.model.AssetCategoryDisplay returnValue = AssetCategoryServiceUtil.searchCategoriesDisplay(groupId,
513                                            title, vocabularyId, start, end);
514    
515                            return returnValue;
516                    }
517                    catch (Exception e) {
518                            _log.error(e, e);
519    
520                            throw new RemoteException(e.getMessage());
521                    }
522            }
523    
524            public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
525                    long groupId, java.lang.String title, long parentCategoryId,
526                    long vocabularyId, int start, int end) throws RemoteException {
527                    try {
528                            com.liferay.asset.kernel.model.AssetCategoryDisplay returnValue = AssetCategoryServiceUtil.searchCategoriesDisplay(groupId,
529                                            title, parentCategoryId, vocabularyId, start, end);
530    
531                            return returnValue;
532                    }
533                    catch (Exception e) {
534                            _log.error(e, e);
535    
536                            throw new RemoteException(e.getMessage());
537                    }
538            }
539    
540            public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
541                    long groupId, java.lang.String title, long vocabularyId,
542                    long parentCategoryId, int start, int end,
543                    com.liferay.portal.kernel.search.Sort sort) throws RemoteException {
544                    try {
545                            com.liferay.asset.kernel.model.AssetCategoryDisplay returnValue = AssetCategoryServiceUtil.searchCategoriesDisplay(groupId,
546                                            title, vocabularyId, parentCategoryId, start, end, sort);
547    
548                            return returnValue;
549                    }
550                    catch (Exception e) {
551                            _log.error(e, e);
552    
553                            throw new RemoteException(e.getMessage());
554                    }
555            }
556    
557            public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
558                    long[] groupIds, java.lang.String title, long[] vocabularyIds,
559                    int start, int end) throws RemoteException {
560                    try {
561                            com.liferay.asset.kernel.model.AssetCategoryDisplay returnValue = AssetCategoryServiceUtil.searchCategoriesDisplay(groupIds,
562                                            title, vocabularyIds, start, end);
563    
564                            return returnValue;
565                    }
566                    catch (Exception e) {
567                            _log.error(e, e);
568    
569                            throw new RemoteException(e.getMessage());
570                    }
571            }
572    
573            public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
574                    long[] groupIds, java.lang.String title, long[] parentCategoryIds,
575                    long[] vocabularyIds, int start, int end) throws RemoteException {
576                    try {
577                            com.liferay.asset.kernel.model.AssetCategoryDisplay returnValue = AssetCategoryServiceUtil.searchCategoriesDisplay(groupIds,
578                                            title, parentCategoryIds, vocabularyIds, start, end);
579    
580                            return returnValue;
581                    }
582                    catch (Exception e) {
583                            _log.error(e, e);
584    
585                            throw new RemoteException(e.getMessage());
586                    }
587            }
588    
589            public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(
590                    long[] groupIds, java.lang.String title, long[] vocabularyIds,
591                    long[] parentCategoryIds, int start, int end,
592                    com.liferay.portal.kernel.search.Sort sort) throws RemoteException {
593                    try {
594                            com.liferay.asset.kernel.model.AssetCategoryDisplay returnValue = AssetCategoryServiceUtil.searchCategoriesDisplay(groupIds,
595                                            title, vocabularyIds, parentCategoryIds, start, end, sort);
596    
597                            return returnValue;
598                    }
599                    catch (Exception e) {
600                            _log.error(e, e);
601    
602                            throw new RemoteException(e.getMessage());
603                    }
604            }
605    
606            public static com.liferay.asset.kernel.model.AssetCategorySoap updateCategory(
607                    long categoryId, long parentCategoryId,
608                    java.lang.String[] titleMapLanguageIds,
609                    java.lang.String[] titleMapValues,
610                    java.lang.String[] descriptionMapLanguageIds,
611                    java.lang.String[] descriptionMapValues, long vocabularyId,
612                    java.lang.String[] categoryProperties,
613                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
614                    throws RemoteException {
615                    try {
616                            Map<Locale, String> titleMap = LocalizationUtil.getLocalizationMap(titleMapLanguageIds,
617                                            titleMapValues);
618                            Map<Locale, String> descriptionMap = LocalizationUtil.getLocalizationMap(descriptionMapLanguageIds,
619                                            descriptionMapValues);
620    
621                            com.liferay.asset.kernel.model.AssetCategory returnValue = AssetCategoryServiceUtil.updateCategory(categoryId,
622                                            parentCategoryId, titleMap, descriptionMap, vocabularyId,
623                                            categoryProperties, serviceContext);
624    
625                            return com.liferay.asset.kernel.model.AssetCategorySoap.toSoapModel(returnValue);
626                    }
627                    catch (Exception e) {
628                            _log.error(e, e);
629    
630                            throw new RemoteException(e.getMessage());
631                    }
632            }
633    
634            private static Log _log = LogFactoryUtil.getLog(AssetCategoryServiceSoap.class);
635    }