Modifier and Type | Method and Description |
---|---|
Document |
OKMDocument.create(String token,
Document doc,
InputStream is) |
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 |
---|---|
void |
DocumentExtension.postCreate(javax.jcr.Session session,
Ref<javax.jcr.Node> parentNode,
Ref<javax.jcr.Node> docNode)
Executed AFTER document CREATE.
|
void |
DocumentExtensionManager.postCreate(javax.jcr.Session session,
Ref<javax.jcr.Node> parentNode,
Ref<javax.jcr.Node> docNode)
Handle POST create extensions
|
void |
DocumentExtension.preCreate(javax.jcr.Session session,
Ref<javax.jcr.Node> parentNode,
Ref<File> content,
Ref<Document> doc)
Executed BEFORE document CREATE.
|
void |
DocumentExtensionManager.preCreate(javax.jcr.Session session,
Ref<javax.jcr.Node> parentNode,
Ref<File> content,
Ref<Document> doc)
Handle PRE create extensions
|
Modifier and Type | Method and Description |
---|---|
Document |
DocumentModule.create(String token,
Document doc,
InputStream is)
Creates a new document in the repository.
|
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
Document |
JcrDocumentModule.create(String token,
Document doc,
InputStream is) |
Document |
JcrDocumentModule.create(String token,
Document doc,
InputStream is,
String userId)
Used when importing mail with attachments
|
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 |
PropertyGroupTest.testDocumentCreate() |
void |
NoteTest.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.
|
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 |
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)
|
Modifier and Type | Method and Description |
---|---|
Document |
DocumentService.create(String token,
Document doc,
DataHandler content) |
Document |
DocumentService.createSimple(String token,
String docPath,
DataHandler content) |
Copyright © 2016. All rights reserved.