Interface CPFileImporter


@ProviderType public interface CPFileImporter
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cleanLayouts(com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    void
    createJournalArticles(com.liferay.portal.kernel.json.JSONArray journalArticleJSONArray, ClassLoader classLoader, String dependenciesFilePath, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    void
    createLayouts(com.liferay.portal.kernel.json.JSONArray jsonArray, ClassLoader classLoader, String dependenciesFilePath, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    void
    createRoles(com.liferay.portal.kernel.json.JSONArray jsonArray, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    com.liferay.dynamic.data.mapping.model.DDMTemplate
    getDDMTemplate(File file, long classNameId, long classPK, long resourceClassNameId, String name, String type, String mode, String language, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    void
    updateLogo(File file, boolean privateLayout, boolean logo, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    void
    updateLookAndFeel(String themeId, boolean privateLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
  • Method Details

    • cleanLayouts

      void cleanLayouts(com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createJournalArticles

      void createJournalArticles(com.liferay.portal.kernel.json.JSONArray journalArticleJSONArray, ClassLoader classLoader, String dependenciesFilePath, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception
      Throws:
      Exception
    • createLayouts

      void createLayouts(com.liferay.portal.kernel.json.JSONArray jsonArray, ClassLoader classLoader, String dependenciesFilePath, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception
      Throws:
      Exception
    • createRoles

      void createRoles(com.liferay.portal.kernel.json.JSONArray jsonArray, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMTemplate

      com.liferay.dynamic.data.mapping.model.DDMTemplate getDDMTemplate(File file, long classNameId, long classPK, long resourceClassNameId, String name, String type, String mode, String language, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception
      Throws:
      Exception
    • updateLogo

      void updateLogo(File file, boolean privateLayout, boolean logo, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateLookAndFeel

      void updateLookAndFeel(String themeId, boolean privateLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException