001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.asset.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link AssetCategoryService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AssetCategoryService
024     * @generated
025     */
026    public class AssetCategoryServiceWrapper implements AssetCategoryService {
027            public AssetCategoryServiceWrapper(
028                    AssetCategoryService assetCategoryService) {
029                    _assetCategoryService = assetCategoryService;
030            }
031    
032            public com.liferay.portlet.asset.model.AssetCategory addCategory(
033                    long parentCategoryId,
034                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
035                    long vocabularyId, java.lang.String[] categoryProperties,
036                    com.liferay.portal.service.ServiceContext serviceContext)
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException {
039                    return _assetCategoryService.addCategory(parentCategoryId, titleMap,
040                            vocabularyId, categoryProperties, serviceContext);
041            }
042    
043            public void deleteCategory(long categoryId)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    _assetCategoryService.deleteCategory(categoryId);
047            }
048    
049            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(
050                    java.lang.String className, long classPK)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    return _assetCategoryService.getCategories(className, classPK);
054            }
055    
056            public com.liferay.portlet.asset.model.AssetCategory getCategory(
057                    long categoryId)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _assetCategoryService.getCategory(categoryId);
061            }
062    
063            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
064                    long parentCategoryId)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    return _assetCategoryService.getChildCategories(parentCategoryId);
068            }
069    
070            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(
071                    long parentCategoryId, int start, int end,
072                    com.liferay.portal.kernel.util.OrderByComparator obc)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _assetCategoryService.getChildCategories(parentCategoryId,
076                            start, end, obc);
077            }
078    
079            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
080                    long vocabularyId, int start, int end,
081                    com.liferay.portal.kernel.util.OrderByComparator obc)
082                    throws com.liferay.portal.kernel.exception.PortalException,
083                            com.liferay.portal.kernel.exception.SystemException {
084                    return _assetCategoryService.getVocabularyCategories(vocabularyId,
085                            start, end, obc);
086            }
087    
088            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(
089                    long parentCategoryId, long vocabularyId, int start, int end,
090                    com.liferay.portal.kernel.util.OrderByComparator obc)
091                    throws com.liferay.portal.kernel.exception.PortalException,
092                            com.liferay.portal.kernel.exception.SystemException {
093                    return _assetCategoryService.getVocabularyCategories(parentCategoryId,
094                            vocabularyId, start, end, obc);
095            }
096    
097            public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(
098                    long vocabularyId, int start, int end,
099                    com.liferay.portal.kernel.util.OrderByComparator obc)
100                    throws com.liferay.portal.kernel.exception.PortalException,
101                            com.liferay.portal.kernel.exception.SystemException {
102                    return _assetCategoryService.getVocabularyRootCategories(vocabularyId,
103                            start, end, obc);
104            }
105    
106            public com.liferay.portal.kernel.json.JSONArray search(long groupId,
107                    java.lang.String name, java.lang.String[] categoryProperties,
108                    int start, int end)
109                    throws com.liferay.portal.kernel.exception.PortalException,
110                            com.liferay.portal.kernel.exception.SystemException {
111                    return _assetCategoryService.search(groupId, name, categoryProperties,
112                            start, end);
113            }
114    
115            public com.liferay.portlet.asset.model.AssetCategory updateCategory(
116                    long categoryId, long parentCategoryId,
117                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
118                    long vocabularyId, java.lang.String[] categoryProperties,
119                    com.liferay.portal.service.ServiceContext serviceContext)
120                    throws com.liferay.portal.kernel.exception.PortalException,
121                            com.liferay.portal.kernel.exception.SystemException {
122                    return _assetCategoryService.updateCategory(categoryId,
123                            parentCategoryId, titleMap, vocabularyId, categoryProperties,
124                            serviceContext);
125            }
126    
127            public AssetCategoryService getWrappedAssetCategoryService() {
128                    return _assetCategoryService;
129            }
130    
131            private AssetCategoryService _assetCategoryService;
132    }