Interface RemoteEntityImporterService
public interface RemoteEntityImporterService
-
Method Summary
Modifier and TypeMethodDescriptioncheckImportRemoteEntities(RemoteRsRestServer remoteRsServer, String remoteEntityPath, String localTarget, boolean includeVariants, boolean flatten, Map<String, Object> errors) Note that restUrl, user and apikey will be removed in the near future.importRemoteEntities(RemoteRsRestServer remoteRsServer, String remoteEntityPath, String localTarget, boolean includeVariants, boolean flatten) Note that restUrl, user and apikey will be removed in the near future.
-
Method Details
-
importRemoteEntities
ImportResult importRemoteEntities(RemoteRsRestServer remoteRsServer, String remoteEntityPath, String localTarget, boolean includeVariants, boolean flatten) Note that restUrl, user and apikey will be removed in the near future. These will be replaced by remoteServer entities.- Parameters:
remoteRsServer- the remote RS server.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 flattenedentityPath- 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"
-
checkImportRemoteEntities
Map<String,Object> checkImportRemoteEntities(RemoteRsRestServer remoteRsServer, String remoteEntityPath, String localTarget, boolean includeVariants, boolean flatten, Map<String, Object> errors) Note that restUrl, user and apikey will be removed in the near future. These will be replaced by remoteServer entities.- Parameters:
remoteRsServer- the remote RS server.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.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"
-