Class AssetCategoryServiceHttp

Object
com.liferay.portlet.asset.service.http.AssetCategoryServiceHttp

public class AssetCategoryServiceHttp extends Object
Provides the HTTP utility for the AssetCategoryServiceUtil 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
{$generated.description}
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.liferay.asset.kernel.model.AssetCategory
    addCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.asset.kernel.model.AssetCategory
    addCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, long vocabularyId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.asset.kernel.model.AssetCategory
    addCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String externalReferenceCode, long groupId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static void
    deleteCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] categoryIds)
     
    static void
    deleteCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long categoryId)
     
    static com.liferay.asset.kernel.model.AssetCategory
    fetchCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long categoryId)
     
    static com.liferay.asset.kernel.model.AssetCategory
    fetchCategoryByExternalReferenceCode(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String externalReferenceCode, long groupId)
     
    static com.liferay.asset.kernel.model.AssetCategory
    getAssetCategoryByExternalReferenceCode(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String externalReferenceCode)
     
    static List<com.liferay.asset.kernel.model.AssetCategory>
    getCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long classNameId, long classPK, int start, int end)
     
    static List<com.liferay.asset.kernel.model.AssetCategory>
    getCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String className, long classPK)
     
    static int
    getCategoriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long classNameId, long classPK)
     
    static com.liferay.asset.kernel.model.AssetCategory
    getCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long categoryId)
     
    static String
    getCategoryPath(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long categoryId)
     
    static List<com.liferay.asset.kernel.model.AssetCategory>
    getChildCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long parentCategoryId)
     
    static List<com.liferay.asset.kernel.model.AssetCategory>
    getChildCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
     
    static int
    getChildCategoriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long parentCategoryId)
     
    static List<com.liferay.asset.kernel.model.AssetCategory>
    getVocabularyCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
     
    static List<com.liferay.asset.kernel.model.AssetCategory>
    getVocabularyCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
     
    static List<com.liferay.asset.kernel.model.AssetCategory>
    getVocabularyCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
     
    static List<com.liferay.asset.kernel.model.AssetCategory>
    getVocabularyCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
     
    static int
    getVocabularyCategoriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long vocabularyId)
     
    static int
    getVocabularyCategoriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long parentCategory, long vocabularyId)
     
    static int
    getVocabularyCategoriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, long vocabularyId)
     
    static com.liferay.asset.kernel.model.AssetCategoryDisplay
    getVocabularyCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
     
    static com.liferay.asset.kernel.model.AssetCategoryDisplay
    getVocabularyCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
     
    static List<com.liferay.asset.kernel.model.AssetCategory>
    getVocabularyRootCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
     
    static int
    getVocabularyRootCategoriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long vocabularyId)
     
    static com.liferay.asset.kernel.model.AssetCategory
    moveCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long categoryId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.portal.kernel.json.JSONArray
    search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String name, long[] vocabularyIds, int start, int end)
     
    static List<com.liferay.asset.kernel.model.AssetCategory>
    search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String keywords, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
     
    static com.liferay.portal.kernel.json.JSONArray
    search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, String[] categoryProperties, int start, int end)
     
    static com.liferay.asset.kernel.model.AssetCategoryDisplay
    searchCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String title, long[] vocabularyIds, int start, int end)
     
    static com.liferay.asset.kernel.model.AssetCategoryDisplay
    searchCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String title, long[] parentCategoryIds, long[] vocabularyIds, int start, int end)
     
    static com.liferay.asset.kernel.model.AssetCategoryDisplay
    searchCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String title, long[] vocabularyIds, long[] parentCategoryIds, int start, int end, com.liferay.portal.kernel.search.Sort sort)
     
    static com.liferay.asset.kernel.model.AssetCategoryDisplay
    searchCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, long vocabularyId, int start, int end)
     
    static com.liferay.asset.kernel.model.AssetCategoryDisplay
    searchCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, long parentCategoryId, long vocabularyId, int start, int end)
     
    static com.liferay.asset.kernel.model.AssetCategoryDisplay
    searchCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, long vocabularyId, long parentCategoryId, int start, int end, com.liferay.portal.kernel.search.Sort sort)
     
    static com.liferay.asset.kernel.model.AssetCategory
    updateCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long categoryId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, 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 Details

    • AssetCategoryServiceHttp

      public AssetCategoryServiceHttp()
  • Method Details

    • addCategory

      public static com.liferay.asset.kernel.model.AssetCategory addCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCategory

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

      public static com.liferay.asset.kernel.model.AssetCategory addCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String externalReferenceCode, long groupId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCategories

      public static void deleteCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] categoryIds) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCategory

      public static void deleteCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCategory

      public static com.liferay.asset.kernel.model.AssetCategory fetchCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCategoryByExternalReferenceCode

      public static com.liferay.asset.kernel.model.AssetCategory fetchCategoryByExternalReferenceCode(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAssetCategoryByExternalReferenceCode

      public static com.liferay.asset.kernel.model.AssetCategory getAssetCategoryByExternalReferenceCode(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategories

      public static List<com.liferay.asset.kernel.model.AssetCategory> getCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long classNameId, long classPK, int start, int end)
    • getCategories

      public static List<com.liferay.asset.kernel.model.AssetCategory> getCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoriesCount

      public static int getCategoriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long classNameId, long classPK)
    • getCategory

      public static com.liferay.asset.kernel.model.AssetCategory getCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoryPath

      public static String getCategoryPath(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getChildCategories

      public static List<com.liferay.asset.kernel.model.AssetCategory> getChildCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long parentCategoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getChildCategories

      public static List<com.liferay.asset.kernel.model.AssetCategory> getChildCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getChildCategoriesCount

      public static int getChildCategoriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long parentCategoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getVocabularyCategories

      public static List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getVocabularyCategories

      public static List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getVocabularyCategories

      public static List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    • getVocabularyCategories

      public static List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    • getVocabularyCategoriesCount

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

      public static int getVocabularyCategoriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long parentCategory, long vocabularyId)
    • getVocabularyCategoriesCount

      public static int getVocabularyCategoriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, long vocabularyId)
    • getVocabularyCategoriesDisplay

      public static com.liferay.asset.kernel.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getVocabularyCategoriesDisplay

      public static com.liferay.asset.kernel.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getVocabularyRootCategories

      public static List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyRootCategories(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    • getVocabularyRootCategoriesCount

      public static int getVocabularyRootCategoriesCount(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, long vocabularyId)
    • moveCategory

      public static com.liferay.asset.kernel.model.AssetCategory moveCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long categoryId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public static List<com.liferay.asset.kernel.model.AssetCategory> search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String keywords, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> orderByComparator)
    • search

      public static com.liferay.portal.kernel.json.JSONArray search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String name, String[] categoryProperties, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      public static com.liferay.portal.kernel.json.JSONArray search(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String name, long[] vocabularyIds, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCategoriesDisplay

      public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, long vocabularyId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCategoriesDisplay

      public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, long parentCategoryId, long vocabularyId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCategoriesDisplay

      public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long groupId, String title, long vocabularyId, long parentCategoryId, 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
    • searchCategoriesDisplay

      public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String title, long[] vocabularyIds, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCategoriesDisplay

      public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String title, long[] parentCategoryIds, long[] vocabularyIds, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCategoriesDisplay

      public static com.liferay.asset.kernel.model.AssetCategoryDisplay searchCategoriesDisplay(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long[] groupIds, String title, long[] vocabularyIds, long[] parentCategoryIds, 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
    • updateCategory

      public static com.liferay.asset.kernel.model.AssetCategory updateCategory(com.liferay.portal.kernel.security.auth.HttpPrincipal httpPrincipal, long categoryId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException