Modifier and Type | Method and Description |
---|---|
void |
OKMPropertyGroup.addGroup(String token,
String nodePath,
String grpName) |
Version |
OKMDocument.checkin(String token,
String docPath,
InputStream is,
String comment) |
Version |
OKMDocument.checkin(String token,
String docPath,
InputStream is,
String comment,
int increment) |
void |
OKMDocument.copy(String token,
String docPath,
String destPath) |
Document |
OKMDocument.create(String token,
Document doc,
InputStream is) |
Folder |
OKMFolder.create(String token,
Folder fld) |
void |
OKMFolder.createMissingFolders(String token,
String fldPath)
Create missing folders.
|
Folder |
OKMFolder.createSimple(String token,
String fldPath) |
Document |
OKMDocument.createSimple(String token,
String docPath,
InputStream is) |
void |
OKMDocument.delete(String token,
String docPath) |
void |
OKMDocument.extendedCopy(String token,
String docPath,
String destPath,
String docName,
ExtendedAttributes extAttr) |
Mail |
OKMMail.importEml(String path,
InputStream is)
Import EML file as MailNode.
|
Mail |
OKMMail.importMsg(String path,
InputStream is)
Import MSG file as MailNode.
|
void |
OKMDocument.move(String token,
String docPath,
String destPath) |
void |
OKMDocument.purge(String token,
String docPath) |
void |
OKMPropertyGroup.removeGroup(String token,
String nodePath,
String grpName) |
Document |
OKMDocument.rename(String token,
String docPath,
String newName) |
void |
OKMDocument.restoreVersion(String token,
String docPath,
String versionId) |
void |
OKMPropertyGroup.setProperties(String token,
String nodeId,
String grpName,
List<FormElement> properties) |
void |
OKMPropertyGroup.setPropertiesSimple(String token,
String nodeId,
String grpName,
Map<String,String> properties) |
static void |
OKMPropertyGroup.setPropertySimple(String token,
String nodeId,
String propGroup,
String propName,
String propValue) |
Modifier and Type | Method and Description |
---|---|
void |
PropertyGroupExtensionManager.postAddGroup(javax.jcr.Session session,
Ref<javax.jcr.Node> node,
String grpName)
Handle POST addGroup
|
void |
PropertyGroupExtension.postAddGroup(javax.jcr.Session session,
Ref<javax.jcr.Node> node,
String grpName)
Executed AFTER addGroup
|
void |
DocumentExtension.postCheckin(javax.jcr.Session session,
Ref<javax.jcr.Node> docNode,
Ref<Version> version)
Executed POST document CHECK IN.
|
void |
DocumentExtensionManager.postCheckin(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode,
Ref<Version> refVersion) |
void |
DocumentExtension.postCopy(javax.jcr.Session session,
Ref<javax.jcr.Node> refSrcNode,
Ref<javax.jcr.Node> refNewDocument,
Ref<javax.jcr.Node> refDstFolderNode)
Executed POST document COPY.
|
void |
DocumentExtensionManager.postCopy(javax.jcr.Session session,
Ref<javax.jcr.Node> refSrcNode,
Ref<javax.jcr.Node> refNewDocument,
Ref<javax.jcr.Node> refDstFolderNode) |
void |
FolderExtension.postCreate(javax.jcr.Session session,
Ref<javax.jcr.Node> parentNode,
Ref<javax.jcr.Node> fldNode)
Executed AFTER folder creation.
|
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 |
FolderExtensionManager.postCreate(javax.jcr.Session session,
Ref<javax.jcr.Node> parentNode,
Ref<javax.jcr.Node> fldNode)
Handle POST create extensions
|
void |
DocumentExtension.postDelete(javax.jcr.Session session,
String fileName)
Executed POST document DELETE.
|
void |
DocumentExtensionManager.postDelete(javax.jcr.Session session,
String fileName) |
void |
DocumentExtension.postMove(javax.jcr.Session session,
String oldDocPath,
Ref<javax.jcr.Node> srcFldNode,
Ref<javax.jcr.Node> dstDocNode)
Executed AFTER document MOVE.
|
void |
DocumentExtensionManager.postMove(javax.jcr.Session session,
String oldDocPath,
Ref<javax.jcr.Node> srcFldNode,
Ref<javax.jcr.Node> dstDocNode)
Handle POST move extensions
|
void |
DocumentExtension.postPurge(javax.jcr.Session session,
String docPath)
Executed POST document PURGE.
|
void |
DocumentExtensionManager.postPurge(javax.jcr.Session session,
String docPath) |
void |
PropertyGroupExtensionManager.postRemoveGroup(javax.jcr.Session session,
Ref<javax.jcr.Node> node,
String grpName)
Handle POST removeGroup
|
void |
PropertyGroupExtension.postRemoveGroup(javax.jcr.Session session,
Ref<javax.jcr.Node> node,
String grpName)
Executed AFTER removeGroup
|
void |
DocumentExtension.postRename(javax.jcr.Session session,
String docPath,
String newPath,
Ref<javax.jcr.Node> refDocumentNode)
Executed POST document RENAME.
|
void |
DocumentExtensionManager.postRename(javax.jcr.Session session,
String docPath,
String newPath,
Ref<javax.jcr.Node> refDocumentNode) |
void |
DocumentExtension.postRestoreVersion(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode)
Executed POST document RESTORE VERSION.
|
void |
DocumentExtensionManager.postRestoreVersion(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.postSetContent(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode) |
void |
PropertyGroupExtensionManager.postSetProperties(javax.jcr.Session session,
Ref<javax.jcr.Node> node,
String grpName,
List<FormElement> properties)
Handle POST setProperties
|
void |
PropertyGroupExtension.postSetProperties(javax.jcr.Session session,
Ref<javax.jcr.Node> node,
String grpName,
List<FormElement> properties)
Executed AFTER setProperties
|
void |
PropertyGroupExtensionManager.preAddGroup(javax.jcr.Session session,
Ref<javax.jcr.Node> node,
String grpName)
Handle PRE addGroup
|
void |
PropertyGroupExtension.preAddGroup(javax.jcr.Session session,
Ref<javax.jcr.Node> node,
String grpName)
Executed BEFORE addGroup
|
void |
DocumentExtension.preCheckin(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode)
Executed BEFORE document CHECK IN.
|
void |
DocumentExtensionManager.preCheckin(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode) |
void |
DocumentExtension.preCopy(javax.jcr.Session session,
Ref<javax.jcr.Node> refSrcNode,
Ref<javax.jcr.Node> refDstFolderNode)
Executed BEFORE document COPY.
|
void |
DocumentExtensionManager.preCopy(javax.jcr.Session session,
Ref<javax.jcr.Node> refSrcNode,
Ref<javax.jcr.Node> refDstFolderNode) |
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
|
void |
FolderExtension.preCreate(javax.jcr.Session session,
Ref<javax.jcr.Node> parentNode,
Ref<Folder> fld)
Executed BEFORE folder creation.
|
void |
FolderExtensionManager.preCreate(javax.jcr.Session session,
Ref<javax.jcr.Node> parentNode,
Ref<Folder> fld)
Handle PRE create extensions
|
void |
DocumentExtension.preDelete(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode)
Executed BEFORE document DELETE.
|
void |
DocumentExtensionManager.preDelete(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode) |
void |
DocumentExtension.preMove(javax.jcr.Session session,
Ref<javax.jcr.Node> srcDocNode,
Ref<javax.jcr.Node> dstFldNode)
Executed BEFORE document MOVE.
|
void |
DocumentExtensionManager.preMove(javax.jcr.Session session,
Ref<javax.jcr.Node> srcDocNode,
Ref<javax.jcr.Node> dstFldNode)
Handle PRE move extensions
|
void |
DocumentExtension.prePurge(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode)
Executed BEFORE document PURGE.
|
void |
DocumentExtensionManager.prePurge(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode) |
void |
PropertyGroupExtensionManager.preRemoveGroup(javax.jcr.Session session,
Ref<javax.jcr.Node> node,
String grpName)
Handle PRE removeGroup
|
void |
PropertyGroupExtension.preRemoveGroup(javax.jcr.Session session,
Ref<javax.jcr.Node> node,
String grpName)
Executed BEFORE removeGroup
|
void |
DocumentExtension.preRename(javax.jcr.Session session,
String docPath,
String newPath,
Ref<javax.jcr.Node> refDocumentNode)
Executed BEFORE document RENAME.
|
void |
DocumentExtensionManager.preRename(javax.jcr.Session session,
String docPath,
String newPath,
Ref<javax.jcr.Node> refDocumentNode) |
void |
DocumentExtension.preRestoreVersion(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode)
Executed BEFPRE document RESTORE VERSION.
|
void |
DocumentExtensionManager.preRestoreVersion(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.
|
void |
DocumentExtensionManager.preSetContent(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode) |
void |
PropertyGroupExtensionManager.preSetProperties(javax.jcr.Session session,
Ref<javax.jcr.Node> node,
String grpName,
List<FormElement> properties)
Handle PRE setProperties
|
void |
PropertyGroupExtension.preSetProperties(javax.jcr.Session session,
Ref<javax.jcr.Node> node,
String grpName,
List<FormElement> properties)
Executed BEFORE setProperties
|
Modifier and Type | Method and Description |
---|---|
static void |
KEATree.generateTree(String token,
int levelToDraw,
String parentPath,
Vector<String> parentUIDs,
Writer out)
Generate tree
|
Modifier and Type | Method and Description |
---|---|
void |
PropertyGroupModule.addGroup(String token,
String nodeId,
String grpName)
Add a property group to a document.
|
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.
|
void |
DocumentModule.copy(String token,
String docPath,
String dstPath)
Copy a document to another location in the repository.
|
Document |
DocumentModule.create(String token,
Document doc,
InputStream is)
Creates a new document in the repository.
|
Folder |
FolderModule.create(String token,
Folder fld)
Create a new folder in the repository.
|
void |
DocumentModule.delete(String token,
String docPath)
Deletes a document from the repository.
|
void |
DocumentModule.extendedCopy(String token,
String docPath,
String dstPath,
String docName,
ExtendedAttributes extAttr)
Copy a document to another location in the repository.
|
void |
DocumentModule.move(String token,
String docPath,
String fldPath)
Move a document to another location in the repository.
|
void |
DocumentModule.purge(String token,
String docPath)
Deletes definitively a document from the repository.
|
void |
PropertyGroupModule.removeGroup(String token,
String nodeId,
String grpName)
Removes a property group from a document.
|
Document |
DocumentModule.rename(String token,
String docPath,
String newName)
Rename a document in the repository.
|
void |
DocumentModule.restoreVersion(String token,
String docPath,
String versionId)
Revert the document to an specific previous version.
|
void |
PropertyGroupModule.setProperties(String token,
String nodeId,
String grpName,
List<FormElement> properties)
Set group properties to a document.
|
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
|
Folder |
DbFolderModule.create(String token,
Folder fld) |
void |
DbDocumentModule.move(String token,
String docId,
String dstId) |
Modifier and Type | Method and Description |
---|---|
void |
JcrPropertyGroupModule.addGroup(String token,
String nodePath,
String grpName) |
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
|
void |
JcrDocumentModule.copy(String token,
String docPath,
String dstPath) |
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
|
Folder |
JcrFolderModule.create(String token,
Folder fld) |
void |
JcrDocumentModule.delete(String token,
String docPath) |
void |
JcrDocumentModule.extendedCopy(String token,
String docPath,
String dstPath,
String docName,
ExtendedAttributes extAttr) |
void |
JcrDocumentModule.move(String token,
String docPath,
String dstPath) |
void |
JcrDocumentModule.purge(String token,
String docPath) |
void |
JcrPropertyGroupModule.removeGroup(String token,
String nodePath,
String grpName) |
Document |
JcrDocumentModule.rename(String token,
String docPath,
String newName) |
void |
JcrDocumentModule.restoreVersion(String token,
String docPath,
String versionId) |
void |
JcrPropertyGroupModule.setProperties(String token,
String nodePath,
String grpName,
List<FormElement> properties) |
Modifier and Type | Method and Description |
---|---|
static void |
OMRHelper.processAndStoreMetadata(long omId,
String uuid)
processAndStoreMetadata
|
static void |
OMRHelper.storeMetadata(Map<String,String> results,
String docPath)
storeMetadata
|
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 |
PropertyTest.setUp() |
void |
DocumentTest.setUp() |
void |
TrashProblemTest.setUp() |
void |
PropertyGroupTest.setUp() |
void |
FolderTest.setUp() |
void |
NoteTest.setUp() |
void |
DocumentTest.testCharactersAmp()
Path with dangerous characters are encoded as entities.
|
void |
FolderTest.testCharactersAmp()
Path with dangerous characters are encoded as entities.
|
void |
DocumentTest.testCharactersLtGt()
Path with dangerous characters are encoded as entities.
|
void |
FolderTest.testCharactersLtGt()
Path with dangerous characters are encoded as entities.
|
void |
DocumentTest.testCreate() |
void |
FolderTest.testCreate() |
void |
DocumentTest.testCreateSimple() |
void |
FolderTest.testCreateSimple() |
void |
PropertyTest.testDocumentAdd() |
void |
PropertyGroupTest.testDocumentCreate() |
void |
NoteTest.testDocumentCreate() |
void |
NoteTest.testDocumentLockCreate() |
void |
PropertyTest.testFolderAdd() |
void |
PropertyGroupTest.testFolderCreate() |
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 |
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)
|
Modifier and Type | Method and Description |
---|---|
static ImpExpStats |
RepositoryImporter.importDocuments(String token,
File fs,
String fldPath,
boolean metadata,
boolean history,
boolean uuid,
Writer out,
InfoDecorator deco)
Import documents from filesystem into document repository.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertyGroupService.addGroup(String token,
String nodePath,
String grpName) |
Version |
DocumentService.checkin(String token,
String docPath,
DataHandler content,
String comment) |
Document |
DocumentService.create(String token,
Document doc,
DataHandler content) |
Folder |
FolderService.create(String token,
Folder fld) |
Folder |
FolderService.createSimple(String token,
String fldPath) |
Document |
DocumentService.createSimple(String token,
String docPath,
DataHandler content) |
void |
DocumentService.delete(String token,
String docPath) |
void |
DocumentService.move(String token,
String docPath,
String fldPath) |
void |
DocumentService.purge(String token,
String docPath) |
void |
PropertyGroupService.removeGroup(String token,
String nodePath,
String grpName) |
Document |
DocumentService.rename(String token,
String docPath,
String newName) |
void |
DocumentService.restoreVersion(String token,
String docPath,
String versionId) |
void |
PropertyGroupService.setProperties(String token,
String nodePath,
String grpName,
FormElementComplex[] properties) |
void |
PropertyGroupService.setPropertiesSimple(String token,
String nodePath,
String grpName,
StringPair[] properties) |
Copyright © 2016. All rights reserved.