|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface AssetTagPropertyService
The interface for the asset tag property remote service.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
AssetTagPropertyServiceUtil
,
com.liferay.portlet.asset.service.base.AssetTagPropertyServiceBaseImpl
,
com.liferay.portlet.asset.service.impl.AssetTagPropertyServiceImpl
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. |
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
AssetTagProperty |
updateTagProperty(long tagPropertyId,
String key,
String value)
Updates the asset tag property. |
Method Detail |
---|
String getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanAssetTagProperty 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 occurredvoid 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 occurred@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetTagProperty> getTagProperties(long tagId) throws SystemException
tagId
- the primary key of the tag
SystemException
- if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) 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 occurredAssetTagProperty 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 occurred
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |