|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.service.base.PrincipalBean
com.liferay.portlet.asset.service.base.AssetTagPropertyServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetTagPropertyServiceImpl
public class AssetTagPropertyServiceImpl
The implementation of the asset tag property service.
| Field Summary |
|---|
| Fields inherited from class com.liferay.portal.service.base.PrincipalBean |
|---|
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS |
| Constructor Summary | |
|---|---|
AssetTagPropertyServiceImpl()
|
|
| Method Summary | |
|---|---|
com.liferay.portlet.asset.model.AssetTagProperty |
addTagProperty(long tagId,
java.lang.String key,
java.lang.String value)
Adds an asset tag property. |
void |
deleteTagProperty(long tagPropertyId)
Deletes the asset tag property with the specified ID. |
java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> |
getTagProperties(long tagId)
Returns all the asset tag property instances with the specified tag ID. |
java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> |
getTagPropertyValues(long companyId,
java.lang.String key)
Returns asset tag properties with the specified group and key. |
com.liferay.portlet.asset.model.AssetTagProperty |
updateTagProperty(long tagPropertyId,
java.lang.String key,
java.lang.String value)
Updates the asset tag property. |
| Methods inherited from class com.liferay.portal.service.base.PrincipalBean |
|---|
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 com.liferay.portlet.asset.model.AssetTagProperty addTagProperty(long tagId,
java.lang.String key,
java.lang.String value)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
tagId - the primary key of the tagkey - the key to be associated to the valuevalue - the value to which the key will refer
com.liferay.portal.kernel.exception.PortalException - if the user did not have permission to update the
asset tag, or if the key or value were invalid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void deleteTagProperty(long tagPropertyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
tagPropertyId - the primary key of the asset tag property instance
com.liferay.portal.kernel.exception.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
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties(long tagId)
throws com.liferay.portal.kernel.exception.SystemException
tagId - the primary key of the tag
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagPropertyValues(long companyId,
java.lang.String key)
throws com.liferay.portal.kernel.exception.SystemException
companyId - the primary key of the companykey - the key that refers to some value
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public com.liferay.portlet.asset.model.AssetTagProperty updateTagProperty(long tagPropertyId,
java.lang.String key,
java.lang.String value)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.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
com.liferay.portal.kernel.exception.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
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||