Liferay 6.1.2-ce-ga3

com.liferay.portlet.asset.service
Class AssetTagPropertyServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.asset.service.AssetTagPropertyServiceWrapper
All Implemented Interfaces:
BaseService, ServiceWrapper<AssetTagPropertyService>, AssetTagPropertyService

public class AssetTagPropertyServiceWrapper
extends Object
implements AssetTagPropertyService, ServiceWrapper<AssetTagPropertyService>

This class is a wrapper for AssetTagPropertyService.

See Also:
AssetTagPropertyService

Constructor Summary
AssetTagPropertyServiceWrapper(AssetTagPropertyService assetTagPropertyService)
           
 
Method Summary
 AssetTagProperty addTagProperty(long tagId, String key, String value)
          Adds an asset tag property.
 void deleteTagProperty(long tagPropertyId)
          Deletes the asset tag property with the specified ID.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<AssetTagProperty> getTagProperties(long tagId)
          Returns all the asset tag property instances with the specified tag ID.
 List<AssetTagProperty> getTagPropertyValues(long companyId, String key)
          Returns asset tag properties with the specified group and key.
 AssetTagPropertyService getWrappedAssetTagPropertyService()
          Deprecated. Renamed to getWrappedService()
 AssetTagPropertyService getWrappedService()
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedAssetTagPropertyService(AssetTagPropertyService assetTagPropertyService)
          Deprecated. Renamed to setWrappedService(com.liferay.portlet.asset.service.AssetTagPropertyService)
 void setWrappedService(AssetTagPropertyService assetTagPropertyService)
           
 AssetTagProperty updateTagProperty(long tagPropertyId, String key, String value)
          Updates the asset tag property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetTagPropertyServiceWrapper

public AssetTagPropertyServiceWrapper(AssetTagPropertyService assetTagPropertyService)
Method Detail

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface AssetTagPropertyService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface AssetTagPropertyService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addTagProperty

public AssetTagProperty addTagProperty(long tagId,
                                       String key,
                                       String value)
                                throws PortalException,
                                       SystemException
Adds an asset tag property.

Specified by:
addTagProperty in interface AssetTagPropertyService
Parameters:
tagId - the primary key of the tag
key - the key to be associated to the value
value - the value to which the key will refer
Returns:
the created asset tag property
Throws:
PortalException - if the user did not have permission to update the asset tag, or if the key or value were invalid
SystemException - if a system exception occurred

deleteTagProperty

public void deleteTagProperty(long tagPropertyId)
                       throws PortalException,
                              SystemException
Deletes the asset tag property with the specified ID.

Specified by:
deleteTagProperty in interface AssetTagPropertyService
Parameters:
tagPropertyId - the primary key of the asset tag property instance
Throws:
PortalException - if an asset tag property with the primary key could not be found or if the user did not have permission to update the asset tag property
SystemException - if a system exception occurred

getTagProperties

public List<AssetTagProperty> getTagProperties(long tagId)
                                        throws SystemException
Returns all the asset tag property instances with the specified tag ID.

Specified by:
getTagProperties in interface AssetTagPropertyService
Parameters:
tagId - the primary key of the tag
Returns:
the matching asset tag properties
Throws:
SystemException - if a system exception occurred

getTagPropertyValues

public List<AssetTagProperty> getTagPropertyValues(long companyId,
                                                   String key)
                                            throws SystemException
Returns asset tag properties with the specified group and key.

Specified by:
getTagPropertyValues in interface AssetTagPropertyService
Parameters:
companyId - the primary key of the company
key - the key that refers to some value
Returns:
the matching asset tag properties
Throws:
SystemException - if a system exception occurred

updateTagProperty

public AssetTagProperty updateTagProperty(long tagPropertyId,
                                          String key,
                                          String value)
                                   throws PortalException,
                                          SystemException
Updates the asset tag property.

Specified by:
updateTagProperty in interface AssetTagPropertyService
Parameters:
tagPropertyId - the primary key of the asset tag property
key - the new key to be associated to the value
value - the new value to which the key will refer
Returns:
the updated asset tag property
Throws:
PortalException - if an asset tag property with the primary key could not be found, if the user did not have permission to update the asset tag, or if the key or value were invalid
SystemException - if a system exception occurred

getWrappedAssetTagPropertyService

public AssetTagPropertyService getWrappedAssetTagPropertyService()
Deprecated. Renamed to getWrappedService()


setWrappedAssetTagPropertyService

public void setWrappedAssetTagPropertyService(AssetTagPropertyService assetTagPropertyService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.asset.service.AssetTagPropertyService)


getWrappedService

public AssetTagPropertyService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<AssetTagPropertyService>

setWrappedService

public void setWrappedService(AssetTagPropertyService assetTagPropertyService)
Specified by:
setWrappedService in interface ServiceWrapper<AssetTagPropertyService>

Liferay 6.1.2-ce-ga3