Package com.openkm.sdk4j.impl
Class ImportImpl
- java.lang.Object
-
- com.openkm.sdk4j.impl.ClientImpl
-
- com.openkm.sdk4j.impl.ImportImpl
-
- All Implemented Interfaces:
BaseImport,Serializable
public class ImportImpl extends ClientImpl implements BaseImport, Serializable
ImportImpl- Author:
- sochoa
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImportImpl(String host)OKMFolder
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringimportDocument(String uuid, File file)Deprecated.StringimportDocument(String uuid, Calendar date, String author, File file)Import document string.StringimportFolder(String uuid, String name)Deprecated.StringimportFolder(String uuid, String name, Calendar date, String author)Import folder string.StringimportMail(String uuid, File file)Import mail string.StringimportRecord(String uuid, String name)Deprecated.StringimportRecord(String uuid, String name, Calendar date, String author)Import record string.protected voidsetAuthorizationToken(String authorizationToken)setAuthenticationToken-
Methods inherited from class com.openkm.sdk4j.impl.ClientImpl
getClient, getWebTarget, setAuthorizationHeader, setJsessionIdHeader
-
-
-
-
Constructor Detail
-
ImportImpl
public ImportImpl(String host)
OKMFolder
-
-
Method Detail
-
setAuthorizationToken
protected void setAuthorizationToken(String authorizationToken)
setAuthenticationToken
-
importDocument
@Deprecated public String importDocument(String uuid, File file) throws UnknownException, WebserviceException
Deprecated.Description copied from interface:BaseImportImport document string.- Specified by:
importDocumentin interfaceBaseImport- Parameters:
uuid- the uuidfile- the file- Returns:
- the string
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-
importDocument
public String importDocument(String uuid, Calendar date, String author, File file) throws UnknownException, WebserviceException
Description copied from interface:BaseImportImport document string.- Specified by:
importDocumentin interfaceBaseImport- Parameters:
uuid- the uuiddate- the dateauthor- the authorfile- the file- Returns:
- the string
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-
importFolder
@Deprecated public String importFolder(String uuid, String name) throws UnknownException, WebserviceException
Deprecated.Description copied from interface:BaseImportImport folder string.- Specified by:
importFolderin interfaceBaseImport- Parameters:
uuid- the uuidname- the name- Returns:
- the string
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-
importFolder
public String importFolder(String uuid, String name, Calendar date, String author) throws UnknownException, WebserviceException
Description copied from interface:BaseImportImport folder string.- Specified by:
importFolderin interfaceBaseImport- Parameters:
uuid- the uuidname- the namedate- the date- Returns:
- the string
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-
importRecord
@Deprecated public String importRecord(String uuid, String name) throws UnknownException, WebserviceException
Deprecated.Description copied from interface:BaseImportImport record string.- Specified by:
importRecordin interfaceBaseImport- Parameters:
uuid- the uuidname- the name- Returns:
- the string
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-
importRecord
public String importRecord(String uuid, String name, Calendar date, String author) throws UnknownException, WebserviceException
Description copied from interface:BaseImportImport record string.- Specified by:
importRecordin interfaceBaseImport- Parameters:
uuid- the uuidname- the namedate- the dateauthor- the author- Returns:
- the string
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-
importMail
public String importMail(String uuid, File file) throws UnknownException, WebserviceException
Description copied from interface:BaseImportImport mail string.- Specified by:
importMailin interfaceBaseImport- Parameters:
uuid- the uuidfile- the file- Returns:
- the string
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-
-