|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.BaseServiceImpl com.liferay.portlet.asset.service.base.AssetTagPropertyServiceBaseImpl com.liferay.portlet.asset.service.impl.AssetTagPropertyServiceImpl
public class AssetTagPropertyServiceImpl
Provides the remote service for accessing, adding, deleting, and updating asset tag properties. Its methods include permission checks.
Field Summary |
---|
Fields inherited from class com.liferay.portal.service.BaseServiceImpl |
---|
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
Constructor Summary | |
---|---|
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. |
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. |
AssetTagProperty |
updateTagProperty(long tagPropertyId,
String key,
String value)
Updates the asset tag property. |
Methods inherited from class com.liferay.portal.service.BaseServiceImpl |
---|
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssetTagPropertyServiceImpl()
Method Detail |
---|
public 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 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 List<AssetTagProperty> getTagProperties(long tagId) throws SystemException
tagId
- the primary key of the tag
SystemException
- if a system exception occurredpublic 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 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 occurred
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |