Class NodeToApplicationPageConverter
java.lang.Object
org.bonitasoft.engine.business.application.converter.NodeToApplicationPageConverter
- Author:
- Emmanuel Duchastenier
-
Constructor Summary
ConstructorsConstructorDescriptionNodeToApplicationPageConverter(PageService pageService, ApplicationImportValidator importValidator) -
Method Summary
Modifier and TypeMethodDescriptiontoSApplicationPage(org.bonitasoft.engine.business.application.xml.ApplicationPageNode applicationPageNode, SApplicationWithIcon application)
-
Constructor Details
-
NodeToApplicationPageConverter
public NodeToApplicationPageConverter(PageService pageService, ApplicationImportValidator importValidator)
-
-
Method Details
-
toSApplicationPage
public ApplicationPageImportResult toSApplicationPage(org.bonitasoft.engine.business.application.xml.ApplicationPageNode applicationPageNode, SApplicationWithIcon application) throws SBonitaReadException, org.bonitasoft.engine.exception.ImportException - Parameters:
applicationPageNode- the XML node to convert toSApplicationPageapplication- theSApplicationWithIconwhere theSApplicationPagewill be attached- Returns:
- an ApplicationPageImportResult containing the converted
SApplicationPageand an error (if any) - Throws:
SBonitaReadExceptionorg.bonitasoft.engine.exception.ImportException
-