|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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.portlet.asset.service.base.AssetTagPropertyServiceBaseImpl |
|---|
assetTagPropertyFinder, assetTagPropertyKeyFinder, assetTagPropertyLocalService, assetTagPropertyPersistence, assetTagPropertyService, counterLocalService, resourceLocalService, userFinder, userLocalService, userPersistence, userService |
| 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
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
public void deleteTagProperty(long tagPropertyId)
throws PortalException
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 propertypublic List<AssetTagProperty> getTagProperties(long tagId)
tagId - the primary key of the tag
public List<AssetTagProperty> getTagPropertyValues(long companyId,
String key)
companyId - the primary key of the companykey - the key that refers to some value
public AssetTagProperty updateTagProperty(long tagPropertyId,
String key,
String value)
throws PortalException
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
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||