Package | Description |
---|---|
com.openkm.api | |
com.openkm.extension.core | |
com.openkm.module | |
com.openkm.module.db | |
com.openkm.module.jcr | |
com.openkm.test.api | |
com.openkm.util | |
com.openkm.ws.endpoint |
Modifier and Type | Method and Description |
---|---|
Version |
OKMDocument.checkin(String token,
String docPath,
InputStream is,
String comment) |
Version |
OKMDocument.checkin(String token,
String docPath,
InputStream is,
String comment,
int increment) |
Document |
OKMDocument.create(String token,
Document doc,
InputStream is) |
Document |
OKMDocument.createSimple(String token,
String docPath,
InputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentExtensionManager.postCreate(javax.jcr.Session session,
Ref<javax.jcr.Node> parentNode,
Ref<javax.jcr.Node> docNode)
Handle POST create extensions
|
void |
DocumentExtension.postCreate(javax.jcr.Session session,
Ref<javax.jcr.Node> parentNode,
Ref<javax.jcr.Node> docNode)
Executed AFTER document CREATE.
|
void |
DocumentExtensionManager.postSetContent(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode) |
void |
DocumentExtension.postSetContent(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode)
Executed POST document SET CONTENT.
|
void |
DocumentExtensionManager.preCreate(javax.jcr.Session session,
Ref<javax.jcr.Node> parentNode,
Ref<File> content,
Ref<Document> doc)
Handle PRE 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.preSetContent(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode) |
void |
DocumentExtension.preSetContent(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode)
Executed BEFORE document SET CONTENT.
|
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.
|
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
|
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 |
---|---|
Version |
JcrDocumentModule.checkin(String token,
String docPath,
InputStream is,
String comment) |
Version |
JcrDocumentModule.checkin(String token,
String docPath,
InputStream is,
String comment,
int increment) |
Version |
JcrDocumentModule.checkin(String token,
String docPath,
InputStream is,
String comment,
String userId)
Used in Zoho extension
|
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 |
---|---|
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.
|
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 |
---|---|
Version |
DocumentService.checkin(String token,
String docPath,
DataHandler content,
String comment) |
Document |
DocumentService.create(String token,
Document doc,
DataHandler content) |
Document |
DocumentService.createSimple(String token,
String docPath,
DataHandler content) |
Copyright © 2015. All Rights Reserved.