Liferay 7.0-ce-b8 portal-impl

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

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

@ProviderType
public class AssetCategoryPropertyServiceHttp
extends Object

Provides the 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
{$generated.description}

Constructor Summary
AssetCategoryPropertyServiceHttp()
           
 
Method Summary
static com.liferay.asset.kernel.model.AssetCategoryProperty addCategoryProperty(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long entryId, String key, String value)
           
static void deleteCategoryProperty(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long categoryPropertyId)
           
static List<com.liferay.asset.kernel.model.AssetCategoryProperty> getCategoryProperties(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long entryId)
           
static List<com.liferay.asset.kernel.model.AssetCategoryProperty> getCategoryPropertyValues(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId, String key)
           
static com.liferay.asset.kernel.model.AssetCategoryProperty updateCategoryProperty(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long userId, long categoryPropertyId, String key, String value)
           
static com.liferay.asset.kernel.model.AssetCategoryProperty updateCategoryProperty(com.liferay.portal.kernel.security.auth.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 com.liferay.asset.kernel.model.AssetCategoryProperty addCategoryProperty(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                       long entryId,
                                                                                       String key,
                                                                                       String value)
                                                                                throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

deleteCategoryProperty

public static void deleteCategoryProperty(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                          long categoryPropertyId)
                                   throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getCategoryProperties

public static List<com.liferay.asset.kernel.model.AssetCategoryProperty> getCategoryProperties(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                               long entryId)

getCategoryPropertyValues

public static List<com.liferay.asset.kernel.model.AssetCategoryProperty> getCategoryPropertyValues(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                                   long companyId,
                                                                                                   String key)

updateCategoryProperty

public static com.liferay.asset.kernel.model.AssetCategoryProperty updateCategoryProperty(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                          long userId,
                                                                                          long categoryPropertyId,
                                                                                          String key,
                                                                                          String value)
                                                                                   throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

updateCategoryProperty

public static com.liferay.asset.kernel.model.AssetCategoryProperty updateCategoryProperty(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                          long categoryPropertyId,
                                                                                          String key,
                                                                                          String value)
                                                                                   throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

Liferay 7.0-ce-b8 portal-impl