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
ImportImpl
- Author:
- sochoa
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionimportDocument(String uuid, File file) Deprecated.importDocument(String uuid, Calendar date, String author, File file) Import document string.importFolder(String uuid, String name) Deprecated.importFolder(String uuid, String name, Calendar date, String author) Import folder string.importMail(String uuid, File file) Import mail string.importRecord(String uuid, String name) Deprecated.importRecord(String uuid, String name, Calendar date, String author) Import record string.protected voidsetAuthorizationToken(String authorizationToken) setAuthenticationTokenMethods inherited from class com.openkm.sdk4j.impl.ClientImpl
getClient, getWebTarget, setAuthorizationHeader, setJsessionIdHeader
-
Constructor Details
-
ImportImpl
OKMFolder
-
-
Method Details
-
setAuthorizationToken
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
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
-