Interface CPFileImporter
@ProviderType
public interface CPFileImporter
-
Method Summary
Modifier and TypeMethodDescriptionvoidcleanLayouts(com.liferay.portal.kernel.service.ServiceContext serviceContext) voidcreateJournalArticles(com.liferay.portal.kernel.json.JSONArray journalArticleJSONArray, ClassLoader classLoader, String dependenciesFilePath, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidcreateLayouts(com.liferay.portal.kernel.json.JSONArray jsonArray, ClassLoader classLoader, String dependenciesFilePath, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidcreateRoles(com.liferay.portal.kernel.json.JSONArray jsonArray, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.dynamic.data.mapping.model.DDMTemplategetDDMTemplate(File file, long classNameId, long classPK, long resourceClassNameId, String name, String type, String mode, String language, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidupdateLogo(File file, boolean privateLayout, boolean logo, com.liferay.portal.kernel.service.ServiceContext serviceContext) voidupdateLookAndFeel(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
-