001 /** 002 * Copyright (c) 2000-2013 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; 016 017 import com.liferay.portal.service.ServiceWrapper; 018 019 /** 020 * <p> 021 * This class is a wrapper for {@link AssetTagPropertyService}. 022 * </p> 023 * 024 * @author Brian Wing Shun Chan 025 * @see AssetTagPropertyService 026 * @generated 027 */ 028 public class AssetTagPropertyServiceWrapper implements AssetTagPropertyService, 029 ServiceWrapper<AssetTagPropertyService> { 030 public AssetTagPropertyServiceWrapper( 031 AssetTagPropertyService assetTagPropertyService) { 032 _assetTagPropertyService = assetTagPropertyService; 033 } 034 035 /** 036 * Returns the Spring bean ID for this bean. 037 * 038 * @return the Spring bean ID for this bean 039 */ 040 public java.lang.String getBeanIdentifier() { 041 return _assetTagPropertyService.getBeanIdentifier(); 042 } 043 044 /** 045 * Sets the Spring bean ID for this bean. 046 * 047 * @param beanIdentifier the Spring bean ID for this bean 048 */ 049 public void setBeanIdentifier(java.lang.String beanIdentifier) { 050 _assetTagPropertyService.setBeanIdentifier(beanIdentifier); 051 } 052 053 /** 054 * Adds an asset tag property. 055 * 056 * @param tagId the primary key of the tag 057 * @param key the key to be associated to the value 058 * @param value the value to which the key will refer 059 * @return the created asset tag property 060 * @throws PortalException if the user did not have permission to update the 061 asset tag, or if the key or value were invalid 062 * @throws SystemException if a system exception occurred 063 */ 064 public com.liferay.portlet.asset.model.AssetTagProperty addTagProperty( 065 long tagId, java.lang.String key, java.lang.String value) 066 throws com.liferay.portal.kernel.exception.PortalException, 067 com.liferay.portal.kernel.exception.SystemException { 068 return _assetTagPropertyService.addTagProperty(tagId, key, value); 069 } 070 071 /** 072 * Deletes the asset tag property with the specified ID. 073 * 074 * @param tagPropertyId the primary key of the asset tag property instance 075 * @throws PortalException if an asset tag property with the primary key 076 could not be found or if the user did not have permission to 077 update the asset tag property 078 * @throws SystemException if a system exception occurred 079 */ 080 public void deleteTagProperty(long tagPropertyId) 081 throws com.liferay.portal.kernel.exception.PortalException, 082 com.liferay.portal.kernel.exception.SystemException { 083 _assetTagPropertyService.deleteTagProperty(tagPropertyId); 084 } 085 086 /** 087 * Returns all the asset tag property instances with the specified tag ID. 088 * 089 * @param tagId the primary key of the tag 090 * @return the matching asset tag properties 091 * @throws SystemException if a system exception occurred 092 */ 093 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties( 094 long tagId) throws com.liferay.portal.kernel.exception.SystemException { 095 return _assetTagPropertyService.getTagProperties(tagId); 096 } 097 098 /** 099 * Returns asset tag properties with the specified group and key. 100 * 101 * @param companyId the primary key of the company 102 * @param key the key that refers to some value 103 * @return the matching asset tag properties 104 * @throws SystemException if a system exception occurred 105 */ 106 public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagPropertyValues( 107 long companyId, java.lang.String key) 108 throws com.liferay.portal.kernel.exception.SystemException { 109 return _assetTagPropertyService.getTagPropertyValues(companyId, key); 110 } 111 112 /** 113 * Updates the asset tag property. 114 * 115 * @param tagPropertyId the primary key of the asset tag property 116 * @param key the new key to be associated to the value 117 * @param value the new value to which the key will refer 118 * @return the updated asset tag property 119 * @throws PortalException if an asset tag property with the primary key 120 could not be found, if the user did not have permission to update 121 the asset tag, or if the key or value were invalid 122 * @throws SystemException if a system exception occurred 123 */ 124 public com.liferay.portlet.asset.model.AssetTagProperty updateTagProperty( 125 long tagPropertyId, java.lang.String key, java.lang.String value) 126 throws com.liferay.portal.kernel.exception.PortalException, 127 com.liferay.portal.kernel.exception.SystemException { 128 return _assetTagPropertyService.updateTagProperty(tagPropertyId, key, 129 value); 130 } 131 132 /** 133 * @deprecated Renamed to {@link #getWrappedService} 134 */ 135 public AssetTagPropertyService getWrappedAssetTagPropertyService() { 136 return _assetTagPropertyService; 137 } 138 139 /** 140 * @deprecated Renamed to {@link #setWrappedService} 141 */ 142 public void setWrappedAssetTagPropertyService( 143 AssetTagPropertyService assetTagPropertyService) { 144 _assetTagPropertyService = assetTagPropertyService; 145 } 146 147 public AssetTagPropertyService getWrappedService() { 148 return _assetTagPropertyService; 149 } 150 151 public void setWrappedService( 152 AssetTagPropertyService assetTagPropertyService) { 153 _assetTagPropertyService = assetTagPropertyService; 154 } 155 156 private AssetTagPropertyService _assetTagPropertyService; 157 }