public class ImportImpl extends ClientImpl implements BaseImport
| Constructor and Description |
|---|
ImportImpl(String host)
ImportImpl
|
| Modifier and Type | Method and Description |
|---|---|
String |
importDocument(String uuid,
File file)
Import document string.
|
String |
importFolder(String uuid,
String name)
Import folder string.
|
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
getClient, resource, resourcepublic ImportImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public String importDocument(String uuid, File file) throws UnknownException, WebserviceException
BaseImportimportDocument in interface BaseImportuuid - the uuidfile - the fileUnknownException - the unknown exceptionWebserviceException - the webservice exceptionpublic String importFolder(String uuid, String name) throws UnknownException, WebserviceException
BaseImportimportFolder in interface BaseImportuuid - the uuidname - the nameUnknownException - the unknown exceptionWebserviceException - the webservice exceptionCopyright © 2022 Open Knowledge Management System S.L.. All Rights Reserved.