Modifier and Type | Method and Description |
---|---|
Note |
OKMNote.add(String token,
String nodeId,
String text) |
void |
OKMProperty.addCategory(String token,
String nodeId,
String catId) |
void |
OKMPropertyGroup.addGroup(String token,
String nodeId,
String grpName) |
String |
OKMProperty.addKeyword(String token,
String nodeId,
String keyword) |
void |
OKMDocument.cancelCheckout(String token,
String docId) |
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.checkout(String token,
String docId) |
void |
OKMDocument.delete(String token,
String docId) |
void |
OKMMail.delete(String token,
String mailId) |
void |
OKMNote.delete(String token,
String noteId) |
void |
OKMFolder.delete(String token,
String fldId) |
void |
OKMDocument.forceCancelCheckout(String token,
String docId) |
void |
OKMDocument.forceUnlock(String token,
String docId) |
Note |
OKMNote.get(String token,
String noteId) |
LockInfo |
OKMDocument.getLockInfo(String token,
String docId) |
LockInfo |
OKMDocument.lock(String token,
String docId) |
void |
OKMDocument.move(String token,
String docId,
String dstId) |
void |
OKMDocument.purge(String token,
String docId) |
void |
OKMMail.purge(String token,
String mailId) |
void |
OKMFolder.purge(String token,
String fldId) |
void |
OKMRepository.purgeTrash(String token) |
void |
OKMDocument.purgeVersionHistory(String token,
String docId) |
void |
OKMProperty.removeCategory(String token,
String nodeId,
String catId) |
void |
OKMPropertyGroup.removeGroup(String token,
String nodeId,
String grpName) |
void |
OKMProperty.removeKeyword(String token,
String nodeId,
String keyword) |
Document |
OKMDocument.rename(String token,
String docId,
String newName) |
void |
OKMDocument.restoreVersion(String token,
String docId,
String versionId) |
String |
OKMNote.set(String token,
String noteId,
String text) |
void |
OKMProperty.setEncryption(String token,
String nodePath,
String cipherName) |
void |
OKMDocument.setProperties(String token,
Document doc) |
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) |
void |
OKMProperty.setSigned(String token,
String nodePath,
boolean signed) |
void |
OKMDocument.unlock(String token,
String docId) |
void |
OKMProperty.unsetEncryption(String token,
String nodePath) |
Modifier and Type | Method and Description |
---|---|
void |
NodeDocumentDAO.cancelCheckout(String user,
String uuid,
boolean force)
Cancel checkout
|
NodeDocumentVersion |
NodeDocumentVersionDAO.checkin(String user,
String comment,
String docUuid,
InputStream is,
long size,
int increment)
Create or update dummy version
|
void |
NodeDocumentDAO.checkout(String user,
String uuid)
Checkout
|
void |
NodeDocumentDAO.delete(String name,
String uuid,
String trashUuid)
Delete document
|
NodeLock |
NodeDocumentDAO.getLock(String uuid)
Test for locked status
|
void |
NodeDocumentDAO.liveEditCancelCheckout(String user,
String uuid,
boolean force)
Cancel checkout and delete temporal file.
|
NodeDocumentVersion |
NodeDocumentVersionDAO.liveEditCheckin(String user,
String comment,
int increment,
String docUuid)
Create new version from temporal file.
|
void |
NodeDocumentVersionDAO.liveEditSetContent(String docUuid,
InputStream is,
long size)
Set temporal version content.
|
void |
NodeDocumentDAO.lock(String user,
NodeDocument nDoc)
Lock node
|
NodeLock |
NodeDocumentDAO.lock(String user,
String uuid)
Lock node
|
void |
NodeDocumentDAO.move(String uuid,
String dstUuid)
Move document
|
void |
NodeMailDAO.purge(String uuid)
Purge in depth
|
void |
NodeDocumentDAO.purge(String uuid)
Purge in depth
|
void |
NodeFolderDAO.purge(String uuid,
boolean deleteBase)
Purge in depth.
|
void |
NodeMailDAO.purgeHelper(org.hibernate.Session session,
String parentUuid)
Purge in depth helper
|
void |
NodeDocumentDAO.purgeHelper(org.hibernate.Session session,
String parentUuid)
Purge in depth helper
|
void |
NodeDocumentVersionDAO.purgeVersionHistory(String docUuid)
Purge all non-current document version history nodes
|
NodeDocument |
NodeDocumentDAO.rename(String uuid,
String newName)
Rename document
|
void |
NodeDocumentVersionDAO.restoreVersion(String docUuid,
String versionId)
Set a document version as current.
|
void |
NodeDocumentVersionDAO.setContent(String docUuid,
InputStream is,
long size)
Set version content.
|
void |
NodeDocumentDAO.setEncryption(String uuid,
String cipherName)
Set document encryption method
|
void |
NodeDocumentDAO.setSigned(String uuid,
boolean signed)
Set if document is signed
|
void |
NodeDocumentDAO.unlock(String user,
NodeDocument nDoc,
boolean force)
Unlock node
|
void |
NodeDocumentDAO.unlock(String user,
String uuid,
boolean force)
Unlock node
|
void |
NodeDocumentDAO.unsetEncryption(String uuid)
Unset document encryption flag
|
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 |
---|---|
Note |
NoteModule.add(String token,
String nodePath,
String text)
Add a note to a document
|
void |
PropertyModule.addCategory(String token,
String nodePath,
String catId)
Add a category to a node.
|
void |
PropertyGroupModule.addGroup(String token,
String nodeId,
String grpName)
Add a property group to a document.
|
String |
PropertyModule.addKeyword(String token,
String nodePath,
String keyword)
Add a keyword to a node.
|
void |
DocumentModule.cancelCheckout(String token,
String docPath)
Cancel a previous checked out state in 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.checkout(String token,
String docPath)
Checkout the document to edit it.
|
void |
DocumentModule.delete(String token,
String docPath)
Deletes a document from the repository.
|
void |
MailModule.delete(String token,
String mailPath)
Delete a mail the repository.
|
void |
FolderModule.delete(String token,
String fldPath)
Delete a folder the repository.
|
void |
NoteModule.delete(String token,
String notePath)
Remove a note from a document
|
void |
DocumentModule.forceCancelCheckout(String token,
String docPath)
Force to cancel a previous checked out state in a document.
|
void |
DocumentModule.forceUnlock(String token,
String docPath)
For document unlock, so will be editable for other users.
|
Note |
NoteModule.get(String token,
String notePath)
Get note from document
|
LockInfo |
DocumentModule.getLockInfo(String token,
String docPath)
Returns a lock information.
|
LockInfo |
DocumentModule.lock(String token,
String docPath)
Lock a document, so only is editable by the locker.
|
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 |
MailModule.purge(String token,
String mailPath)
Deletes definitively a mail from the repository.
|
void |
FolderModule.purge(String token,
String fldPath)
Deletes definitively a folder from the repository.
|
void |
RepositoryModule.purgeTrash(String token)
Remove all the items in the user trash folder for ever.
|
void |
DocumentModule.purgeVersionHistory(String token,
String docPath)
Purge a Document version history, so delete all previous versions but last one.
|
void |
PropertyModule.removeCategory(String token,
String nodePath,
String catId)
Remove a category from a node.
|
void |
PropertyGroupModule.removeGroup(String token,
String nodeId,
String grpName)
Removes a property group from a document.
|
void |
PropertyModule.removeKeyword(String token,
String nodePath,
String keyword)
Remove a keyword from a node.
|
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.
|
String |
NoteModule.set(String token,
String notePath,
String text)
Set a new text to document note.
|
void |
PropertyModule.setEncryption(String token,
String nodePath,
String cipherName)
Define a document as encrypted.
|
void |
DocumentModule.setProperties(String token,
Document doc)
Set document properties in the repository.
|
void |
PropertyGroupModule.setProperties(String token,
String nodeId,
String grpName,
List<FormElement> properties)
Set group properties to a document.
|
void |
PropertyModule.setSigned(String token,
String nodePath,
boolean signed)
Define a document as signed.
|
void |
DocumentModule.unlock(String token,
String docPath)
Unlock a document, so will be editable for other users.
|
void |
PropertyModule.unsetEncryption(String token,
String nodePath)
Unset a document as encrypted.
|
Modifier and Type | Method and Description |
---|---|
Note |
DbNoteModule.add(String token,
String nodeId,
String text) |
void |
DbPropertyModule.addCategory(String token,
String nodeId,
String catId) |
String |
DbPropertyModule.addKeyword(String token,
String nodeId,
String keyword) |
void |
DbDocumentModule.cancelCheckout(String token,
String docId) |
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 |
DbDocumentModule.checkout(String token,
String docId) |
void |
DbDocumentModule.checkout(String token,
String docId,
String userId)
Used in Zoho extension
|
void |
DbMailModule.delete(String token,
String mailId) |
void |
DbDocumentModule.delete(String token,
String docId) |
void |
DbNoteModule.delete(String token,
String noteId) |
void |
DbFolderModule.delete(String token,
String fldId) |
void |
DbDocumentModule.forceCancelCheckout(String token,
String docId) |
void |
DbDocumentModule.forceUnlock(String token,
String docId) |
Note |
DbNoteModule.get(String token,
String noteId) |
LockInfo |
DbDocumentModule.getLockInfo(String token,
String docId) |
void |
DbDocumentModule.liveEditCancelCheckout(String token,
String docId)
Cancel checkout and delete temporal file.
|
Version |
DbDocumentModule.liveEditCheckin(String token,
String docId,
String comment,
int increment)
New version and delete temporal file.
|
void |
DbDocumentModule.liveEditForceCancelCheckout(String token,
String docId)
Cancel checkout and delete temporal file.
|
void |
DbDocumentModule.liveEditSetContent(String token,
String docId,
InputStream is)
Create temporal file and set content.
|
LockInfo |
DbDocumentModule.lock(String token,
String docId) |
void |
DbDocumentModule.move(String token,
String docId,
String dstId) |
void |
DbMailModule.purge(String token,
String mailId) |
void |
DbDocumentModule.purge(String token,
String docId) |
void |
DbFolderModule.purge(String token,
String fldId) |
void |
DbRepositoryModule.purgeTrash(String token) |
void |
DbDocumentModule.purgeVersionHistory(String token,
String docId) |
void |
DbPropertyModule.removeCategory(String token,
String nodeId,
String catId) |
void |
DbPropertyModule.removeKeyword(String token,
String nodeId,
String keyword) |
Document |
DbDocumentModule.rename(String token,
String docId,
String newName) |
void |
DbDocumentModule.restoreVersion(String token,
String docId,
String versionId) |
String |
DbNoteModule.set(String token,
String noteId,
String text) |
void |
DbPropertyModule.setEncryption(String token,
String nodePath,
String cipherName) |
void |
DbDocumentModule.setProperties(String token,
Document doc) |
void |
DbPropertyModule.setSigned(String token,
String nodePath,
boolean signed) |
void |
DbDocumentModule.unlock(String token,
String docId) |
void |
DbPropertyModule.unsetEncryption(String token,
String nodePath) |
Modifier and Type | Method and Description |
---|---|
static void |
LockHelper.checkWriteLock(NodeDocument nDoc)
Check for lock
|
static void |
LockHelper.checkWriteLock(String user,
NodeDocument nDoc)
Check for lock.
|
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 |
---|---|
void |
DocumentTest.tearDown() |
void |
NoteTest.tearDown() |
void |
FolderTest.tearDown() |
void |
PropertyGroupTest.tearDown() |
void |
TrashProblemTest.tearDown() |
void |
PropertyTest.tearDown() |
void |
FolderTest.testCharactersAmp()
Path with dangerous characters are encoded as entities.
|
void |
FolderTest.testCharactersLtGt()
Path with dangerous characters are encoded as entities.
|
void |
FolderTest.testCreate() |
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 |
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.
|
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
|
static void |
MSOUtils.replaceText(String token,
String docId,
HashMap<String,String> model,
String dstPath)
Replace text.
|
Modifier and Type | Method and Description |
---|---|
Note |
NoteService.add(String token,
String nodePath,
String text) |
void |
PropertyService.addCategory(String token,
String nodePath,
String catId) |
void |
PropertyGroupService.addGroup(String token,
String nodePath,
String grpName) |
String |
PropertyService.addKeyword(String token,
String nodePath,
String keyword) |
void |
DocumentService.cancelCheckout(String token,
String docPath) |
Version |
DocumentService.checkin(String token,
String docPath,
DataHandler content,
String comment) |
void |
DocumentService.checkout(String token,
String docPath) |
void |
MailService.delete(String token,
String mailPath) |
void |
FolderService.delete(String token,
String fldPath) |
void |
NoteService.delete(String token,
String notePath) |
void |
DocumentService.delete(String token,
String docPath) |
void |
DocumentService.forceCancelCheckout(String token,
String docPath) |
void |
DocumentService.forceUnlock(String token,
String docPath) |
Note |
NoteService.get(String token,
String notePath) |
Note[] |
NoteService.list(String token,
String nodePath) |
LockInfo |
DocumentService.lock(String token,
String docPath) |
void |
DocumentService.move(String token,
String docPath,
String fldPath) |
void |
DocumentService.purge(String token,
String docPath) |
void |
RepositoryService.purgeTrash(String token) |
void |
DocumentService.purgeVersionHistory(String token,
String docPath) |
void |
PropertyService.removeCategory(String token,
String nodePath,
String catId) |
void |
PropertyGroupService.removeGroup(String token,
String nodePath,
String grpName) |
void |
PropertyService.removeKeyword(String token,
String nodePath,
String keyword) |
Document |
DocumentService.rename(String token,
String docPath,
String newName) |
void |
DocumentService.restoreVersion(String token,
String docPath,
String versionId) |
void |
NoteService.set(String token,
String notePath,
String text) |
void |
PropertyService.setEncryption(String token,
String nodePath,
String cipherName) |
void |
DocumentService.setProperties(String token,
Document doc) |
void |
PropertyGroupService.setProperties(String token,
String nodePath,
String grpName,
FormElementComplex[] properties) |
void |
PropertyGroupService.setPropertiesSimple(String token,
String nodePath,
String grpName,
StringPair[] properties) |
void |
PropertyService.setSigned(String token,
String nodePath,
boolean signed) |
void |
DocumentService.unlock(String token,
String docPath) |
void |
PropertyService.unsetEncryption(String token,
String nodePath) |
Copyright © 2018 Open Knowledge Management System S.L.. All rights reserved.