|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portlet.asset.service.AssetTagPropertyServiceUtil
@ProviderType public class AssetTagPropertyServiceUtil
Provides the remote service utility for AssetTagProperty. This utility wraps
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
,
AssetTagPropertyServiceBaseImpl
,
AssetTagPropertyServiceImpl
Constructor Summary | |
---|---|
AssetTagPropertyServiceUtil()
|
Method Summary | |
---|---|
static AssetTagProperty |
addTagProperty(long tagId,
String key,
String value)
Adds an asset tag property. |
static void |
deleteTagProperty(long tagPropertyId)
Deletes the asset tag property with the specified ID. |
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static AssetTagPropertyService |
getService()
|
static List<AssetTagProperty> |
getTagProperties(long tagId)
Returns all the asset tag property instances with the specified tag ID. |
static List<AssetTagProperty> |
getTagPropertyValues(long companyId,
String key)
Returns asset tag properties with the specified group and key. |
static void |
setBeanIdentifier(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,
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 |
---|
public AssetTagPropertyServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static AssetTagProperty addTagProperty(long tagId, String key, 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 refer
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 occurredpublic static void deleteTagProperty(long tagPropertyId) throws PortalException, SystemException
tagPropertyId
- the primary key of the asset tag property instance
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 occurredpublic static List<AssetTagProperty> getTagProperties(long tagId) throws SystemException
tagId
- the primary key of the tag
SystemException
- if a system exception occurredpublic static List<AssetTagProperty> getTagPropertyValues(long companyId, String key) throws SystemException
companyId
- the primary key of the companykey
- the key that refers to some value
SystemException
- if a system exception occurredpublic static AssetTagProperty updateTagProperty(long tagPropertyId, String key, 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 refer
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 occurredpublic static AssetTagPropertyService getService()
public void setService(AssetTagPropertyService service)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |