Modifier and Type | Method and Description |
---|---|
void |
OKMPropertyGroup.addGroup(String token,
String nodeId,
String grpName) |
Version |
OKMDocument.checkin(String token,
String docId,
InputStream is,
String comment) |
Version |
OKMDocument.checkin(String token,
String docId,
InputStream is,
String comment,
int increment) |
void |
OKMDocument.copy(String token,
String docId,
String dstId) |
void |
OKMMail.copy(String token,
String mailPath,
String dstId) |
void |
OKMFolder.copy(String token,
String fldId,
String dstId) |
Document |
OKMDocument.create(String token,
Document doc,
InputStream is) |
Folder |
OKMFolder.create(String token,
Folder fld) |
Mail |
OKMMail.create(String token,
Mail mail) |
void |
OKMFolder.createMissingFolders(String token,
String fldPath)
Create missing folders.
|
Folder |
OKMFolder.createSimple(String token,
String fldId) |
Document |
OKMDocument.createSimple(String token,
String docPath,
InputStream is) |
void |
OKMDocument.delete(String token,
String docId) |
void |
OKMMail.extendedCopy(String token,
String mailPath,
String dstId,
ExtendedAttributes extAttr) |
void |
OKMFolder.extendedCopy(String token,
String fldId,
String dstId,
ExtendedAttributes extAttr) |
void |
OKMDocument.extendedCopy(String token,
String docId,
String dstId,
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 docId,
String dstId) |
void |
OKMPropertyGroup.removeGroup(String token,
String nodeId,
String grpName) |
Document |
OKMDocument.rename(String token,
String docId,
String newName) |
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 |
AutomationManager.fireEvent(String event,
String at,
Map<String,Object> env)
Handle extensions
|
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.
|
void |
MailModule.copy(String token,
String mailPath,
String dstPath)
Copy a mail to another location in the repository.
|
void |
FolderModule.copy(String token,
String fldPath,
String dstPath)
Copy a folder 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.
|
Mail |
MailModule.create(String token,
Mail mail)
Create a new mail in the repository.
|
void |
DocumentModule.delete(String token,
String docPath)
Deletes a document from the repository.
|
void |
MailModule.extendedCopy(String token,
String mailPath,
String dstPath,
ExtendedAttributes extAttr)
Copy a mail to another location in the repository.
|
void |
FolderModule.extendedCopy(String token,
String fldPath,
String dstPath,
ExtendedAttributes extAttr)
Copy a folder to another location in 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 |
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 |
PropertyGroupModule.setProperties(String token,
String nodeId,
String grpName,
List<FormElement> properties)
Set group properties to a document.
|
Modifier and Type | Method and Description |
---|---|
void |
DbPropertyGroupModule.addGroup(String token,
String nodeId,
String grpName) |
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
|
void |
DbMailModule.copy(String token,
String mailId,
String dstId) |
void |
DbDocumentModule.copy(String token,
String docPath,
String dstPath) |
void |
DbFolderModule.copy(String token,
String fldId,
String dstId) |
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) |
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
|
void |
DbDocumentModule.delete(String token,
String docId) |
void |
DbMailModule.extendedCopy(String token,
String mailId,
String dstId,
ExtendedAttributes extAttr) |
void |
DbFolderModule.extendedCopy(String token,
String fldId,
String dstId,
ExtendedAttributes extAttr) |
void |
DbDocumentModule.extendedCopy(String token,
String docId,
String dstId,
String docName,
ExtendedAttributes extAttr) |
void |
DbDocumentModule.move(String token,
String docId,
String dstId) |
void |
DbPropertyGroupModule.removeGroup(String token,
String nodeId,
String grpName) |
Document |
DbDocumentModule.rename(String token,
String docId,
String newName) |
void |
DbPropertyGroupModule.setProperties(String token,
String nodeId,
String grpName,
List<FormElement> properties) |
Modifier and Type | Method and Description |
---|---|
static NodeDocument |
BaseDocumentModule.copy(String user,
NodeDocument srcDocNode,
String dstPath,
NodeBase dstNode,
String docName,
ExtendedAttributes extAttr)
Is invoked from DbDocumentNode and DbFolderNode.
|
static NodeFolder |
BaseFolderModule.copy(String user,
NodeFolder srcFldNode,
NodeFolder dstFldNode,
ExtendedAttributes extAttr)
Duplicates a folder into another one
|
static NodeMail |
BaseMailModule.copy(String user,
NodeMail srcMailNode,
String dstPath,
NodeFolder dstFldNode,
ExtendedAttributes extAttr)
Is invoked from DbMailNode and DbFolderNode.
|
static NodeDocument |
BaseDocumentModule.create(String user,
String parentPath,
NodeBase parentNode,
String name,
String title,
Calendar created,
String mimeType,
InputStream is,
long size,
Set<String> keywords,
Set<String> categories,
Set<NodeProperty> propertyGroups,
List<NodeNote> notes,
WikiPage wiki,
Ref<FileUploadResponse> fuResponse)
Create a new document
|
static NodeMail |
BaseMailModule.create(String user,
String parentPath,
NodeFolder parentFolder,
String name,
long size,
String from,
String[] reply,
String[] to,
String[] cc,
String[] bcc,
Calendar sentDate,
Calendar receivedDate,
String subject,
String content,
String mimeType,
Set<String> keywords,
Set<String> categories,
Ref<FileUploadResponse> fuResponse)
Create a new mail
|
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.setUp() |
void |
NoteTest.setUp() |
void |
FolderTest.setUp() |
void |
PropertyGroupTest.setUp() |
void |
TrashProblemTest.setUp() |
void |
PropertyTest.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 |
NoteTest.testDocumentCreate() |
void |
PropertyGroupTest.testDocumentCreate() |
void |
NoteTest.testDocumentLockCreate() |
void |
PropertyTest.testFolderAdd() |
void |
NoteTest.testFolderCreate() |
void |
PropertyGroupTest.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 |
---|---|
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) |
Mail |
MailService.create(String token,
Mail mail) |
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 |
PropertyGroupService.removeGroup(String token,
String nodePath,
String grpName) |
Document |
DocumentService.rename(String token,
String docPath,
String newName) |
void |
PropertyGroupService.setProperties(String token,
String nodePath,
String grpName,
FormElementComplex[] properties) |
void |
PropertyGroupService.setPropertiesSimple(String token,
String nodePath,
String grpName,
StringPair[] properties) |
Copyright © 2017 Open Knowledge Management System S.L.. All rights reserved.