Liferay 7.0-ce-b8 portal-impl

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

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

@ProviderType
public class AssetVocabularyServiceHttp
extends Object

Provides the 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.

See Also:
AssetVocabularyServiceSoap, HttpPrincipal, AssetVocabularyServiceUtil
{$generated.description}

Constructor Summary
AssetVocabularyServiceHttp()
           
 
Method Summary
static com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
static com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
static List<com.liferay.asset.kernel.model.AssetVocabulary> deleteVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] vocabularyIds, com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
static void deleteVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long vocabularyId)
           
static com.liferay.asset.kernel.model.AssetVocabulary fetchVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long vocabularyId)
           
static List<com.liferay.asset.kernel.model.AssetVocabulary> getCompanyVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long companyId)
           
static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds)
           
static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String className)
           
static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String className, long classTypePK)
           
static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId)
           
static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds)
           
static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean createDefaultVocabulary)
           
static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, boolean createDefaultVocabulary, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
           
static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
           
static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
           
static int getGroupVocabulariesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId)
           
static int getGroupVocabulariesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds)
           
static int getGroupVocabulariesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name)
           
static com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, int start, int end, boolean addDefaultVocabulary, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
           
static com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
           
static List<com.liferay.asset.kernel.model.AssetVocabulary> getVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] vocabularyIds)
           
static com.liferay.asset.kernel.model.AssetVocabulary getVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long vocabularyId)
           
static com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, boolean addDefaultVocabulary, int start, int end)
           
static com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, boolean addDefaultVocabulary, int start, int end, com.liferay.portal.kernel.search.Sort sort)
           
static com.liferay.asset.kernel.model.AssetVocabulary updateVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long vocabularyId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, com.liferay.portal.kernel.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.asset.kernel.model.AssetVocabulary addVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                           long groupId,
                                                                           String title,
                                                                           Map<Locale,String> titleMap,
                                                                           Map<Locale,String> descriptionMap,
                                                                           String settings,
                                                                           com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                    throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

addVocabulary

public static com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                           long groupId,
                                                                           String title,
                                                                           com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                    throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

deleteVocabularies

public static List<com.liferay.asset.kernel.model.AssetVocabulary> deleteVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                      long[] vocabularyIds,
                                                                                      com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                               throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

deleteVocabulary

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

fetchVocabulary

public static com.liferay.asset.kernel.model.AssetVocabulary fetchVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                             long vocabularyId)
                                                                      throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getCompanyVocabularies

public static List<com.liferay.asset.kernel.model.AssetVocabulary> getCompanyVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                          long companyId)
                                                                                   throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getGroupsVocabularies

public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                         long[] groupIds)

getGroupsVocabularies

public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                         long[] groupIds,
                                                                                         String className)

getGroupsVocabularies

public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                         long[] groupIds,
                                                                                         String className,
                                                                                         long classTypePK)

getGroupVocabularies

public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                        long groupId)
                                                                                 throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getGroupVocabularies

public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                        long groupId,
                                                                                        boolean createDefaultVocabulary)
                                                                                 throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getGroupVocabularies

public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                        long groupId,
                                                                                        boolean createDefaultVocabulary,
                                                                                        int start,
                                                                                        int end,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
                                                                                 throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getGroupVocabularies

public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                        long groupId,
                                                                                        int start,
                                                                                        int end,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)

getGroupVocabularies

public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                        long groupId,
                                                                                        String name,
                                                                                        int start,
                                                                                        int end,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)

getGroupVocabularies

public static List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                        long[] groupIds)

getGroupVocabulariesCount

public static int getGroupVocabulariesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                            long groupId)

getGroupVocabulariesCount

public static int getGroupVocabulariesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                            long groupId,
                                            String name)

getGroupVocabulariesCount

public static int getGroupVocabulariesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                            long[] groupIds)

getGroupVocabulariesDisplay

public static com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                                long groupId,
                                                                                                String name,
                                                                                                int start,
                                                                                                int end,
                                                                                                boolean addDefaultVocabulary,
                                                                                                com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
                                                                                         throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getGroupVocabulariesDisplay

public static com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                                long groupId,
                                                                                                String name,
                                                                                                int start,
                                                                                                int end,
                                                                                                com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> obc)
                                                                                         throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getVocabularies

public static List<com.liferay.asset.kernel.model.AssetVocabulary> getVocabularies(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                   long[] vocabularyIds)
                                                                            throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

getVocabulary

public static com.liferay.asset.kernel.model.AssetVocabulary getVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                           long vocabularyId)
                                                                    throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

searchVocabulariesDisplay

public static com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                              long groupId,
                                                                                              String title,
                                                                                              boolean addDefaultVocabulary,
                                                                                              int start,
                                                                                              int end)
                                                                                       throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

searchVocabulariesDisplay

public static com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                                              long groupId,
                                                                                              String title,
                                                                                              boolean addDefaultVocabulary,
                                                                                              int start,
                                                                                              int end,
                                                                                              com.liferay.portal.kernel.search.Sort sort)
                                                                                       throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

updateVocabulary

public static com.liferay.asset.kernel.model.AssetVocabulary updateVocabulary(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal,
                                                                              long vocabularyId,
                                                                              String title,
                                                                              Map<Locale,String> titleMap,
                                                                              Map<Locale,String> descriptionMap,
                                                                              String settings,
                                                                              com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                       throws com.liferay.portal.kernel.exception.PortalException
Throws:
com.liferay.portal.kernel.exception.PortalException

Liferay 7.0-ce-b8 portal-impl