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 SBonitaReadException, ImportException
SBonitaReadExceptionImportExceptionprotected Long handleMissingLayout(String layoutName, String applicationToken, ImportStatus importStatus) throws ImportException, SBonitaReadException
ImportExceptionSBonitaReadExceptionprotected Long handleMissingTheme(String themeName, String applicationToken, ImportStatus importStatus) throws ImportException, SBonitaReadException
ImportExceptionSBonitaReadExceptionprotected String getLayoutName(ApplicationNode applicationNode)
protected String getThemeName(ApplicationNode applicationNode)
protected PageService getPageService()
Copyright © 2019 Bonitasoft S.A.. All rights reserved.