Class AssetCategoriesImporter

java.lang.Object
com.liferay.commerce.initializer.util.AssetCategoriesImporter

public class AssetCategoriesImporter extends Object
  • Constructor Details

    • AssetCategoriesImporter

      public AssetCategoriesImporter()
  • Method Details

    • importAssetCategories

      public List<com.liferay.asset.kernel.model.AssetCategory> importAssetCategories(com.liferay.portal.kernel.json.JSONArray jsonArray, String assetVocabularyName, ClassLoader classLoader, String imageDependenciesPath, long scopeGroupId, long userId) throws Exception
      Throws:
      Exception
    • importAssetCategories

      public List<com.liferay.asset.kernel.model.AssetCategory> importAssetCategories(com.liferay.portal.kernel.json.JSONArray jsonArray, String assetVocabularyName, ClassLoader classLoader, String imageDependenciesPath, long scopeGroupId, long userId, boolean addGuestPermissions) throws Exception
      Throws:
      Exception
    • updateAssetVocabularyPermissions

      protected void updateAssetVocabularyPermissions(com.liferay.asset.kernel.model.AssetVocabulary assetVocabulary) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updatePermissions

      protected void updatePermissions(long companyId, String name, String primKey, com.liferay.portal.kernel.json.JSONArray jsonArray) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException