public class AssetCategoryPropertyServiceHttp
extends java.lang.Object
AssetCategoryPropertyServiceUtil 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.
AssetCategoryPropertyServiceSoap,
HttpPrincipal,
AssetCategoryPropertyServiceUtil| Constructor and Description |
|---|
AssetCategoryPropertyServiceHttp() |
| Modifier and Type | Method and Description |
|---|---|
static com.liferay.portlet.asset.model.AssetCategoryProperty |
addCategoryProperty(HttpPrincipal httpPrincipal,
long entryId,
java.lang.String key,
java.lang.String value) |
static void |
deleteCategoryProperty(HttpPrincipal httpPrincipal,
long categoryPropertyId) |
static java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> |
getCategoryProperties(HttpPrincipal httpPrincipal,
long entryId) |
static java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> |
getCategoryPropertyValues(HttpPrincipal httpPrincipal,
long companyId,
java.lang.String key) |
static com.liferay.portlet.asset.model.AssetCategoryProperty |
updateCategoryProperty(HttpPrincipal httpPrincipal,
long categoryPropertyId,
java.lang.String key,
java.lang.String value) |
public static com.liferay.portlet.asset.model.AssetCategoryProperty addCategoryProperty(HttpPrincipal httpPrincipal, long entryId, 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 deleteCategoryProperty(HttpPrincipal httpPrincipal, long categoryPropertyId) 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.AssetCategoryProperty> getCategoryProperties(HttpPrincipal httpPrincipal, long entryId) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic static java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryPropertyValues(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.AssetCategoryProperty updateCategoryProperty(HttpPrincipal httpPrincipal, long categoryPropertyId, 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