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

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

public class AssetVocabularyServiceHttp
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 AssetVocabularyServiceUtil 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:
AssetVocabularyServiceSoap, HttpPrincipal, AssetVocabularyServiceUtil
Generated:

Constructor Summary
AssetVocabularyServiceHttp()
           
 
Method Summary
static com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(HttpPrincipal httpPrincipal, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String settings, com.liferay.portal.service.ServiceContext serviceContext)
           
static void deleteVocabulary(HttpPrincipal httpPrincipal, long vocabularyId)
           
static java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(HttpPrincipal httpPrincipal, long companyId)
           
static java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(HttpPrincipal httpPrincipal, long[] groupIds)
           
static java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(HttpPrincipal httpPrincipal, long groupId)
           
static com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(HttpPrincipal httpPrincipal, long vocabularyId)
           
static com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(HttpPrincipal httpPrincipal, long vocabularyId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String settings, com.liferay.portal.service.ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetVocabularyServiceHttp

public AssetVocabularyServiceHttp()
Method Detail

addVocabulary

public static com.liferay.portlet.asset.model.AssetVocabulary addVocabulary(HttpPrincipal httpPrincipal,
                                                                            java.util.Map<java.util.Locale,java.lang.String> titleMap,
                                                                            java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
                                                                            java.lang.String settings,
                                                                            com.liferay.portal.service.ServiceContext serviceContext)
                                                                     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

deleteVocabulary

public static void deleteVocabulary(HttpPrincipal httpPrincipal,
                                    long vocabularyId)
                             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

getCompanyVocabularies

public static java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getCompanyVocabularies(HttpPrincipal httpPrincipal,
                                                                                                     long companyId)
                                                                                              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

getGroupsVocabularies

public static java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupsVocabularies(HttpPrincipal httpPrincipal,
                                                                                                    long[] groupIds)
                                                                                             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

getGroupVocabularies

public static java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> getGroupVocabularies(HttpPrincipal httpPrincipal,
                                                                                                   long groupId)
                                                                                            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

getVocabulary

public static com.liferay.portlet.asset.model.AssetVocabulary getVocabulary(HttpPrincipal httpPrincipal,
                                                                            long vocabularyId)
                                                                     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

updateVocabulary

public static com.liferay.portlet.asset.model.AssetVocabulary updateVocabulary(HttpPrincipal httpPrincipal,
                                                                               long vocabularyId,
                                                                               java.util.Map<java.util.Locale,java.lang.String> titleMap,
                                                                               java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
                                                                               java.lang.String settings,
                                                                               com.liferay.portal.service.ServiceContext serviceContext)
                                                                        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