Package | Description |
---|---|
com.openkm.api | |
com.openkm.module | |
com.openkm.module.db | |
com.openkm.rest.endpoint | |
com.openkm.test.api | |
com.openkm.util | |
com.openkm.ws.endpoint |
Modifier and Type | Method and Description |
---|---|
Version |
OKMDocument.checkin(String token,
String docId,
InputStream is,
String comment) |
Version |
OKMDocument.checkin(String token,
String docId,
InputStream is,
String comment,
int increment) |
Document |
OKMDocument.create(String token,
Document doc,
InputStream is) |
Mail |
OKMMail.create(String token,
Mail mail) |
Document |
OKMDocument.createSimple(String token,
String docPath,
InputStream is) |
Mail |
OKMMail.importEml(String path,
InputStream is)
Import EML file as MailNode.
|
Mail |
OKMMail.importMsg(String path,
InputStream is)
Import MSG file as MailNode.
|
Modifier and Type | Method and Description |
---|---|
Version |
DocumentModule.checkin(String token,
String docPath,
InputStream is,
String comment)
Check in the document to create a new version.
|
Version |
DocumentModule.checkin(String token,
String docPath,
InputStream is,
String comment,
int increment)
Check in the document to create a new version.
|
Document |
DocumentModule.create(String token,
Document doc,
InputStream is)
Creates a new document in the repository.
|
Mail |
MailModule.create(String token,
Mail mail)
Create a new mail in the repository.
|
Modifier and Type | Method and Description |
---|---|
Version |
DbDocumentModule.checkin(String token,
String docId,
InputStream is,
long size,
String comment,
String userId)
Used when big files and WebDAV
|
Version |
DbDocumentModule.checkin(String token,
String docId,
InputStream is,
long size,
String comment,
String userId,
int increment)
Used when increase document major version
|
Version |
DbDocumentModule.checkin(String token,
String docId,
InputStream is,
String comment) |
Version |
DbDocumentModule.checkin(String token,
String docId,
InputStream is,
String comment,
int increment) |
Version |
DbDocumentModule.checkin(String token,
String docId,
InputStream is,
String comment,
String userId)
Used in Zoho extension
|
Document |
DbDocumentModule.create(String token,
Document doc,
InputStream is) |
Document |
DbDocumentModule.create(String token,
Document doc,
InputStream is,
long size,
String userId)
Used when big files and WebDAV and GoogleDocs
|
Document |
DbDocumentModule.create(String token,
Document doc,
InputStream is,
long size,
String userId,
Ref<FileUploadResponse> fuResponse)
Used when big files and FileUpload
|
Mail |
DbMailModule.create(String token,
Mail mail) |
Mail |
DbMailModule.create(String token,
Mail mail,
String userId,
Ref<FileUploadResponse> fuResponse)
Used when importing mail from scheduler
|
Version |
DbDocumentModule.liveEditCheckin(String token,
String docId,
String comment,
int increment)
New version and delete temporal file.
|
void |
DbDocumentModule.liveEditSetContent(String token,
String docId,
InputStream is)
Create temporal file and set content.
|
Modifier and Type | Method and Description |
---|---|
Mail |
MailService.importEml(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) |
Mail |
MailService.importMsg(List<org.apache.cxf.jaxrs.ext.multipart.Attachment> atts) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentTest.testCharactersAmp()
Path with dangerous characters are encoded as entities.
|
void |
DocumentTest.testCharactersLtGt()
Path with dangerous characters are encoded as entities.
|
void |
DocumentTest.testCreate() |
void |
DocumentTest.testCreateSimple() |
void |
PropertyTest.testDocumentAdd() |
void |
NoteTest.testDocumentCreate() |
void |
PropertyGroupTest.testDocumentCreate() |
void |
NoteTest.testDocumentLockCreate() |
void |
NoteTest.testFolderCreate() |
void |
TrashProblemTest.testTrashProblem() |
void |
DocumentTest.testVersions() |
Modifier and Type | Method and Description |
---|---|
static void |
MailUtils.addAttachments(String token,
Mail mail,
com.auxilii.msgparser.Message msg,
String userId)
Add attachments to an imported mail.
|
static void |
MailUtils.addAttachments(String token,
Mail mail,
javax.mail.Part p,
String userId)
Add attachments to an imported mail.
|
static void |
DocConverter.doc2pdf(String token,
String docId,
String dstPath)
Convert a document from repository and put the result in the repository.
|
static void |
PDFUtils.encrypt(String token,
String docId,
String userPassword,
String ownerPassword,
int permissions,
String dstPath)
Encrypt a document and set permissions.
|
void |
Benchmark.filesystemDocumentGenerate(File root)
Generate documents in the filesystem
|
static void |
MSOUtils.fillTemplate(String token,
String docId,
HashMap<String,String> model,
String dstPath)
Fill document template.
|
static void |
MailUtils.importMail(String token,
String mailPath,
boolean grouping,
javax.mail.Folder folder,
javax.mail.Message msg,
MailAccount ma,
Mail mail)
Import mail into OpenKM repository
|
static String |
MailUtils.importMessages(String token,
MailAccount ma)
Import messages
http://www.jguru.com/faq/view.jsp?
|
static void |
PDFUtils.merge(String token,
List<String> docIds,
String dstPath)
Merge several PDFs into a new one
|
void |
Benchmark.okmApiHighPopulate(String token,
Folder root,
PrintWriter out,
PrintWriter res)
Run OpenKM text document insertions (API)
|
static void |
MSOUtils.replaceText(String token,
String docId,
HashMap<String,String> model,
String dstPath)
Replace text.
|
Modifier and Type | Method and Description |
---|---|
Version |
DocumentService.checkin(String token,
String docPath,
DataHandler content,
String comment) |
Document |
DocumentService.create(String token,
Document doc,
DataHandler content) |
Mail |
MailService.create(String token,
Mail mail) |
Document |
DocumentService.createSimple(String token,
String docPath,
DataHandler content) |
Copyright © 2017 Open Knowledge Management System S.L.. All rights reserved.