@ProviderType
public class AssetTagPropertyServiceUtil
extends java.lang.Object
com.liferay.portlet.asset.service.impl.AssetTagPropertyServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.AssetTagPropertyService,
com.liferay.portlet.asset.service.base.AssetTagPropertyServiceBaseImpl,
com.liferay.portlet.asset.service.impl.AssetTagPropertyServiceImpl| Constructor and Description |
|---|
AssetTagPropertyServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static AssetTagProperty |
addTagProperty(long tagId,
java.lang.String key,
java.lang.String value)
Adds an asset tag property.
|
static void |
deleteTagProperty(long tagPropertyId)
Deletes the asset tag property with the specified ID.
|
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static AssetTagPropertyService |
getService() |
static java.util.List<AssetTagProperty> |
getTagProperties(long tagId)
Returns all the asset tag property instances with the specified tag ID.
|
static java.util.List<AssetTagProperty> |
getTagPropertyValues(long companyId,
java.lang.String key)
Returns asset tag properties with the specified group and key.
|
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(AssetTagPropertyService service)
Deprecated.
As of 6.2.0
|
static AssetTagProperty |
updateTagProperty(long tagPropertyId,
java.lang.String key,
java.lang.String value)
Updates the asset tag property.
|
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static AssetTagProperty addTagProperty(long tagId, java.lang.String key, java.lang.String value) throws PortalException, SystemException
tagId - the primary key of the tagkey - the key to be associated to the valuevalue - the value to which the key will referPortalException - if the user did not have permission to update the
asset tag, or if the key or value were invalidSystemException - if a system exception occurredpublic static void deleteTagProperty(long tagPropertyId)
throws PortalException,
SystemException
tagPropertyId - the primary key of the asset tag property instancePortalException - 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 propertySystemException - if a system exception occurredpublic static java.util.List<AssetTagProperty> getTagProperties(long tagId) throws SystemException
tagId - the primary key of the tagSystemException - if a system exception occurredpublic static java.util.List<AssetTagProperty> getTagPropertyValues(long companyId, java.lang.String key) throws SystemException
companyId - the primary key of the companykey - the key that refers to some valueSystemException - if a system exception occurredpublic static AssetTagProperty updateTagProperty(long tagPropertyId, java.lang.String key, java.lang.String value) throws PortalException, SystemException
tagPropertyId - the primary key of the asset tag propertykey - the new key to be associated to the valuevalue - the new value to which the key will referPortalException - 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 invalidSystemException - if a system exception occurredpublic static AssetTagPropertyService getService()
public void setService(AssetTagPropertyService service)