Interface LayoutsImporter


public interface LayoutsImporter
  • Method Details

    • importFile

      void importFile(long userId, long groupId, File file, LayoutsImportStrategy layoutsImportStrategy, boolean preserveItemIds) throws Exception
      Throws:
      Exception
    • importFile

      List<LayoutsImporterResultEntry> importFile(long userId, long groupId, long layoutPageTemplateCollectionId, File file, LayoutsImportStrategy layoutsImportStrategy, boolean preserveItemIds) throws Exception
      Throws:
      Exception
    • importLayoutSettings

      com.liferay.portal.kernel.model.Layout importLayoutSettings(long userId, com.liferay.portal.kernel.model.Layout layout, String settingsJSON) throws Exception
      Throws:
      Exception
    • importPageElement

      List<com.liferay.fragment.model.FragmentEntryLink> importPageElement(com.liferay.portal.kernel.model.Layout layout, LayoutStructure layoutStructure, String parentItemId, String pageElementJSON, int position, boolean preserveItemIds) throws Exception
      Throws:
      Exception
    • importPageElement

      List<com.liferay.fragment.model.FragmentEntryLink> importPageElement(com.liferay.portal.kernel.model.Layout layout, LayoutStructure layoutStructure, String parentItemId, String pageElementJSON, int position, boolean preserveItemIds, long segmentsExperienceId) throws Exception
      Throws:
      Exception
    • validateFile

      boolean validateFile(long groupId, long layoutPageTemplateCollectionId, File file) throws Exception
      Throws:
      Exception