Class NodeToApplicationPageConverter
- java.lang.Object
-
- org.bonitasoft.engine.business.application.converter.NodeToApplicationPageConverter
-
@Component public class NodeToApplicationPageConverter extends java.lang.Object- Author:
- Emmanuel Duchastenier
-
-
Constructor Summary
Constructors Constructor Description NodeToApplicationPageConverter(PageService pageService, ApplicationImportValidator importValidator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationPageImportResulttoSApplicationPage(org.bonitasoft.engine.business.application.xml.ApplicationPageNode applicationPageNode, SApplicationWithIcon application)
-
-
-
Constructor Detail
-
NodeToApplicationPageConverter
public NodeToApplicationPageConverter(PageService pageService, ApplicationImportValidator importValidator)
-
-
Method Detail
-
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
-
-