|
Liferay 6.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.asset.service.base.AssetTagPropertyLocalServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetTagPropertyLocalServiceImpl
public class AssetTagPropertyLocalServiceImpl
Provides the local service for accessing, adding, deleting, and updating asset tag properties.
| Field Summary |
|---|
| Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
|---|
layoutPersistence |
| Constructor Summary | |
|---|---|
AssetTagPropertyLocalServiceImpl()
|
|
| Method Summary | |
|---|---|
AssetTagProperty |
addTagProperty(long userId,
long tagId,
String key,
String value)
Adds an asset tag property. |
void |
deleteTagProperties(long tagId)
Deletes the asset tag property with the specified tag ID. |
void |
deleteTagProperty(AssetTagProperty tagProperty)
Deletes the asset tag property instance. |
void |
deleteTagProperty(long tagPropertyId)
Deletes the asset tag property with the specified ID. |
List<AssetTagProperty> |
getTagProperties()
Returns all the asset tag property instances. |
List<AssetTagProperty> |
getTagProperties(long tagId)
Returns all the asset tag property instances with the specified tag ID. |
AssetTagProperty |
getTagProperty(long tagPropertyId)
Returns the asset tag property with the specified ID. |
AssetTagProperty |
getTagProperty(long tagId,
String key)
Returns the asset tag property with the specified tag ID and key. |
String[] |
getTagPropertyKeys(long groupId)
Returns asset tag property keys with the specified group |
List<AssetTagProperty> |
getTagPropertyValues(long groupId,
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. |
protected void |
validate(String key,
String value)
|
| Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
|---|
getClassLoader, getLayoutURL, getLayoutURL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssetTagPropertyLocalServiceImpl()
| Method Detail |
|---|
public AssetTagProperty addTagProperty(long userId,
long tagId,
String key,
String value)
throws PortalException,
SystemException
userId - the primary key of the usertagId - the primary key of the tagkey - the key to be associated to the valuevalue - the value to which the key will refer
PortalException - if a user with the primary key could not be
found, or if the key or value were invalid
SystemException - if a system exception occurred
public void deleteTagProperties(long tagId)
throws SystemException
tagId - the primary key of the tag
SystemException - if a system exception occurred
public void deleteTagProperty(AssetTagProperty tagProperty)
throws SystemException
tagProperty - the asset tag property instance
SystemException - if a system exception occurred
public 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
SystemException - if a system exception occurred
public List<AssetTagProperty> getTagProperties()
throws SystemException
SystemException - if a system exception occurred
public List<AssetTagProperty> getTagProperties(long tagId)
throws SystemException
tagId - the primary key of the tag
SystemException - if a system exception occurred
public AssetTagProperty getTagProperty(long tagPropertyId)
throws PortalException,
SystemException
tagPropertyId - the primary key of the asset tag property
PortalException - if an asset tag property with the primary key
could not be found
SystemException - if a system exception occurred
public AssetTagProperty getTagProperty(long tagId,
String key)
throws PortalException,
SystemException
tagId - the primary key of the tagkey - the key that refers to some value
PortalException - if an asset tag property with the tag ID and key
could not be found
SystemException - if a system exception occurred
public String[] getTagPropertyKeys(long groupId)
throws SystemException
groupId - the primary key of the group
SystemException - if a system exception occurred
public List<AssetTagProperty> getTagPropertyValues(long groupId,
String key)
throws SystemException
groupId - the primary key of the groupkey - the key that refers to some value
SystemException - if a system exception occurred
public 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, or if the key or value were invalid
SystemException - if a system exception occurred
protected void validate(String key,
String value)
throws PortalException
PortalException
|
Liferay 6.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||