public interface RemoteEntityImporterService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_FILE |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
checkImportRemoteEntities(RemoteRsRestServer remoteRsServer,
java.lang.String remoteEntityPath,
java.lang.String localTarget,
boolean includeVariants,
java.util.Map<java.lang.String,java.lang.Object> errors)
Note that restUrl, user and apikey will be removed in the near future.
|
ImportResult |
importRemoteEntities(RemoteRsRestServer remoteRsServer,
java.lang.String remoteEntityPath,
java.lang.String localTarget,
boolean includeVariants)
Note that restUrl, user and apikey will be removed in the near future.
|
static final java.lang.String CONFIG_FILE
ImportResult importRemoteEntities(RemoteRsRestServer remoteRsServer, java.lang.String remoteEntityPath, java.lang.String localTarget, boolean includeVariants)
remoteRsServer
- the remote RS server.entityPath
- path to the remote entity to be imported, e.g.
"/usermanager/ClassicModelCars"target
- path to the local directory to import the entity, e.g.
"/usermanager/import"includeVariants
- in case of reports, true if report variants be
included. If false, only the base reports are
imported.java.util.Map<java.lang.String,java.lang.Object> checkImportRemoteEntities(RemoteRsRestServer remoteRsServer, java.lang.String remoteEntityPath, java.lang.String localTarget, boolean includeVariants, java.util.Map<java.lang.String,java.lang.Object> errors)
remoteRsServer
- the remote RS server.entityPath
- path to the remote entity to be imported, e.g.
"/usermanager/ClassicModelCars"target
- path to the local directory to import the entity, e.g.
"/usermanager/import"includeVariants
- in case of reports, true if report variants be
included. If false, only the base reports are
imported.errors
- list of errors. Can be edited in the method to add new
errors if found.