1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.asset.service;
16  
17  
18  /**
19   * <a href="AssetCategoryPropertyServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link AssetCategoryPropertyService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       AssetCategoryPropertyService
32   * @generated
33   */
34  public class AssetCategoryPropertyServiceWrapper
35      implements AssetCategoryPropertyService {
36      public AssetCategoryPropertyServiceWrapper(
37          AssetCategoryPropertyService assetCategoryPropertyService) {
38          _assetCategoryPropertyService = assetCategoryPropertyService;
39      }
40  
41      public com.liferay.portlet.asset.model.AssetCategoryProperty addCategoryProperty(
42          long entryId, java.lang.String key, java.lang.String value)
43          throws com.liferay.portal.kernel.exception.PortalException,
44              com.liferay.portal.kernel.exception.SystemException {
45          return _assetCategoryPropertyService.addCategoryProperty(entryId, key,
46              value);
47      }
48  
49      public void deleteCategoryProperty(long categoryPropertyId)
50          throws com.liferay.portal.kernel.exception.PortalException,
51              com.liferay.portal.kernel.exception.SystemException {
52          _assetCategoryPropertyService.deleteCategoryProperty(categoryPropertyId);
53      }
54  
55      public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryProperties(
56          long entryId)
57          throws com.liferay.portal.kernel.exception.SystemException {
58          return _assetCategoryPropertyService.getCategoryProperties(entryId);
59      }
60  
61      public java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryPropertyValues(
62          long companyId, java.lang.String key)
63          throws com.liferay.portal.kernel.exception.SystemException {
64          return _assetCategoryPropertyService.getCategoryPropertyValues(companyId,
65              key);
66      }
67  
68      public com.liferay.portlet.asset.model.AssetCategoryProperty updateCategoryProperty(
69          long categoryPropertyId, java.lang.String key, java.lang.String value)
70          throws com.liferay.portal.kernel.exception.PortalException,
71              com.liferay.portal.kernel.exception.SystemException {
72          return _assetCategoryPropertyService.updateCategoryProperty(categoryPropertyId,
73              key, value);
74      }
75  
76      public AssetCategoryPropertyService getWrappedAssetCategoryPropertyService() {
77          return _assetCategoryPropertyService;
78      }
79  
80      private AssetCategoryPropertyService _assetCategoryPropertyService;
81  }