Package | Description |
---|---|
com.openkm.api | |
com.openkm.extension.core | |
com.openkm.module | |
com.openkm.module.db | |
com.openkm.module.jcr | |
com.openkm.util | |
com.openkm.ws.endpoint |
Modifier and Type | Method and Description |
---|---|
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.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.
|
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 |
---|---|
static void |
MailUtils.addAttachments(String token,
Mail mail,
javax.mail.Part p,
String userId)
Add attachments to an imported mail.
|
Modifier and Type | Method and Description |
---|---|
Document |
DocumentService.create(String token,
Document doc,
byte[] content) |
Document |
DocumentService.createSimple(String token,
String docPath,
byte[] content) |
Copyright © 2015. All Rights Reserved.