Modifier and Type | Method and Description |
---|---|
Note |
OKMNote.add(String token,
String nodePath,
String text) |
Bookmark |
OKMBookmark.add(String token,
String nodePath,
String name) |
void |
OKMProperty.addCategory(String token,
String nodePath,
String catId) |
void |
OKMPropertyGroup.addGroup(String token,
String nodePath,
String grpName) |
String |
OKMProperty.addKeyword(String token,
String nodePath,
String keyword) |
void |
OKMDocument.cancelCheckout(String token,
String docPath) |
void |
OKMAuth.changeSecurity(String token,
String nodePath,
Map<String,Integer> grantUsers,
Map<String,Integer> revokeUsers,
Map<String,Integer> grantRoles,
Map<String,Integer> revokeRoles,
boolean recursive) |
Version |
OKMDocument.checkin(String token,
String docPath,
InputStream is,
String comment) |
void |
OKMDocument.checkout(String token,
String docPath) |
void |
OKMFolder.copy(String token,
String fldPath,
String dstPath) |
void |
OKMDocument.copy(String token,
String docPath,
String destPath) |
void |
OKMMail.copy(String token,
String mailPath,
String dstPath) |
Document |
OKMDocument.create(String token,
Document doc,
InputStream is) |
Folder |
OKMFolder.create(String token,
Folder fld) |
Mail |
OKMMail.create(String token,
Mail mail) |
Folder |
OKMFolder.createSimple(String token,
String fldPath) |
Document |
OKMDocument.createSimple(String token,
String docPath,
InputStream is) |
void |
OKMNote.delete(String token,
String notePath) |
void |
OKMFolder.delete(String token,
String fldPath) |
void |
OKMDocument.delete(String token,
String docPath) |
void |
OKMMail.delete(String token,
String mailPath) |
void |
OKMDocument.forceCancelCheckout(String token,
String docPath) |
void |
OKMDocument.forceUnlock(String token,
String docPath) |
Note |
OKMNote.get(String token,
String notePath) |
Folder |
OKMRepository.getCategoriesFolder(String token) |
List<Folder> |
OKMFolder.getChildren(String token,
String fldPath) |
List<Document> |
OKMDocument.getChildren(String token,
String fldPath) |
List<Mail> |
OKMMail.getChildren(String token,
String fldPath) |
List<Folder> |
OKMFolder.getChilds(String token,
String fldPath)
Deprecated.
|
List<Document> |
OKMDocument.getChilds(String token,
String fldPath)
Deprecated.
|
List<Mail> |
OKMMail.getChilds(String token,
String fldPath)
Deprecated.
|
InputStream |
OKMDocument.getContent(String token,
String docPath,
boolean checkout) |
InputStream |
OKMDocument.getContentByVersion(String token,
String docPath,
String versionId) |
ContentInfo |
OKMFolder.getContentInfo(String token,
String fldPath) |
Map<String,Integer> |
OKMAuth.getGrantedRoles(String token,
String nodePath) |
Map<String,Integer> |
OKMAuth.getGrantedUsers(String token,
String nodePath) |
List<PropertyGroup> |
OKMPropertyGroup.getGroups(String token,
String nodePath) |
LockInfo |
OKMDocument.getLockInfo(String token,
String docPath) |
Folder |
OKMRepository.getMailFolder(String token) |
Folder |
OKMRepository.getMailFolderBase(String token) |
String |
OKMRepository.getNodePath(String token,
String uuid) |
String |
OKMRepository.getNodeUuid(String token,
String path) |
Folder |
OKMRepository.getPersonalFolder(String token) |
Folder |
OKMRepository.getPersonalFolderBase(String token) |
Folder |
OKMFolder.getProperties(String token,
String fldPath) |
Document |
OKMDocument.getProperties(String token,
String docPath) |
Mail |
OKMMail.getProperties(String token,
String mailPath) |
List<FormElement> |
OKMPropertyGroup.getProperties(String token,
String nodePath,
String grpName) |
Folder |
OKMRepository.getRootFolder(String token) |
String |
OKMScripting.getScript(String token,
String nodePath) |
QueryParams |
OKMSearch.getSearch(String token,
int qpId) |
Set<String> |
OKMNotification.getSubscriptors(String token,
String nodePath) |
Folder |
OKMRepository.getTemplatesFolder(String token) |
Folder |
OKMRepository.getThesaurusFolder(String token) |
Folder |
OKMRepository.getTrashFolder(String token) |
Folder |
OKMRepository.getTrashFolderBase(String token) |
List<Version> |
OKMDocument.getVersionHistory(String token,
String docPath) |
long |
OKMDocument.getVersionHistorySize(String token,
String docPath) |
void |
OKMAuth.grantRole(String token,
String nodePath,
String role,
int permissions,
boolean recursive) |
void |
OKMAuth.grantUser(String token,
String nodePath,
String user,
int permissions,
boolean recursive) |
boolean |
OKMPropertyGroup.hasGroup(String token,
String nodeId,
String grpName) |
boolean |
OKMDocument.isCheckedOut(String token,
String docPath) |
boolean |
OKMDocument.isLocked(String token,
String docPath) |
boolean |
OKMFolder.isValid(String token,
String fldPath) |
boolean |
OKMDocument.isValid(String token,
String docPath) |
boolean |
OKMMail.isValid(String token,
String mailPath) |
List<Note> |
OKMNote.list(String token,
String nodePath) |
LockInfo |
OKMDocument.lock(String token,
String docPath) |
void |
OKMFolder.move(String token,
String fldPath,
String dstPath) |
void |
OKMDocument.move(String token,
String docPath,
String destPath) |
void |
OKMMail.move(String token,
String mailPath,
String dstPath) |
void |
OKMNotification.notify(String token,
String nodePath,
List<String> users,
String message,
boolean attachment) |
void |
OKMFolder.purge(String token,
String fldPath) |
void |
OKMDocument.purge(String token,
String docPath) |
void |
OKMMail.purge(String token,
String mailPath) |
void |
OKMRepository.purgeTrash(String token) |
void |
OKMDocument.purgeVersionHistory(String token,
String docPath) |
void |
OKMProperty.removeCategory(String token,
String nodePath,
String catId) |
void |
OKMPropertyGroup.removeGroup(String token,
String nodePath,
String grpName) |
void |
OKMProperty.removeKeyword(String token,
String nodePath,
String keyword) |
void |
OKMScripting.removeScript(String token,
String nodePath) |
Folder |
OKMFolder.rename(String token,
String fldPath,
String newName) |
Document |
OKMDocument.rename(String token,
String docPath,
String newName) |
Mail |
OKMMail.rename(String token,
String mailPath,
String newName) |
void |
OKMDocument.restoreVersion(String token,
String docPath,
String versionId) |
void |
OKMAuth.revokeRole(String token,
String nodePath,
String user,
int permissions,
boolean recursive) |
void |
OKMAuth.revokeUser(String token,
String nodePath,
String user,
int permissions,
boolean recursive) |
String |
OKMNote.set(String token,
String notePath,
String text) |
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) |
void |
OKMScripting.setScript(String token,
String nodePath,
String code) |
void |
OKMNotification.subscribe(String token,
String nodePath) |
void |
OKMDocument.unlock(String token,
String docPath) |
void |
OKMNotification.unsubscribe(String token,
String nodePath) |
Modifier and Type | Method and Description |
---|---|
void |
NodeBaseDAO.addCategory(String uuid,
String catId)
Add category to node
|
void |
NodeBaseDAO.addKeyword(String uuid,
String keyword)
Add keyword to node
|
void |
NodeBaseDAO.addPropertyGroup(String uuid,
String grpName)
Add property group
|
void |
NodeDocumentDAO.cancelCheckout(String user,
String uuid,
boolean force)
Cancel checkout
|
int |
NodeBaseDAO.changeSecurity(org.hibernate.Session session,
NodeBase node,
Map<String,Integer> grantUsers,
Map<String,Integer> revokeUsers,
Map<String,Integer> grantRoles,
Map<String,Integer> revokeRoles,
boolean recursive)
Change security.
|
void |
NodeBaseDAO.changeSecurity(String uuid,
Map<String,Integer> grantUsers,
Map<String,Integer> revokeUsers,
Map<String,Integer> grantRoles,
Map<String,Integer> revokeRoles,
boolean recursive)
Change security of multiples nodes
|
int |
NodeBaseDAO.changeSecurityInDepth(org.hibernate.Session session,
NodeBase node,
Map<String,Integer> grantUsers,
Map<String,Integer> revokeUsers,
Map<String,Integer> grantRoles,
Map<String,Integer> revokeRoles)
Change security recursively
|
NodeDocumentVersion |
NodeDocumentVersionDAO.checkin(String user,
String comment,
String docUuid,
InputStream is,
long size)
Create or update dummy version
|
void |
NodeBaseDAO.checkItemExistence(org.hibernate.Session session,
String parent,
String name)
Check for same node name in same parent
|
void |
NodeDocumentDAO.checkout(String user,
String uuid)
Checkout
|
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 |
NodeNoteDAO.create(NodeNote nNote)
Create
|
void |
NodeNoteDAO.delete(String uuid)
Delete
|
void |
NodeFolderDAO.delete(String name,
String uuid,
String trashUuid)
Delete folder
|
void |
NodeMailDAO.delete(String name,
String uuid,
String trashUuid)
Delete mail
|
void |
NodeDocumentDAO.delete(String name,
String uuid,
String trashUuid)
Delete document
|
List<NodeFolder> |
NodeFolderDAO.findByCategory(String catUuid)
Search nodes by category
|
List<NodeMail> |
NodeMailDAO.findByCategory(String catUuid)
Search nodes by category
|
List<NodeDocument> |
NodeDocumentDAO.findByCategory(String catUuid)
Search nodes by category
|
List<NodeDocumentVersion> |
NodeDocumentVersionDAO.findByParent(String docUuid)
Find by parent
|
List<NodeFolder> |
NodeFolderDAO.findByParent(String parentUuid)
Find by parent
|
List<NodeMail> |
NodeMailDAO.findByParent(String parentUuid)
Find by parent
|
List<NodeNote> |
NodeNoteDAO.findByParent(String parentUuid)
Find by parent
|
List<NodeDocument> |
NodeDocumentDAO.findByParent(String parentUuid)
Find by parent
|
NodeFolder |
NodeFolderDAO.findByPk(String uuid)
Find by pk
|
NodeMail |
NodeMailDAO.findByPk(String uuid)
Find by path
|
NodeNote |
NodeNoteDAO.findByPk(String uuid)
Find by path
|
static UserConfig |
UserConfigDAO.findByPk(String user)
Find by pk
|
NodeDocument |
NodeDocumentDAO.findByPk(String uuid)
Find by pk
|
NodeBase |
NodeBaseDAO.findByPk(String uuid)
Find by pk
|
NodeDocument |
NodeDocumentDAO.findByPk(String uuid,
boolean initPropGroups)
Find by pk and optionally initialize node property groups
|
NodeDocumentVersion |
NodeDocumentVersionDAO.findCurrentVersion(String docUuid)
Find current document version
|
static MailFilter |
MailAccountDAO.findFilterByPk(long mfId)
Find by pk
|
List<String> |
SearchDAO.findFoldersInDepth(String parentUuid)
Find by parent in depth
TODO This cache should be for every user (no pass through access manager) and cleaned
after a create, move or copy folder operation.
|
long |
NodeBaseDAO.getCount(String nodeType)
Get result node count.
|
InputStream |
NodeDocumentVersionDAO.getCurrentContentByParent(String docUuid)
Get document version content
|
String |
NodeDocumentDAO.getExtractedText(org.hibernate.Session session,
String uuid)
Get extracted text.
|
NodeLock |
NodeDocumentDAO.getLock(String uuid)
Test for locked status
|
String |
NodeBaseDAO.getNodeTypeByUuid(String uuid)
Get node type by UUID
|
String |
NodeBaseDAO.getPathFromUuid(org.hibernate.Session session,
String uuid)
Get node path from UUID
|
String |
NodeBaseDAO.getPathFromUuid(String uuid)
Get node path from UUID
|
Map<String,String> |
NodeBaseDAO.getProperties(String uuid,
String grpName)
Get properties from property group
|
String |
NodeBaseDAO.getProperty(String uuid,
String grpName,
String propName)
Get single property value from property group
|
List<String> |
NodeBaseDAO.getPropertyGroups(String uuid)
Get assigned property groups
|
Map<String,Integer> |
NodeBaseDAO.getRolePermissions(String uuid)
Get role permissions
|
String |
NodeBaseDAO.getScript(String uuid)
Obtain script code
|
long |
NodeDocumentDAO.getSize(String context)
Get document node size.
|
Set<String> |
NodeBaseDAO.getSubscriptors(String uuid)
Get node subscriptors
|
long |
NodeBaseDAO.getSubtreeCount(String nodeType,
String path,
int depth)
Get result node count.
|
long |
NodeDocumentDAO.getSubtreeSize(String path)
Get document node size.
|
Map<String,Integer> |
NodeBaseDAO.getUserPermissions(String uuid)
Get user permissions
|
String |
NodeBaseDAO.getUuidFromPath(org.hibernate.Session session,
String path)
Get node UUID from path
|
String |
NodeBaseDAO.getUuidFromPath(String path)
Get node UUID from path
|
InputStream |
NodeDocumentVersionDAO.getVersionContentByParent(String docUuid,
String name)
Get document version content
|
void |
NodeBaseDAO.grantRolePermissions(String uuid,
String role,
int permissions,
boolean recursive)
Grant role permissions
|
void |
NodeBaseDAO.grantUserPermissions(String uuid,
String user,
int permissions,
boolean recursive)
Grant user permissions
|
boolean |
NodeBaseDAO.hasCategory(String uuid,
String catId)
Test for category in a node
|
boolean |
NodeFolderDAO.hasChildren(String parentUuid)
Check if folder has childs
|
boolean |
NodeMailDAO.hasChildren(String parentUuid)
Check if folder has childs
|
boolean |
NodeDocumentDAO.hasChildren(String parentUuid)
Check if folder has children
|
boolean |
NodeBaseDAO.hasKeyword(String uuid,
String keyword)
Test for category in a node
|
boolean |
NodeDocumentDAO.isCheckedOut(String uuid)
Test for checked out status
|
boolean |
NodeDocumentDAO.isLocked(String uuid)
Test for locked status
|
NodeLock |
NodeDocumentDAO.lock(String user,
String uuid)
Lock node
|
NodeResultSet |
SearchDAO.moreLikeThis(String uuid,
int maxResults)
Return a list of similar documents.
|
void |
NodeFolderDAO.move(String uuid,
String dstUuid)
Move folder
|
void |
NodeMailDAO.move(String uuid,
String dstUuid)
Move mail
|
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
|
void |
NodeBaseDAO.removeCategory(String uuid,
String catId)
Remove category from node
|
void |
NodeBaseDAO.removeKeyword(String uuid,
String keyword)
Remove keyword from node
|
void |
NodeBaseDAO.removePropertyGroup(String uuid,
String grpName)
Remove property group
|
void |
NodeBaseDAO.removeScript(String uuid)
Remove node script
|
NodeFolder |
NodeFolderDAO.rename(String uuid,
String newName)
Rename folder
|
NodeMail |
NodeMailDAO.rename(String uuid,
String newName)
Rename mail
|
NodeDocument |
NodeDocumentDAO.rename(String uuid,
String newName)
Rename document
|
void |
NodeDocumentVersionDAO.restoreVersion(String docUuid,
String versionId)
Set a document version as current.
|
void |
NodeBaseDAO.revokeRolePermissions(String uuid,
String role,
int permissions,
boolean recursive)
Revoke role permissions
|
void |
NodeBaseDAO.revokeUserPermissions(String uuid,
String user,
int permissions,
boolean recursive)
Revoke user permissions
|
void |
NodeDocumentVersionDAO.setContent(String docUuid,
InputStream is,
long size)
Set version content.
|
Map<String,String> |
NodeBaseDAO.setProperties(String uuid,
String grpName,
Map<String,String> properties)
Set properties from property group
|
void |
NodeBaseDAO.setScript(String uuid,
String code)
Set node script
|
void |
NodeBaseDAO.subscribe(String uuid,
String user)
Subscribe user to node
|
void |
NodeDocumentDAO.unlock(String user,
String uuid,
boolean force)
Unlock node
|
void |
NodeBaseDAO.unsubscribe(String uuid,
String user)
Remove user subscription
|
void |
NodeNoteDAO.update(NodeNote nNote)
Update
|
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 |
DocumentExtensionManager.postCheckin(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode,
Ref<Version> refVersion) |
void |
DocumentExtension.postCheckin(javax.jcr.Session session,
Ref<javax.jcr.Node> docNode,
Ref<Version> version)
Executed POST document CHECK IN.
|
void |
DocumentExtensionManager.postCopy(javax.jcr.Session session,
Ref<javax.jcr.Node> refSrcNode,
Ref<javax.jcr.Node> refNewDocument,
Ref<javax.jcr.Node> refDstFolderNode) |
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 |
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 |
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 |
FolderExtensionManager.postCreate(javax.jcr.Session session,
Ref<javax.jcr.Node> parentNode,
Ref<javax.jcr.Node> fldNode)
Handle POST create extensions
|
void |
DocumentExtensionManager.postDelete(javax.jcr.Session session,
String fileName) |
void |
DocumentExtension.postDelete(javax.jcr.Session session,
String fileName)
Executed POST document DELETE.
|
void |
FolderExtension.postDelete(javax.jcr.Session session,
String fldPath,
Ref<javax.jcr.Node> refFolderNode)
Executed AFTER folder delete.
|
void |
FolderExtensionManager.postDelete(javax.jcr.Session session,
String fldPath,
Ref<javax.jcr.Node> refFolderNode) |
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.postMove(javax.jcr.Session session,
String oldDocPath,
Ref<javax.jcr.Node> srcFldNode,
Ref<javax.jcr.Node> dstDocNode)
Executed AFTER document MOVE.
|
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.postPurge(javax.jcr.Session session,
String fldPath)
Executed AFTER folder purge.
|
void |
DocumentExtensionManager.postPurge(javax.jcr.Session session,
String docPath) |
void |
DocumentExtension.postPurge(javax.jcr.Session session,
String docPath)
Executed POST document PURGE.
|
void |
FolderExtensionManager.postPurge(javax.jcr.Session session,
String fldPath) |
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 |
FolderExtension.postRename(javax.jcr.Session session,
String fldPath,
String newPath,
Ref<javax.jcr.Node> refFolderNode)
Executed AFTER folder purge.
|
void |
DocumentExtensionManager.postRename(javax.jcr.Session session,
String docPath,
String newPath,
Ref<javax.jcr.Node> refDocumentNode) |
void |
DocumentExtension.postRename(javax.jcr.Session session,
String docPath,
String newPath,
Ref<javax.jcr.Node> refDocumentNode)
Executed POST document RENAME.
|
void |
FolderExtensionManager.postRename(javax.jcr.Session session,
String fldPath,
String newPath,
Ref<javax.jcr.Node> refFolderNode) |
void |
DocumentExtensionManager.postRestoreVersion(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode) |
void |
DocumentExtension.postRestoreVersion(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode)
Executed POST document RESTORE VERSION.
|
void |
DocumentExtensionManager.postSetContent(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 |
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 |
DocumentExtensionManager.preCheckin(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode) |
void |
DocumentExtension.preCheckin(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode)
Executed BEFORE document CHECK IN.
|
void |
DocumentExtensionManager.preCopy(javax.jcr.Session session,
Ref<javax.jcr.Node> refSrcNode,
Ref<javax.jcr.Node> refDstFolderNode) |
void |
DocumentExtension.preCopy(javax.jcr.Session session,
Ref<javax.jcr.Node> refSrcNode,
Ref<javax.jcr.Node> refDstFolderNode)
Executed BEFORE document COPY.
|
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 |
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.
|
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 |
DocumentExtensionManager.preDelete(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode) |
void |
DocumentExtension.preDelete(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode)
Executed BEFORE document DELETE.
|
void |
FolderExtension.preDelete(javax.jcr.Session session,
String fldPath,
Ref<javax.jcr.Node> refFolderNode)
Executed BEFORE folder delete.
|
void |
FolderExtensionManager.preDelete(javax.jcr.Session session,
String fldPath,
Ref<javax.jcr.Node> refFolderNode) |
void |
DocumentExtensionManager.preMove(javax.jcr.Session session,
Ref<javax.jcr.Node> srcDocNode,
Ref<javax.jcr.Node> dstFldNode)
Handle PRE move extensions
|
void |
DocumentExtension.preMove(javax.jcr.Session session,
Ref<javax.jcr.Node> srcDocNode,
Ref<javax.jcr.Node> dstFldNode)
Executed BEFORE document MOVE.
|
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 |
DocumentExtensionManager.prePurge(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode) |
void |
DocumentExtension.prePurge(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode)
Executed BEFORE document PURGE.
|
void |
FolderExtension.prePurge(javax.jcr.Session session,
String fldPath,
Ref<javax.jcr.Node> refFolderNode)
Executed BEFORE folder purge.
|
void |
FolderExtensionManager.prePurge(javax.jcr.Session session,
String fldPath,
Ref<javax.jcr.Node> refFolderNode) |
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 |
FolderExtension.preRename(javax.jcr.Session session,
String fldPath,
String newPath,
Ref<javax.jcr.Node> refFolderNode)
Executed BEFORE folder purge.
|
void |
DocumentExtensionManager.preRename(javax.jcr.Session session,
String docPath,
String newPath,
Ref<javax.jcr.Node> refDocumentNode) |
void |
DocumentExtension.preRename(javax.jcr.Session session,
String docPath,
String newPath,
Ref<javax.jcr.Node> refDocumentNode)
Executed BEFORE document RENAME.
|
void |
FolderExtensionManager.preRename(javax.jcr.Session session,
String fldPath,
String newPath,
Ref<javax.jcr.Node> refFolderNode) |
void |
DocumentExtensionManager.preRestoreVersion(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode) |
void |
DocumentExtension.preRestoreVersion(javax.jcr.Session session,
Ref<javax.jcr.Node> refDocumentNode)
Executed BEFPRE document RESTORE VERSION.
|
void |
DocumentExtensionManager.preSetContent(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 |
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 |
---|---|
void |
TextExtractorWorker.rebuildWorker(org.hibernate.search.batchindexing.MassIndexerProgressMonitor monitor)
Force text extraction of every document in the repository
|
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 |
---|---|
Bookmark |
BookmarkModule.add(String token,
String nodePath,
String name)
Add a new bookmark which points to this document.
|
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 nodePath,
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.
|
void |
AuthModule.changeSecurity(String token,
String nodePath,
Map<String,Integer> grantUsers,
Map<String,Integer> revokeUsers,
Map<String,Integer> grantRoles,
Map<String,Integer> revokeRoles,
boolean recursive)
Change several security permissions in the same call.
|
Version |
DocumentModule.checkin(String token,
String docPath,
InputStream is,
String comment)
Check in the document to create a new version.
|
void |
DocumentModule.checkout(String token,
String docPath)
Checkout the document to edit it.
|
void |
FolderModule.copy(String token,
String fldPath,
String dstPath)
Copy a folder 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 |
MailModule.copy(String token,
String mailPath,
String dstPath)
Copy a mail 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 |
FolderModule.delete(String token,
String fldPath)
Delete a folder the repository.
|
void |
DocumentModule.delete(String token,
String docPath)
Deletes a document from the repository.
|
void |
NoteModule.delete(String token,
String notePath)
Remove a note from a document
|
void |
MailModule.delete(String token,
String mailPath)
Delete a mail the repository.
|
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
|
Folder |
RepositoryModule.getCategoriesFolder(String token)
Obtain the categories folder of the repository.
|
List<Folder> |
FolderModule.getChildren(String token,
String fldPath)
Retrieve a list of children folders from an existing one.
|
List<Document> |
DocumentModule.getChildren(String token,
String fldPath)
Retrieve a list of children documents from an existing folder.
|
List<Mail> |
MailModule.getChildren(String token,
String fldPath)
Retrieve a list of children mails from an existing folder.
|
List<Folder> |
FolderModule.getChilds(String token,
String fldPath)
Deprecated.
|
List<Document> |
DocumentModule.getChilds(String token,
String fldPath)
Deprecated.
|
List<Mail> |
MailModule.getChilds(String token,
String fldPath)
Deprecated.
|
InputStream |
DocumentModule.getContent(String token,
String docPath,
boolean checkout)
Obtain document content from the repository.
|
InputStream |
DocumentModule.getContentByVersion(String token,
String docPath,
String versionId)
Obtain document content from the repository.
|
ContentInfo |
FolderModule.getContentInfo(String token,
String fldPath)
Retrive the content info of the folder: number of folders, number of documents, and total size.
|
Map<String,Integer> |
AuthModule.getGrantedRoles(String token,
String nodePath)
Get roles permissions from am item (document or folder).
|
Map<String,Integer> |
AuthModule.getGrantedUsers(String token,
String nodePath)
Get user permissions from am item (document or folder).
|
List<PropertyGroup> |
PropertyGroupModule.getGroups(String token,
String nodePath)
Get groups assigned to a document.
|
LockInfo |
DocumentModule.getLockInfo(String token,
String docPath)
Returns a lock information.
|
Folder |
RepositoryModule.getMailFolder(String token)
Obtain the personal mails folder of the repository.
|
Folder |
RepositoryModule.getMailFolderBase(String token) |
String |
RepositoryModule.getNodePath(String token,
String uuid)
Obtain the node path with a given uuid.
|
String |
RepositoryModule.getNodeUuid(String token,
String path)
Obtain the node uuid with a given path.
|
Folder |
RepositoryModule.getPersonalFolder(String token)
Obtain the personal documents folder of the repository.
|
Folder |
RepositoryModule.getPersonalFolderBase(String token) |
Folder |
FolderModule.getProperties(String token,
String fldPath)
Obtains properties from a previously created folder.
|
Document |
DocumentModule.getProperties(String token,
String docPath)
Obtain document properties from the repository.
|
Mail |
MailModule.getProperties(String token,
String mailPath)
Obtains properties from a previously created mail.
|
List<FormElement> |
PropertyGroupModule.getProperties(String token,
String nodePath,
String grpName)
Get all properties defined in a document by group.
|
Folder |
RepositoryModule.getRootFolder(String token)
Obtain the root folder of the repository.
|
String |
ScriptingModule.getScript(String token,
String nodePath)
Get node script (document or folder).
|
QueryParams |
SearchModule.getSearch(String token,
int qpId)
Get a saved search.
|
Set<String> |
NotificationModule.getSubscriptors(String token,
String nodePath)
Get user subscriptions from am item (document or folder).
|
Folder |
RepositoryModule.getTemplatesFolder(String token)
Obtain the template folder of the repository.
|
Folder |
RepositoryModule.getThesaurusFolder(String token)
Obtain the thesaurus folder of the repository.
|
Folder |
RepositoryModule.getTrashFolder(String token)
Obtains the user trash folder.
|
Folder |
RepositoryModule.getTrashFolderBase(String token) |
List<Version> |
DocumentModule.getVersionHistory(String token,
String docPath)
Get the document version history.
|
long |
DocumentModule.getVersionHistorySize(String token,
String docPath)
Get the version size of a Document.
|
void |
AuthModule.grantRole(String token,
String nodePath,
String role,
int permissions,
boolean recursive)
Grant role permissions for a node.
|
void |
AuthModule.grantUser(String token,
String nodePath,
String user,
int permissions,
boolean recursive)
Add user permissions to a node.
|
boolean |
PropertyGroupModule.hasGroup(String token,
String nodePath,
String grpName)
Test if a node has a property group assigned
|
boolean |
DocumentModule.isCheckedOut(String token,
String docPath)
Test if a node has been already checked out.
|
boolean |
DocumentModule.isLocked(String token,
String docPath)
Tell if a document is locked.
|
boolean |
FolderModule.isValid(String token,
String fldId)
Test if a folder path is valid.
|
boolean |
DocumentModule.isValid(String token,
String docId)
Test if a document path is valid.
|
boolean |
MailModule.isValid(String token,
String mailPath)
Test if a mail path is valid.
|
List<Note> |
NoteModule.list(String token,
String nodePath)
Retrieve a list of notes from a document.
|
LockInfo |
DocumentModule.lock(String token,
String docPath)
Lock a document, so only is editable by the locker.
|
void |
FolderModule.move(String token,
String fldPath,
String dstPath)
Move a folder 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 |
MailModule.move(String token,
String mailPath,
String dstPath)
Move a mail to another location in the repository.
|
void |
NotificationModule.notify(String token,
String nodePath,
List<String> users,
String message,
boolean attachment)
Send a notification message to an user list.
|
void |
FolderModule.purge(String token,
String fldPath)
Deletes definitively a folder from 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 |
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 nodePath,
String grpName)
Removes a property group from a document.
|
void |
PropertyModule.removeKeyword(String token,
String nodePath,
String keyword)
Remove a keyword from a node.
|
void |
ScriptingModule.removeScript(String token,
String nodePath)
Remove script from node.
|
Folder |
FolderModule.rename(String token,
String fldPath,
String newName)
Rename a folder in the repository.
|
Document |
DocumentModule.rename(String token,
String docPath,
String newName)
Rename a document in the repository.
|
Mail |
MailModule.rename(String token,
String mailPath,
String newName)
Rename a mail in the repository.
|
void |
DocumentModule.restoreVersion(String token,
String docPath,
String versionId)
Revert the document to an specific previous version.
|
void |
AuthModule.revokeRole(String token,
String nodePath,
String role,
int permissions,
boolean recursive)
Revoke role permissions from a node.
|
void |
AuthModule.revokeUser(String token,
String nodePath,
String user,
int permissions,
boolean recursive)
Revoke user permissions from a node.
|
String |
NoteModule.set(String token,
String notePath,
String text)
Set a new text to document note.
|
void |
DocumentModule.setProperties(String token,
Document doc)
Set document properties in the repository.
|
void |
PropertyGroupModule.setProperties(String token,
String nodePath,
String grpName,
List<FormElement> properties)
Set group properties to a document.
|
void |
ScriptingModule.setScript(String token,
String nodePath,
String code)
Add script to node.
|
void |
NotificationModule.subscribe(String token,
String nodePath)
Add user subscription to a node.
|
void |
DocumentModule.unlock(String token,
String docPath)
Unlock a document, so will be editable for other users.
|
void |
NotificationModule.unsubscribe(String token,
String nodePath)
Remove an user subscription from a node.
|
Modifier and Type | Method and Description |
---|---|
static void |
CommonNotificationModule.sendNotification(String user,
String nodePath,
String from,
List<String> to,
String message,
boolean attachment)
Clean preview cache for this document
|
Modifier and Type | Method and Description |
---|---|
Bookmark |
DbBookmarkModule.add(String token,
String nodePath,
String name) |
Note |
DbNoteModule.add(String token,
String nodePath,
String text) |
void |
DbPropertyModule.addCategory(String token,
String nodePath,
String catId) |
void |
DbPropertyGroupModule.addGroup(String token,
String nodePath,
String grpName) |
String |
DbPropertyModule.addKeyword(String token,
String nodePath,
String keyword) |
void |
DbDocumentModule.cancelCheckout(String token,
String docPath) |
void |
DbAuthModule.changeSecurity(String token,
String nodePath,
Map<String,Integer> grantUsers,
Map<String,Integer> revokeUsers,
Map<String,Integer> grantRoles,
Map<String,Integer> revokeRoles,
boolean recursive) |
Version |
DbDocumentModule.checkin(String token,
String docPath,
InputStream is,
long size,
String comment,
String userId)
Used when big files and WebDAV
|
Version |
DbDocumentModule.checkin(String token,
String docPath,
InputStream is,
String comment) |
Version |
DbDocumentModule.checkin(String token,
String docPath,
InputStream is,
String comment,
String userId)
Used in Zoho extension
|
void |
DbDocumentModule.checkout(String token,
String docPath) |
void |
DbDocumentModule.checkout(String token,
String docPath,
String userId)
Used in Zoho extension
|
void |
DbDocumentModule.copy(String token,
String docPath,
String dstPath) |
void |
DbMailModule.copy(String token,
String mailPath,
String dstPath) |
void |
DbFolderModule.copy(String token,
String fldPath,
String dstPath) |
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)
Used when importing mail from scheduler
|
void |
DbDocumentModule.delete(String token,
String docPath) |
void |
DbMailModule.delete(String token,
String mailPath) |
void |
DbNoteModule.delete(String token,
String notePath) |
void |
DbFolderModule.delete(String token,
String fldPath) |
void |
DbDocumentModule.forceCancelCheckout(String token,
String docPath) |
void |
DbDocumentModule.forceUnlock(String token,
String docPath) |
Note |
DbNoteModule.get(String token,
String notePath) |
Folder |
DbRepositoryModule.getCategoriesFolder(String token) |
List<Document> |
DbDocumentModule.getChildren(String token,
String fldPath) |
List<Mail> |
DbMailModule.getChildren(String token,
String fldPath) |
List<Folder> |
DbFolderModule.getChildren(String token,
String fldPath) |
List<Document> |
DbDocumentModule.getChilds(String token,
String fldPath)
Deprecated.
|
List<Mail> |
DbMailModule.getChilds(String token,
String fldPath)
Deprecated.
|
List<Folder> |
DbFolderModule.getChilds(String token,
String fldPath)
Deprecated.
|
InputStream |
DbDocumentModule.getContent(String token,
String docPath,
boolean checkout) |
InputStream |
DbDocumentModule.getContent(String token,
String docPath,
boolean checkout,
boolean extendedSecurity)
Retrieve the content input stream from a document
|
InputStream |
DbDocumentModule.getContentByVersion(String token,
String docPath,
String verName) |
ContentInfo |
DbFolderModule.getContentInfo(String token,
String fldPath) |
Map<String,Integer> |
DbAuthModule.getGrantedRoles(String token,
String nodePath) |
Map<String,Integer> |
DbAuthModule.getGrantedUsers(String token,
String nodePath) |
List<PropertyGroup> |
DbPropertyGroupModule.getGroups(String token,
String nodePath) |
LockInfo |
DbDocumentModule.getLockInfo(String token,
String docPath) |
Folder |
DbRepositoryModule.getMailFolder(String token) |
Folder |
DbRepositoryModule.getMailFolderBase(String token) |
String |
DbRepositoryModule.getNodePath(String token,
String uuid) |
String |
DbRepositoryModule.getNodeUuid(String token,
String path) |
Folder |
DbRepositoryModule.getPersonalFolder(String token) |
Folder |
DbRepositoryModule.getPersonalFolderBase(String token) |
Document |
DbDocumentModule.getProperties(String token,
String docPath) |
Mail |
DbMailModule.getProperties(String token,
String mailPath) |
Folder |
DbFolderModule.getProperties(String token,
String fldPath) |
List<FormElement> |
DbPropertyGroupModule.getProperties(String token,
String nodePath,
String grpName) |
FormElement |
DbPropertyGroupModule.getProperty(String token,
String nodePath,
String grpName,
String propName)
Convenient method for GWTUtil.getExtraColumn()
|
Folder |
DbRepositoryModule.getRootFolder(String token) |
String |
DbScriptingModule.getScript(String token,
String nodePath) |
QueryParams |
DbSearchModule.getSearch(String token,
int qpId) |
Set<String> |
DbNotificationModule.getSubscriptors(String token,
String nodePath) |
Folder |
DbRepositoryModule.getTemplatesFolder(String token) |
Folder |
DbRepositoryModule.getThesaurusFolder(String token) |
Folder |
DbRepositoryModule.getTrashFolder(String token) |
Folder |
DbRepositoryModule.getTrashFolderBase(String token) |
List<Version> |
DbDocumentModule.getVersionHistory(String token,
String docPath) |
long |
DbDocumentModule.getVersionHistorySize(String token,
String docPath) |
void |
DbAuthModule.grantRole(String token,
String nodePath,
String role,
int permissions,
boolean recursive) |
void |
DbAuthModule.grantUser(String token,
String nodePath,
String guser,
int permissions,
boolean recursive) |
boolean |
DbPropertyGroupModule.hasGroup(String token,
String nodePath,
String grpName) |
boolean |
DbDocumentModule.isCheckedOut(String token,
String docPath) |
boolean |
DbDocumentModule.isLocked(String token,
String docPath) |
boolean |
DbDocumentModule.isValid(String token,
String docPath) |
boolean |
DbMailModule.isValid(String token,
String mailPath) |
boolean |
DbFolderModule.isValid(String token,
String fldPath) |
List<Note> |
DbNoteModule.list(String token,
String nodePath) |
static void |
DbAuthModule.loadUserData(String user)
Load user data
|
LockInfo |
DbDocumentModule.lock(String token,
String docPath) |
void |
DbDocumentModule.move(String token,
String docPath,
String dstPath) |
void |
DbMailModule.move(String token,
String mailPath,
String dstPath) |
void |
DbFolderModule.move(String token,
String fldPath,
String dstPath) |
void |
DbNotificationModule.notify(String token,
String nodePath,
List<String> users,
String message,
boolean attachment) |
void |
DbDocumentModule.purge(String token,
String docPath) |
void |
DbMailModule.purge(String token,
String mailPath) |
void |
DbFolderModule.purge(String token,
String fldPath) |
void |
DbRepositoryModule.purgeTrash(String token) |
void |
DbDocumentModule.purgeVersionHistory(String token,
String docPath) |
void |
DbPropertyModule.removeCategory(String token,
String nodePath,
String catId) |
void |
DbPropertyGroupModule.removeGroup(String token,
String nodePath,
String grpName) |
void |
DbPropertyModule.removeKeyword(String token,
String nodePath,
String keyword) |
void |
DbScriptingModule.removeScript(String token,
String nodePath) |
Document |
DbDocumentModule.rename(String token,
String docPath,
String newName) |
Mail |
DbMailModule.rename(String token,
String mailPath,
String newName) |
Folder |
DbFolderModule.rename(String token,
String fldPath,
String newName) |
void |
DbDocumentModule.restoreVersion(String token,
String docPath,
String versionId) |
void |
DbAuthModule.revokeRole(String token,
String nodePath,
String role,
int permissions,
boolean recursive) |
void |
DbAuthModule.revokeUser(String token,
String nodePath,
String guser,
int permissions,
boolean recursive) |
String |
DbNoteModule.set(String token,
String notePath,
String text) |
void |
DbDocumentModule.setProperties(String token,
Document doc) |
void |
DbPropertyGroupModule.setProperties(String token,
String nodePath,
String grpName,
List<FormElement> properties) |
void |
DbScriptingModule.setScript(String token,
String nodePath,
String code) |
void |
DbNotificationModule.subscribe(String token,
String nodePath) |
void |
DbDocumentModule.unlock(String token,
String docPath) |
void |
DbNotificationModule.unsubscribe(String token,
String nodePath) |
Modifier and Type | Method and Description |
---|---|
static NodeDocument |
BaseDocumentModule.copy(String user,
NodeDocument srcDocNode,
String dstPath,
NodeBase dstNode,
String docName)
Is invoked from DbDocumentNode and DbFolderNode.
|
static NodeFolder |
BaseFolderModule.copy(String user,
NodeFolder srcFldNode,
NodeFolder dstFldNode)
Duplicates a folder into another one
|
static NodeMail |
BaseMailModule.copy(String user,
NodeMail srcMailNode,
NodeFolder dstFldNode)
Is invoked from DbDocumentNode and DbFolderNode.
|
static NodeFolder |
BaseFolderModule.create(String user,
NodeFolder parentFolder,
String name,
Calendar created)
Create a new folder
|
static NodeMail |
BaseMailModule.create(String user,
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)
Create a new mail
|
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,
Ref<FileUploadResponse> fuResponse)
Create a new document
|
static NodeNote |
BaseNoteModule.create(String parentUuid,
String user,
String text)
Create a new note
|
static InputStream |
BaseDocumentModule.getContent(String user,
String docPath,
boolean checkout,
boolean extendedSecurity)
Retrieve the content input stream from a document
|
static ContentInfo |
BaseFolderModule.getContentInfo(String folderUuid)
Get content info recursively
|
static Document |
BaseDocumentModule.getProperties(String user,
NodeDocument nDocument)
Get folder properties
|
static Folder |
BaseFolderModule.getProperties(String user,
NodeFolder nFolder)
Get folder properties
|
static Mail |
BaseMailModule.getProperties(String user,
NodeMail nMail)
Get folder properties
|
static Map<String,ContentInfo> |
BaseFolderModule.getUserContentInfo(String folderUuid)
Get content info by user recursively
|
static boolean |
BaseFolderModule.hasLockedNodes(String fldUuid)
Check recursively if the folder contains locked nodes
|
static boolean |
BaseMailModule.hasLockedNodes(String mailUuid)
Check recursively if the mail contains locked nodes
|
static boolean |
BaseDocumentModule.hasWorkflowNodes(String docUuid)
Check if a node is being used in a running workflow
|
static boolean |
BaseFolderModule.hasWorkflowNodes(String fldUuid)
Check if a node is being used in a running workflow
|
static boolean |
BaseFolderModule.hasWriteAccess(String fldUuid)
Check if a node has removable childs
TODO: Is this necessary?
|
static boolean |
BaseMailModule.hasWriteAccess(String mailUuid)
Check if a node has removable childs TODO: Is this necessary?
|
static boolean |
BaseFolderModule.isCategoryInUse(String fldUuid)
Check if a folder is used as category in other nodes.
|
Modifier and Type | Method and Description |
---|---|
static void |
SecurityHelper.checkDelete(NodeBase node)
Check for node delete
|
void |
DbAccessManager.checkPermission(NodeBase node,
int permissions) |
void |
DbSimpleAccessManager.checkPermission(NodeBase node,
int permissions)
Check for permissions.
|
static void |
SecurityHelper.checkRead(NodeBase node)
Check for node read access
|
static void |
SecurityHelper.checkSecurity(NodeBase node)
Check for node security
|
static void |
SecurityHelper.checkWrite(NodeBase node)
Check for node write
|
Modifier and Type | Method and Description |
---|---|
Bookmark |
JcrBookmarkModule.add(String token,
String nodePath,
String name) |
Note |
JcrNoteModule.add(String token,
String nodePath,
String text) |
void |
JcrPropertyModule.addCategory(String token,
String nodePath,
String catId) |
void |
JcrPropertyGroupModule.addGroup(String token,
String nodePath,
String grpName) |
String |
JcrPropertyModule.addKeyword(String token,
String nodePath,
String keyword) |
void |
JcrDocumentModule.cancelCheckout(String token,
String docPath) |
void |
JcrAuthModule.changeSecurity(String token,
String nodePath,
Map<String,Integer> grantUsers,
Map<String,Integer> revokeUsers,
Map<String,Integer> grantRoles,
Map<String,Integer> revokeRoles,
boolean recursive) |
Version |
JcrDocumentModule.checkin(String token,
String docPath,
InputStream is,
String comment) |
Version |
JcrDocumentModule.checkin(String token,
String docPath,
InputStream is,
String comment,
String userId)
Used in Zoho extension
|
void |
JcrDocumentModule.checkout(String token,
String docPath) |
void |
JcrDocumentModule.checkout(String token,
String docPath,
String userId)
Used in Zoho extension
|
void |
JcrDocumentModule.copy(String token,
String docPath,
String dstPath) |
void |
JcrFolderModule.copy(String token,
String fldPath,
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 |
JcrDocumentModule.delete(String token,
String docPath) |
void |
JcrNoteModule.delete(String token,
String notePath) |
void |
JcrFolderModule.delete(String token,
String fldPath) |
void |
JcrMailModule.delete(String token,
String mailPath) |
void |
JcrDocumentModule.forceCancelCheckout(String token,
String docPath) |
void |
JcrDocumentModule.forceUnlock(String token,
String docPath) |
Note |
JcrNoteModule.get(String token,
String notePath) |
Folder |
JcrRepositoryModule.getCategoriesFolder(String token) |
List<Document> |
JcrDocumentModule.getChildren(String token,
String fldPath) |
List<Folder> |
JcrFolderModule.getChildren(String token,
String fldPath) |
List<Mail> |
JcrMailModule.getChildren(String token,
String fldPath) |
List<Document> |
JcrDocumentModule.getChilds(String token,
String fldPath)
Deprecated.
|
List<Folder> |
JcrFolderModule.getChilds(String token,
String fldPath)
Deprecated.
|
List<Mail> |
JcrMailModule.getChilds(String token,
String fldPath)
Deprecated.
|
InputStream |
JcrDocumentModule.getContent(String token,
String docPath,
boolean checkout) |
InputStream |
JcrDocumentModule.getContentByVersion(String token,
String docPath,
String versionId) |
ContentInfo |
JcrFolderModule.getContentInfo(String token,
String fldPath) |
Map<String,Integer> |
JcrAuthModule.getGrantedRoles(String token,
String nodePath) |
HashMap<String,Integer> |
JcrAuthModule.getGrantedUsers(String token,
String nodePath) |
List<PropertyGroup> |
JcrPropertyGroupModule.getGroups(String token,
String nodePath) |
LockInfo |
JcrDocumentModule.getLockInfo(String token,
String docPath) |
Folder |
JcrRepositoryModule.getMailFolder(String token) |
Folder |
JcrRepositoryModule.getMailFolderBase(String token) |
String |
JcrRepositoryModule.getNodePath(String token,
String uuid) |
String |
JcrRepositoryModule.getNodeUuid(String token,
String path) |
Folder |
JcrRepositoryModule.getPersonalFolder(String token) |
Folder |
JcrRepositoryModule.getPersonalFolderBase(String token) |
Document |
JcrDocumentModule.getProperties(String token,
String docPath) |
Folder |
JcrFolderModule.getProperties(String token,
String fldPath) |
Mail |
JcrMailModule.getProperties(String token,
String mailPath) |
List<FormElement> |
JcrPropertyGroupModule.getProperties(String token,
String nodePath,
String grpName) |
Folder |
JcrRepositoryModule.getRootFolder(String token) |
String |
JcrScriptingModule.getScript(String token,
String nodePath) |
QueryParams |
JcrSearchModule.getSearch(String token,
int qpId) |
Set<String> |
JcrNotificationModule.getSubscriptors(String token,
String nodePath) |
Folder |
JcrRepositoryModule.getTemplatesFolder(String token) |
Folder |
JcrRepositoryModule.getThesaurusFolder(String token) |
Folder |
JcrRepositoryModule.getTrashFolder(String token) |
Folder |
JcrRepositoryModule.getTrashFolderBase(String token) |
List<Version> |
JcrDocumentModule.getVersionHistory(String token,
String docPath) |
long |
JcrDocumentModule.getVersionHistorySize(String token,
String docPath) |
void |
JcrAuthModule.grantRole(String token,
String nodePath,
String role,
int permissions,
boolean recursive) |
void |
JcrAuthModule.grantUser(String token,
String nodePath,
String user,
int permissions,
boolean recursive) |
boolean |
JcrPropertyGroupModule.hasGroup(String token,
String nodePath,
String grpName) |
boolean |
JcrDocumentModule.isCheckedOut(String token,
String docPath) |
boolean |
JcrDocumentModule.isLocked(String token,
String docPath) |
boolean |
JcrDocumentModule.isValid(String token,
String docPath) |
boolean |
JcrFolderModule.isValid(String token,
String fldPath) |
boolean |
JcrMailModule.isValid(String token,
String mailPath) |
List<Note> |
JcrNoteModule.list(String token,
String nodePath) |
LockInfo |
JcrDocumentModule.lock(String token,
String docPath) |
void |
JcrDocumentModule.move(String token,
String docPath,
String dstPath) |
void |
JcrFolderModule.move(String token,
String fldPath,
String dstPath) |
void |
JcrMailModule.move(String token,
String mailPath,
String dstPath) |
void |
JcrNotificationModule.notify(String token,
String nodePath,
List<String> users,
String message,
boolean attachment) |
void |
JcrDocumentModule.purge(String token,
String docPath) |
void |
JcrFolderModule.purge(String token,
String fldPath) |
void |
JcrMailModule.purge(String token,
String mailPath) |
void |
JcrDocumentModule.purgeVersionHistory(String token,
String docPath) |
void |
JcrPropertyModule.removeCategory(String token,
String nodePath,
String catId) |
void |
JcrPropertyGroupModule.removeGroup(String token,
String nodePath,
String grpName) |
void |
JcrPropertyModule.removeKeyword(String token,
String nodePath,
String keyword) |
void |
JcrScriptingModule.removeScript(String token,
String nodePath) |
Document |
JcrDocumentModule.rename(String token,
String docPath,
String newName) |
Folder |
JcrFolderModule.rename(String token,
String fldPath,
String newName) |
Mail |
JcrMailModule.rename(String token,
String mailPath,
String newName) |
void |
JcrDocumentModule.restoreVersion(String token,
String docPath,
String versionId) |
void |
JcrAuthModule.revokeRole(String token,
String nodePath,
String role,
int permissions,
boolean recursive) |
void |
JcrAuthModule.revokeUser(String token,
String nodePath,
String user,
int permissions,
boolean recursive) |
String |
JcrNoteModule.set(String token,
String notePath,
String text) |
void |
JcrDocumentModule.setProperties(String token,
Document doc) |
void |
JcrPropertyGroupModule.setProperties(String token,
String nodePath,
String grpName,
List<FormElement> properties) |
void |
JcrScriptingModule.setScript(String token,
String nodePath,
String code) |
void |
JcrNotificationModule.subscribe(String token,
String nodePath) |
void |
JcrDocumentModule.unlock(String token,
String docPath) |
void |
JcrNotificationModule.unsubscribe(String token,
String nodePath) |
Modifier and Type | Method and Description |
---|---|
static ContentInfo |
BaseFolderModule.getContentInfo(javax.jcr.Node folderNode)
Get content info recursively
|
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 |
---|---|
static void |
MailUtils.addAttachments(String token,
Mail mail,
javax.mail.Part p,
String userId)
Add attachments to an imported mail.
|
static GWTDashboardDocumentResult |
GWTUtil.copy(DashboardDocumentResult dsDocumentResult)
Copy the DashboardDocumentResult data to GWTDashboardDocumentResult
|
static GWTDashboardFolderResult |
GWTUtil.copy(DashboardFolderResult dsFolderResult)
Copy the DashboardFolderResult data to GWTDashboardFolderResult
|
static GWTDashboardMailResult |
GWTUtil.copy(DashboardMailResult dsmailResult)
Copy the DashboardMailResult data to GWTDashboardMailResult
|
static GWTDocument |
GWTUtil.copy(Document doc,
GWTWorkspace workspace)
Copy the Document data to GWTDocument data.
|
static GWTFolder |
GWTUtil.copy(Folder fld,
GWTWorkspace workspace)
Copy the Folder data to GWTFolder data.
|
static GWTFormElement |
GWTUtil.copy(FormElement formElement)
Copy to FormElement data to GWTFormElemen
|
static GWTMail |
GWTUtil.copy(Mail mail,
GWTWorkspace workspace)
Copy the Mail data to GWTMail data.
|
static GWTProcessInstance |
GWTUtil.copy(ProcessInstance processInstance)
Copy to ProcessInstance data to GWTProcessInstance
|
static GWTQueryParams |
GWTUtil.copy(QueryParams params)
Copy the QueryParams data to GWTQueryParams data object
|
static GWTQueryResult |
GWTUtil.copy(QueryResult queryResult)
Copy the QueryResult data to GWTQueryResult
|
static GWTReport |
GWTUtil.copy(Report report,
List<FormElement> formElements)
Copy Report to GWTReport
|
static GWTTaskInstance |
GWTUtil.copy(TaskInstance taskInstance)
Copy to TaskInstance data to GWTTaskInstance
|
static GWTToken |
GWTUtil.copy(Token token)
Copy to Token data to GWTToken
|
static javax.mail.internet.MimeMessage |
MailUtils.create(String token,
Mail mail)
Create a mail from a Mail object
|
static void |
MailUtils.forwardMail(String token,
String fromAddress,
Collection<String> toAddress,
String message,
String mailId)
Forward a mail in the repository.
|
static void |
MailUtils.forwardMail(String token,
String fromAddress,
String toAddress,
String message,
String mailPath)
Forward a mail in the repository.
|
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 |
MailUtils.sendDocument(String fromAddress,
List<String> toAddress,
String subject,
String text,
String docPath)
Send document to non-registered OpenKM users
|
static void |
MailUtils.sendDocuments(String fromAddress,
List<String> toAddress,
String subject,
String text,
List<String> docsPath)
Send document to non-registered OpenKM users
|
Modifier and Type | Method and Description |
---|---|
static ImpExpStats |
DbRepositoryChecker.checkDocuments(String token,
String fldPath,
boolean versions,
Writer out,
InfoDecorator deco)
Performs a recursive repository document check
|
static ImpExpStats |
JcrRepositoryChecker.checkDocuments(String token,
String fldPath,
boolean versions,
Writer out,
InfoDecorator deco)
Performs a recursive repository document check
|
static ImpExpStats |
RepositoryExporter.exportDocument(String token,
String docPath,
String destPath,
boolean metadata,
boolean history,
Writer out,
InfoDecorator deco)
Export document from OpenKM repository to filesystem.
|
static ImpExpStats |
RepositoryExporter.exportDocuments(String token,
String fldPath,
File fs,
boolean metadata,
boolean history,
Writer out,
InfoDecorator deco)
Performs a recursive repository content export with metadata
|
static ImpExpStats |
RepositoryExporter.exportMail(String token,
String mailPath,
String destPath,
boolean metadata,
Writer out,
InfoDecorator deco)
Export mail from OpenKM repository to filesystem.
|
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 |
---|---|
DocumentMetadata |
MetadataAdapter.getMetadata(Document doc)
Performs metadata conversion.
|
FolderMetadata |
MetadataAdapter.getMetadata(Folder fld)
Performs metadata conversion.
|
MailMetadata |
MetadataAdapter.getMetadata(Mail mail)
Performs metadata conversion.
|
Modifier and Type | Method and Description |
---|---|
static com.bradmcevoy.http.Resource |
ResourceUtils.getNode(com.bradmcevoy.common.Path srcPath,
String path)
Resolve node resource (may be folder or document)
|
Modifier and Type | Method and Description |
---|---|
Note |
NoteService.add(String token,
String nodePath,
String text) |
Bookmark |
BookmarkService.add(String token,
String nodePath,
String name) |
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,
byte[] content,
String comment) |
void |
DocumentService.checkout(String token,
String docPath) |
Document |
DocumentService.create(String token,
Document doc,
byte[] 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,
byte[] content) |
void |
NoteService.delete(String token,
String notePath) |
void |
MailService.delete(String token,
String mailPath) |
void |
DocumentService.delete(String token,
String docPath) |
void |
FolderService.delete(String token,
String fldPath) |
void |
DocumentService.forceCancelCheckout(String token,
String docPath) |
void |
DocumentService.forceUnlock(String token,
String docPath) |
Note |
NoteService.get(String token,
String notePath) |
Folder |
RepositoryService.getCategoriesFolder(String token) |
Mail[] |
MailService.getChildren(String token,
String mailPath) |
Document[] |
DocumentService.getChildren(String token,
String fldPath) |
Folder[] |
FolderService.getChildren(String token,
String fldPath) |
Mail[] |
MailService.getChilds(String token,
String mailPath)
Deprecated.
|
Document[] |
DocumentService.getChilds(String token,
String fldPath)
Deprecated.
|
Folder[] |
FolderService.getChilds(String token,
String fldPath)
Deprecated.
|
byte[] |
DocumentService.getContent(String token,
String docPath,
boolean checkout) |
byte[] |
DocumentService.getContentByVersion(String token,
String docPath,
String versionId) |
IntegerPair[] |
AuthService.getGrantedRoles(String token,
String nodePath) |
IntegerPair[] |
AuthService.getGrantedUsers(String token,
String nodePath) |
PropertyGroup[] |
PropertyGroupService.getGroups(String token,
String nodePath) |
Folder |
RepositoryService.getMailFolder(String token) |
String |
RepositoryService.getNodePath(String token,
String uuid) |
String |
RepositoryService.getNodeUuid(String token,
String path) |
Folder |
RepositoryService.getPersonalFolder(String token) |
Mail |
MailService.getProperties(String token,
String mailPath) |
Document |
DocumentService.getProperties(String token,
String docPath) |
Folder |
FolderService.getProperties(String token,
String fldPath) |
FormElementComplex[] |
PropertyGroupService.getProperties(String token,
String nodePath,
String grpName) |
Folder |
RepositoryService.getRootFolder(String token) |
QueryParams |
SearchService.getSearch(String token,
int qpId) |
String[] |
NotificationService.getSubscriptors(String token,
String nodePath) |
Folder |
RepositoryService.getTemplatesFolder(String token) |
Folder |
RepositoryService.getThesaurusFolder(String token) |
Folder |
RepositoryService.getTrashFolder(String token) |
Version[] |
DocumentService.getVersionHistory(String token,
String docPath) |
long |
DocumentService.getVersionHistorySize(String token,
String docPath) |
void |
AuthService.grantRole(String token,
String nodePath,
String role,
int permissions,
boolean recursive) |
void |
AuthService.grantUser(String token,
String nodePath,
String user,
int permissions,
boolean recursive) |
boolean |
PropertyGroupService.hasGroup(String token,
String nodePath,
String grpName) |
boolean |
MailService.isValid(String token,
String mailPath) |
boolean |
DocumentService.isValid(String token,
String docPath) |
boolean |
FolderService.isValid(String token,
String fldPath) |
Note[] |
NoteService.list(String token,
String nodePath) |
LockInfo |
DocumentService.lock(String token,
String docPath) |
void |
MailService.move(String token,
String mailPath,
String dstPath) |
void |
DocumentService.move(String token,
String docPath,
String fldPath) |
void |
FolderService.move(String token,
String fldPath,
String dstPath) |
void |
NotificationService.notify(String token,
String nodePath,
String[] users,
String message,
boolean attachment) |
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) |
Mail |
MailService.rename(String token,
String mailPath,
String newName) |
Document |
DocumentService.rename(String token,
String docPath,
String newName) |
Folder |
FolderService.rename(String token,
String fldPath,
String newName) |
void |
DocumentService.restoreVersion(String token,
String docPath,
String versionId) |
void |
AuthService.revokeRole(String token,
String nodePath,
String user,
int permissions,
boolean recursive) |
void |
AuthService.revokeUser(String token,
String nodePath,
String user,
int permissions,
boolean recursive) |
void |
NoteService.set(String token,
String notePath,
String text) |
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 |
NotificationService.subscribe(String token,
String nodePath) |
void |
DocumentService.unlock(String token,
String docPath) |
void |
NotificationService.unsubscribe(String token,
String nodePath) |
Copyright © 2015. All Rights Reserved.