public class AssetTagPropertyServiceHttp
extends java.lang.Object
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.
AssetTagPropertyServiceSoap,
HttpPrincipal,
AssetTagPropertyServiceUtil| Constructor and Description |
|---|
AssetTagPropertyServiceHttp() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic static void deleteTagProperty(HttpPrincipal httpPrincipal, long tagPropertyId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic static java.util.List<com.liferay.portlet.asset.model.AssetTagProperty> getTagProperties(HttpPrincipal httpPrincipal, long tagId) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic 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
com.liferay.portal.kernel.exception.SystemExceptionpublic 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
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException