public interface RemoteEntityImporterService
| 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,
boolean flatten,
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,
boolean flatten)
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, boolean flatten)
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.flatten - true, if the tree should be flattenedjava.util.Map<java.lang.String,java.lang.Object> checkImportRemoteEntities(RemoteRsRestServer remoteRsServer, java.lang.String remoteEntityPath, java.lang.String localTarget, boolean includeVariants, boolean flatten, 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.flatten - true, if the tree should be flattenederrors - list of errors. Can be edited in the method to add new
errors if found.