Package | Description |
---|---|
com.openkm.bean.nr | |
com.openkm.dao | |
com.openkm.module.db.base | |
com.openkm.module.db.stuff | |
com.openkm.util | |
com.openkm.vernum |
Modifier and Type | Method and Description |
---|---|
NodeDocument |
NodeQueryResult.getAttachment() |
NodeDocument |
NodeQueryResult.getDocument() |
Modifier and Type | Method and Description |
---|---|
void |
NodeQueryResult.setAttachment(NodeDocument attachment) |
void |
NodeQueryResult.setDocument(NodeDocument document) |
Modifier and Type | Method and Description |
---|---|
NodeDocument |
NodeDocumentDAO.findByPk(String uuid)
Find by pk
|
NodeDocument |
NodeDocumentDAO.findByPk(String uuid,
boolean initPropGroups)
Find by pk and optionally initialize node property groups
|
NodeDocument |
NodeDocumentDAO.rename(String uuid,
String newName)
Rename document
|
Modifier and Type | Method and Description |
---|---|
List<NodeDocument> |
NodeDocumentDAO.findAll()
Find all documents
|
List<NodeDocument> |
NodeDocumentDAO.findByCategory(String catUuid)
Search nodes by category
|
List<NodeDocument> |
NodeDocumentDAO.findByKeyword(String keyword)
Search nodes by keyword
|
List<NodeDocument> |
NodeDocumentDAO.findByParent(String parentUuid)
Find by parent
|
List<NodeDocument> |
NodeDocumentDAO.findByPropertyValue(String group,
String property,
String value)
Search nodes by property value
|
List<NodeDocument> |
NodeDocumentDAO.findFromParent(String parentUuid)
Search nodes from a given parent recursively
|
Modifier and Type | Method and Description |
---|---|
NodeDocumentVersion |
NodeDocumentDAO.create(NodeDocument nDoc,
InputStream is,
long size)
Create document and first version
|
void |
NodeDocumentDAO.initialize(NodeDocument nDocument,
boolean initPropGroups)
Force initialization of a proxy
|
void |
NodeDocumentDAO.lock(String user,
NodeDocument nDoc)
Lock node
|
void |
NodeDocumentDAO.unlock(String user,
NodeDocument nDoc,
boolean force)
Unlock node
|
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 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
|
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 Document |
BaseDocumentModule.getProperties(String user,
NodeDocument nDocument)
Get folder properties
|
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 |
---|---|
void |
DocumentUtils.staticExtractMetadata(NodeDocument nDoc) |
Modifier and Type | Method and Description |
---|---|
String |
PlainVersionNumerationAdapter.getNextVersionNumber(org.hibernate.Session session,
NodeDocument nDoc,
NodeDocumentVersion nDocVer,
int increment) |
String |
MajorMinorReleaseVersionNumerationAdapter.getNextVersionNumber(org.hibernate.Session session,
NodeDocument nDoc,
NodeDocumentVersion nDocVer,
int increment) |
String |
LetterVersionAdapter.getNextVersionNumber(org.hibernate.Session paramSession,
NodeDocument paramNodeDocument,
NodeDocumentVersion paramNodeDocumentVersion,
int paramInt) |
String |
BranchVersionNumerationAdapter.getNextVersionNumber(org.hibernate.Session session,
NodeDocument nDoc,
NodeDocumentVersion nDocVer,
int increment) |
String |
MajorMinorVersionNumerationAdapter.getNextVersionNumber(org.hibernate.Session session,
NodeDocument nDoc,
NodeDocumentVersion nDocVer,
int increment) |
String |
VersionNumerationAdapter.getNextVersionNumber(org.hibernate.Session session,
NodeDocument nDoc,
NodeDocumentVersion nDocVer,
int increment)
Calculate the next version number from a given one.
|
Copyright © 2016. All rights reserved.