Class AssetVocabularyServiceImpl

Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portlet.asset.service.base.AssetVocabularyServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetVocabularyServiceImpl
All Implemented Interfaces:
com.liferay.asset.kernel.service.AssetVocabularyService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseService

public class AssetVocabularyServiceImpl extends AssetVocabularyServiceBaseImpl
Provides the remote service for accessing, adding, deleting, and updating asset vocabularies. Its methods include permission checks.
Author:
Alvaro del Castillo, Eduardo Lundgren, Jorge Ferrer, Juan Fernández
  • Constructor Details

    • AssetVocabularyServiceImpl

      public AssetVocabularyServiceImpl()
  • Method Details

    • addVocabulary

      public com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, int visibilityType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addVocabulary

      public com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(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 com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(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
    • addVocabulary

      public com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId, String name, 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 com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(String externalReferenceCode, long groupId, String name, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, int visibilityType, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteVocabularies

      public List<com.liferay.asset.kernel.model.AssetVocabulary> deleteVocabularies(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 void deleteVocabulary(long vocabularyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchVocabulary

      public com.liferay.asset.kernel.model.AssetVocabulary fetchVocabulary(long vocabularyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getAssetVocabularyByExternalReferenceCode

      public com.liferay.asset.kernel.model.AssetVocabulary getAssetVocabularyByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupsVocabularies

      public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(long[] groupIds)
    • getGroupsVocabularies

      public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className)
    • getGroupsVocabularies

      public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className, long classTypePK)
    • getGroupVocabularies

      public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupVocabularies

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

      public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getGroupVocabularies

      public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId, int visibilityType)
    • getGroupVocabularies

      public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
    • getGroupVocabularies

      public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator)
    • getGroupVocabularies

      public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long[] groupIds)
    • getGroupVocabularies

      public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long[] groupIds, int[] visibilityTypes)
    • getGroupVocabulariesCount

      public int getGroupVocabulariesCount(long groupId)
    • getGroupVocabulariesCount

      public int getGroupVocabulariesCount(long groupId, String name)
    • getGroupVocabulariesCount

      public int getGroupVocabulariesCount(long[] groupIds)
    • getGroupVocabulariesDisplay

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

      public com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getVocabulary

      public com.liferay.asset.kernel.model.AssetVocabulary getVocabulary(long vocabularyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchVocabulariesDisplay

      public com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(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 com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(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 com.liferay.asset.kernel.model.AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateVocabulary

      public com.liferay.asset.kernel.model.AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, int visibilityType) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateVocabulary

      public com.liferay.asset.kernel.model.AssetVocabulary updateVocabulary(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