com.liferay.portlet.asset.service.http
Class AssetTagPropertyServiceHttp
java.lang.Object
com.liferay.portlet.asset.service.http.AssetTagPropertyServiceHttp
public class AssetTagPropertyServiceHttp
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides a HTTP utility for the
AssetTagPropertyServiceUtil
service utility. The
static methods of this class calls the same methods of the service utility.
However, the signatures are different because it requires an additional
HttpPrincipal
parameter.
The benefits of using the HTTP utility is that it is fast and allows for
tunneling without the cost of serializing to text. The drawback is that it
only works with Java.
Set the property tunnel.servlet.hosts.allowed in portal.properties to
configure security.
The HTTP utility is only generated for remote services.
- Author:
- Brian Wing Shun Chan
- See Also:
AssetTagPropertyServiceSoap
,
HttpPrincipal
,
AssetTagPropertyServiceUtil
- Generated:
Method Summary |
static com.liferay.portlet.asset.model.AssetTagProperty |
addTagProperty(HttpPrincipal httpPrincipal,
long tagId,
java.lang.String key,
java.lang.String value)
|
static void |
deleteTagProperty(HttpPrincipal httpPrincipal,
long tagPropertyId)
|
static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> |
getTagProperties(HttpPrincipal httpPrincipal,
long tagId)
|
static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> |
getTagPropertyValues(HttpPrincipal httpPrincipal,
long companyId,
java.lang.String key)
|
static com.liferay.portlet.asset.model.AssetTagProperty |
updateTagProperty(HttpPrincipal httpPrincipal,
long tagPropertyId,
java.lang.String key,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetTagPropertyServiceHttp
public AssetTagPropertyServiceHttp()
addTagProperty
public static com.liferay.portlet.asset.model.AssetTagProperty addTagProperty(HttpPrincipal httpPrincipal,
long tagId,
java.lang.String key,
java.lang.String value)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteTagProperty
public static void deleteTagProperty(HttpPrincipal httpPrincipal,
long tagPropertyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getTagProperties
public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties(HttpPrincipal httpPrincipal,
long tagId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getTagPropertyValues
public static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagPropertyValues(HttpPrincipal httpPrincipal,
long companyId,
java.lang.String key)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateTagProperty
public static com.liferay.portlet.asset.model.AssetTagProperty updateTagProperty(HttpPrincipal httpPrincipal,
long tagPropertyId,
java.lang.String key,
java.lang.String value)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException