com.liferay.portlet.asset.service.http
Class AssetCategoryPropertyServiceHttp
java.lang.Object
com.liferay.portlet.asset.service.http.AssetCategoryPropertyServiceHttp
public class AssetCategoryPropertyServiceHttp
- 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
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.
- Author:
- Brian Wing Shun Chan
- See Also:
AssetCategoryPropertyServiceSoap
,
HttpPrincipal
,
AssetCategoryPropertyServiceUtil
- Generated:
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetCategoryPropertyServiceHttp
public AssetCategoryPropertyServiceHttp()
addCategoryProperty
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
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteCategoryProperty
public static void deleteCategoryProperty(HttpPrincipal httpPrincipal,
long categoryPropertyId)
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
getCategoryProperties
public static java.util.List<com.liferay.portlet.asset.model.AssetCategoryProperty> getCategoryProperties(HttpPrincipal httpPrincipal,
long entryId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCategoryPropertyValues
public 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
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateCategoryProperty
public 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
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException