public interface IncomingAppService
The interface used to receive Spring integration messages and import the Apps that they describe.
Modifier and Type | Method and Description |
---|---|
void |
importFromResource(org.springframework.core.io.Resource resource,
boolean isSystemApp,
boolean isEditable,
boolean forceAppImport,
boolean ignoreImportError,
List<String> tenantNames)
Import the system app from the given zip resource into the current tenant.
|
void |
importSystemAppIntoCurrentTenant(org.springframework.core.io.Resource resource,
boolean isEditable,
boolean forceAppImport)
Import the system app from the given zip resource into the current tenant.
|
void |
processResource(org.springframework.messaging.Message<org.springframework.core.io.Resource> message)
Process a resource message from an incoming app channel.
|
void importSystemAppIntoCurrentTenant(org.springframework.core.io.Resource resource, boolean isEditable, boolean forceAppImport)
Import the system app from the given zip resource into the current tenant.
This entry point is used by the tenant initialization code and assumes that the current tenant is set and that a transaction is already configured if required.
resource
- the system app zip resourceisEditable
- if the resulting system app should be editableforceAppImport
- if the import should be forced (local changes are overridden)void processResource(org.springframework.messaging.Message<org.springframework.core.io.Resource> message)
Process a resource message from an incoming app channel.
message
- a Resource referencing an app archivevoid importFromResource(org.springframework.core.io.Resource resource, boolean isSystemApp, boolean isEditable, boolean forceAppImport, boolean ignoreImportError, List<String> tenantNames)
Import the system app from the given zip resource into the current tenant.
resource
- zip app import resourceisSystemApp
- if the application is imported as a system applicationisEditable
- if the resulting system app should be editableforceAppImport
- if the import should be forced (local changes are overridden)ignoreImportError
- if the errors during the import should be ignoredtenantNames
- list of tenant names to which application should be importedCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.