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, resource
public ImportImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public String importDocument(String uuid, File file) throws UnknownException, WebserviceException
BaseImport
importDocument
in interface BaseImport
uuid
- the uuidfile
- the fileUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionpublic String importFolder(String uuid, String name) throws UnknownException, WebserviceException
BaseImport
importFolder
in interface BaseImport
uuid
- the uuidname
- the nameUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.