Modifier and Type | Method and Description |
---|---|
void |
OKMMail.copy(String token,
String mailPath,
String dstPath) |
void |
OKMFolder.copy(String token,
String fldPath,
String dstPath) |
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) |
Mail |
OKMMail.create(String token,
Mail mail) |
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 |
OKMMail.extendedCopy(String token,
String mailPath,
String dstPath,
ExtendedAttributes extAttr) |
void |
OKMFolder.extendedCopy(String token,
String fldPath,
String dstPath,
ExtendedAttributes extAttr) |
void |
OKMDocument.extendedCopy(String token,
String docPath,
String destPath,
String docName,
ExtendedAttributes extAttr) |
void |
OKMMail.move(String token,
String mailPath,
String dstPath) |
void |
OKMFolder.move(String token,
String fldPath,
String dstPath) |
void |
OKMDocument.move(String token,
String docPath,
String destPath) |
Mail |
OKMMail.rename(String token,
String mailPath,
String newName) |
Folder |
OKMFolder.rename(String token,
String fldPath,
String newName) |
Document |
OKMDocument.rename(String token,
String docPath,
String newName) |
Modifier and Type | Method and Description |
---|---|
void |
NodeBaseDAO.checkItemExistence(org.hibernate.Session session,
String parent,
String name)
Check for same node name in same parent
|
NodeDocumentVersion |
NodeDocumentDAO.create(NodeDocument nDoc,
InputStream is,
long size)
Create document and first version
|
void |
NodeFolderDAO.create(NodeFolder nFolder)
Create node
|
void |
NodeMailDAO.create(NodeMail nMail)
Create node
|
void |
NodeMailDAO.move(String uuid,
String dstUuid)
Move mail
|
void |
NodeDocumentDAO.move(String uuid,
String dstUuid)
Move document
|
void |
NodeFolderDAO.move(String uuid,
String dstUuid)
Move folder
|
NodeMail |
NodeMailDAO.rename(String uuid,
String newName)
Rename mail
|
NodeDocument |
NodeDocumentDAO.rename(String uuid,
String newName)
Rename document
|
NodeFolder |
NodeFolderDAO.rename(String uuid,
String newName)
Rename folder
|
Modifier and Type | Method and Description |
---|---|
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.postCopy(org.apache.jackrabbit.api.XASession session,
Ref<javax.jcr.Node> refSrcFolderNode,
Ref<javax.jcr.Node> refNewFolderNode)
Executed AFTER folder copy.
|
void |
FolderExtensionManager.postCopy(org.apache.jackrabbit.api.XASession session,
Ref<javax.jcr.Node> refSrcFolderNode,
Ref<javax.jcr.Node> refNewFolderNode) |
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.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 |
FolderExtension.postMove(javax.jcr.Session session,
String fldPath,
String dstNodePath,
Ref<javax.jcr.Node> refDstFldNode)
Executed AFTER folder move.
|
void |
FolderExtensionManager.postMove(javax.jcr.Session session,
String fldPath,
String dstNodePath,
Ref<javax.jcr.Node> refDstFldNode) |
void |
FolderExtension.postRename(javax.jcr.Session session,
String fldPath,
String newPath,
Ref<javax.jcr.Node> refFolderNode)
Executed AFTER folder purge.
|
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 |
FolderExtensionManager.postRename(javax.jcr.Session session,
String fldPath,
String newPath,
Ref<javax.jcr.Node> refFolderNode) |
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 |
FolderExtension.preCopy(org.apache.jackrabbit.api.XASession session,
Ref<javax.jcr.Node> refSrcFolderNode,
Ref<javax.jcr.Node> refDstFolderNode)
Executed BEFORE folder copy.
|
void |
FolderExtensionManager.preCopy(org.apache.jackrabbit.api.XASession session,
Ref<javax.jcr.Node> refSrcFolderNode,
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.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 |
FolderExtension.preMove(javax.jcr.Session session,
String fldPath,
String dstNodePath)
Executed BEFORE folder move.
|
void |
FolderExtensionManager.preMove(javax.jcr.Session session,
String fldPath,
String dstNodePath) |
void |
FolderExtension.preRename(javax.jcr.Session session,
String fldPath,
String newPath,
Ref<javax.jcr.Node> refFolderNode)
Executed BEFORE folder purge.
|
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 |
FolderExtensionManager.preRename(javax.jcr.Session session,
String fldPath,
String newPath,
Ref<javax.jcr.Node> refFolderNode) |
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 |
MailModule.copy(String token,
String mailPath,
String dstPath)
Copy a mail to another location in the repository.
|
void |
DocumentModule.copy(String token,
String docPath,
String dstPath)
Copy a document 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 |
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 |
MailModule.move(String token,
String mailPath,
String dstPath)
Move a mail 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 |
FolderModule.move(String token,
String fldPath,
String dstPath)
Move a folder to another location in the repository.
|
Mail |
MailModule.rename(String token,
String mailPath,
String newName)
Rename a mail in the repository.
|
Document |
DocumentModule.rename(String token,
String docPath,
String newName)
Rename a document in the repository.
|
Folder |
FolderModule.rename(String token,
String fldPath,
String newName)
Rename a folder in the repository.
|
Modifier and Type | Method and Description |
---|---|
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 |
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) |
static void |
DbAuthModule.loadUserData(String user)
Load user data
|
void |
DbMailModule.move(String token,
String mailId,
String dstId) |
void |
DbDocumentModule.move(String token,
String docId,
String dstId) |
void |
DbFolderModule.move(String token,
String fldId,
String dstId) |
Mail |
DbMailModule.rename(String token,
String mailId,
String newName) |
Document |
DbDocumentModule.rename(String token,
String docId,
String newName) |
Folder |
DbFolderModule.rename(String token,
String fldId,
String newName) |
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 NodeFolder |
BaseFolderModule.create(String user,
NodeFolder parentFolder,
String name,
Calendar created,
Set<String> keywords,
Set<String> categories,
Set<NodeProperty> propertyGroups,
List<NodeNote> notes)
Create a new folder
|
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,
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 |
---|---|
void |
JcrFolderModule.copy(String token,
String fldPath,
String dstPath) |
void |
JcrDocumentModule.copy(String token,
String docPath,
String dstPath) |
void |
JcrMailModule.copy(String token,
String mailPath,
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) |
Mail |
JcrMailModule.create(String token,
Mail mail) |
Mail |
JcrMailModule.create(String token,
Mail mail,
String userId)
Used when importing mail from scheduler
|
void |
JcrFolderModule.extendedCopy(String token,
String fldPath,
String dstPath,
ExtendedAttributes extAttr) |
void |
JcrMailModule.extendedCopy(String token,
String mailPath,
String dstPath,
ExtendedAttributes extAttr) |
void |
JcrDocumentModule.extendedCopy(String token,
String docPath,
String dstPath,
String docName,
ExtendedAttributes extAttr) |
void |
JcrFolderModule.move(String token,
String fldPath,
String dstPath) |
void |
JcrDocumentModule.move(String token,
String docPath,
String dstPath) |
void |
JcrMailModule.move(String token,
String mailPath,
String dstPath) |
Folder |
JcrFolderModule.rename(String token,
String fldPath,
String newName) |
Document |
JcrDocumentModule.rename(String token,
String docPath,
String newName) |
Mail |
JcrMailModule.rename(String token,
String mailPath,
String newName) |
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?
|
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 |
DbMetadataAdapter.importWithMetadata(DocumentMetadata dmd,
InputStream is) |
void |
JcrMetadataAdapter.importWithMetadata(DocumentMetadata dmd,
InputStream is) |
abstract void |
MetadataAdapter.importWithMetadata(DocumentMetadata dmd,
InputStream is)
Perform specific document metadata import.
|
void |
DbMetadataAdapter.importWithMetadata(FolderMetadata fmd) |
void |
JcrMetadataAdapter.importWithMetadata(FolderMetadata fmd) |
abstract void |
MetadataAdapter.importWithMetadata(FolderMetadata fmd)
Perform specific folder metadata import.
|
void |
DbMetadataAdapter.importWithMetadata(MailMetadata mmd) |
void |
JcrMetadataAdapter.importWithMetadata(MailMetadata mmd) |
abstract void |
MetadataAdapter.importWithMetadata(MailMetadata mmd)
Perform specific mail metadata import.
|
void |
DbMetadataAdapter.importWithMetadata(String parentPath,
VersionMetadata vmd,
InputStream is) |
void |
JcrMetadataAdapter.importWithMetadata(String parentPath,
VersionMetadata vmd,
InputStream is) |
abstract void |
MetadataAdapter.importWithMetadata(String parentPath,
VersionMetadata vmd,
InputStream is)
Perform specific version metadata import.
|
Modifier and Type | Method and Description |
---|---|
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.move(String token,
String docPath,
String fldPath) |
void |
MailService.move(String token,
String mailPath,
String dstPath) |
void |
FolderService.move(String token,
String fldPath,
String dstPath) |
Document |
DocumentService.rename(String token,
String docPath,
String newName) |
Mail |
MailService.rename(String token,
String mailPath,
String newName) |
Folder |
FolderService.rename(String token,
String fldPath,
String newName) |
Copyright © 2016. All rights reserved.