Class SectionTemplateImportService
java.lang.Object
io.meeds.layout.service.injection.SectionTemplateImportService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longgetSettingValue(String name) protected voidimportDescriptor(SectionTemplateDescriptor descriptor, boolean override) protected voidimportSectionTemplate(SectionTemplateDescriptor d, long oldId, boolean override) voidvoidinit()protected List<SectionTemplateDescriptor> parseDescriptors(URL url) voidrestoreSectionTemplate(long sectionTemplateId, String username) protected voidsaveDescriptions(SectionTemplateDescriptor d, SectionTemplate sectionTemplate) protected voidsaveIllustration(long sectionTemplateId, String imagePath) protected voidsaveNames(SectionTemplateDescriptor d, SectionTemplate sectionTemplate) protected SectionTemplatesaveSectionTemplate(SectionTemplateDescriptor d, long oldId) protected voidsetSettingValue(String name, long value)
-
Constructor Details
-
SectionTemplateImportService
public SectionTemplateImportService()
-
-
Method Details
-
init
@PostConstruct public void init() -
importSectionTemplates
public void importSectionTemplates() -
restoreSectionTemplate
public void restoreSectionTemplate(long sectionTemplateId, String username) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException - Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-
parseDescriptors
-
importDescriptor
-
importSectionTemplate
-
saveNames
-
saveDescriptions
-
saveSectionTemplate
-
saveIllustration
-
setSettingValue
-
getSettingValue
-