public class NodeToApplicationConverter extends Object
| Constructor and Description |
|---|
NodeToApplicationConverter(ProfileService profileService,
PageService pageService,
ApplicationImportValidator validator) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getLayoutName(ApplicationNode applicationNode) |
protected PageService |
getPageService() |
protected String |
getThemeName(ApplicationNode applicationNode) |
protected Long |
handleMissingLayout(String layoutName,
String applicationToken,
ImportStatus importStatus) |
protected Long |
handleMissingTheme(String themeName,
String applicationToken,
ImportStatus importStatus) |
ImportResult |
toSApplication(ApplicationNode applicationNode,
long createdBy) |
public NodeToApplicationConverter(ProfileService profileService, PageService pageService, ApplicationImportValidator validator)
public ImportResult toSApplication(ApplicationNode applicationNode, long createdBy) throws org.bonitasoft.engine.persistence.SBonitaReadException, ImportException
org.bonitasoft.engine.persistence.SBonitaReadExceptionImportExceptionprotected Long handleMissingLayout(String layoutName, String applicationToken, ImportStatus importStatus) throws ImportException, org.bonitasoft.engine.persistence.SBonitaReadException
ImportExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionprotected Long handleMissingTheme(String themeName, String applicationToken, ImportStatus importStatus) throws ImportException, org.bonitasoft.engine.persistence.SBonitaReadException
ImportExceptionorg.bonitasoft.engine.persistence.SBonitaReadExceptionprotected String getLayoutName(ApplicationNode applicationNode)
protected String getThemeName(ApplicationNode applicationNode)
protected PageService getPageService()
Copyright © 2017 Bonitasoft S.A.. All rights reserved.