public interface DocumentNodeDao
DocumentNode
objects.DocumentNode getDocumentNode(Integer documentNodeId)
DocumentNode
by its iddocumentNodeId
- The id of a nodeDocumentNode getDocumentNode(Integer scope, Integer refId)
DocumentNode
by scope/ref.scope
- The scoperefId
- The referenced idList<DocumentNode> getDocumentNodesByIds(Collection<Integer> ids)
DocumentNode getDocumentNodeForBaseLine(Integer scope, Integer refId, Integer baseLineId)
DocumentNode
by scope/ref for a BaseLine
.scope
- The scoperefId
- The referenced idbaseLineId
- An id of a baselineList<DocumentNode> getRootBaseLineNodes(Integer baseLineId)
baseLineId
- The id of a BaseLine
void saveDocumentNode(DocumentNode node)
DocumentNode
node
- The node to save (will be assigned an id)void deleteDocumentNode(DocumentNode node)
DocumentNode
node
- The node to deleteInteger getDocumentNodeId(Integer scope, Integer refId)
scope
- The scoperefId
- The referenced idList<DocumentNode> repointBaselinedNodes(Version version)
version
- The version to update DocumentNode
pointers forList<Integer> getAllBaselineDocumentNodeIds(List<Integer> baselineIds)
DocumentNode getOrCreateProjectNode(Integer projectId)
Iterable<DocumentNode> getAllChildrenWithParentIds(Collection<Integer> parentIds)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.