Liferay 6.0.5

com.liferay.portlet.asset.service.http
Class AssetCategoryPropertyServiceHttp

java.lang.Object
  extended by com.liferay.portlet.asset.service.http.AssetCategoryPropertyServiceHttp

public class AssetCategoryPropertyServiceHttp
extends Object

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.

See Also:
AssetCategoryPropertyServiceSoap, HttpPrincipal, AssetCategoryPropertyServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
AssetCategoryPropertyServiceHttp()
           
 
Method Summary
static AssetCategoryProperty addCategoryProperty(HttpPrincipal httpPrincipal, long entryId, String key, String value)
           
static void deleteCategoryProperty(HttpPrincipal httpPrincipal, long categoryPropertyId)
           
static List<AssetCategoryProperty> getCategoryProperties(HttpPrincipal httpPrincipal, long entryId)
           
static List<AssetCategoryProperty> getCategoryPropertyValues(HttpPrincipal httpPrincipal, long companyId, String key)
           
static AssetCategoryProperty updateCategoryProperty(HttpPrincipal httpPrincipal, long categoryPropertyId, String key, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetCategoryPropertyServiceHttp

public AssetCategoryPropertyServiceHttp()
Method Detail

addCategoryProperty

public static AssetCategoryProperty addCategoryProperty(HttpPrincipal httpPrincipal,
                                                        long entryId,
                                                        String key,
                                                        String value)
                                                 throws PortalException,
                                                        SystemException
Throws:
PortalException
SystemException

deleteCategoryProperty

public static void deleteCategoryProperty(HttpPrincipal httpPrincipal,
                                          long categoryPropertyId)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getCategoryProperties

public static List<AssetCategoryProperty> getCategoryProperties(HttpPrincipal httpPrincipal,
                                                                long entryId)
                                                         throws SystemException
Throws:
SystemException

getCategoryPropertyValues

public static List<AssetCategoryProperty> getCategoryPropertyValues(HttpPrincipal httpPrincipal,
                                                                    long companyId,
                                                                    String key)
                                                             throws SystemException
Throws:
SystemException

updateCategoryProperty

public static AssetCategoryProperty updateCategoryProperty(HttpPrincipal httpPrincipal,
                                                           long categoryPropertyId,
                                                           String key,
                                                           String value)
                                                    throws PortalException,
                                                           SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5