public interface RelationshipDao
void removeRelationship(Document_Document dtod)
int updateSuspectRelationships(List<Integer> documentIds, boolean suspect, List<Integer> exceptedRelationshipTypes)
void saveRelationships(List<Document_Document> associatedDocuments)
void saveRelationship(Document_Document dtod)
Document_Document getRelationship(Integer dtodId)
List<Document_Document> getDocumentListWithSuspectLinks(Integer projectId)
List<Document_Document> getRelationshipsForDocument(Integer documentId, boolean isForward)
List<Document_Document> getRelationshipsForDocumentAndType(Integer documentId, Integer relatedTypeId, boolean isForward)
List<Document_Document> getRelationshipsForDocumentAndMultipleTypes(Integer documentParentId, List<Integer> typeIds, boolean isForward)
List<Document_Document> getRelationshipsForDocumentByRelationshipType(Integer docId, Integer relTypeId, Boolean isForward)
List<Document_Document> getRelationshipsForDocumentByRelationshipTypeAndRelatedDocumentType(Integer docId, Integer relTypeId, Integer docTypeId, Boolean isForward)
List<Document_Document> getRelationshipsForDocuments(Collection<Integer> ids, boolean isForward)
List<Document_Document> getRelationshipsForDocuments(Collection<Integer> ids, boolean isForward, Integer otherSideHavingDocumentTypeId)
List<Document_Document> getRelationshipsForDocuments(String condition, boolean isForward)
List<Document_Document> getRelationshipsForDocumentTypeAndRelationshipType(Integer docTypeId, Integer relTypeId)
List<Document_Document> getRelationshipList(Filter filter)
long getRelationshipCountForDocument(Integer documentId, Integer relatedGroupId, boolean isForward)
long getRelationshipCountForDocumentAndType(Integer documentId, Integer relatedTypeId, boolean isForward)
long getRelationshipCount(Filter filter)
int getExternalRelationshipCountForProject(Integer projectId)
List<Document_Document> batchUpdateRelationships(Filter fieldChangeFilter, List<Document_Document> relationships)
void batchDeleteRelationships(List<Document_Document> results)
Document_Document getRelationshipBetweenDocuments(Integer fromDocId, Integer toDocId)
boolean relationshipExistsBetweenDocuments(Integer docIdA, Integer docIdB)
List<Document_Document> getAllRelationshipsForProject(Integer projectId)
SearchResults<Document_Document> getRelationshipsInProject(Integer projectId, PageInfo pageInfo)
Integer getAllSuspectRelationshipsForProject(Integer projectId)
List<Document_Document> replaceRelationshipTypeById(Integer originalTypeId, RelationshipType newType)
List<Document_Document> getAllRelationshipsForDocuments(Collection<Integer> docIds, boolean onlyIncludeTreeRelationships)
List<DocumentType> getDocumentTypesForRelatedDocuments(Collection<Integer> docIds)
docIds
- IDs of the specified documents.List<DocumentType> getDocumentTypesForTracesNotInSelection(Collection<Integer> allIds, Collection<Integer> traceIds)
allIds
- IDs of the specified documentstraceIds
- IDs of the specified relationshipsList<Document_Document> getRelationshipsBetweenDocuments(Collection<Integer> docIds)
List<Document_Document> getRelationshipsByIds(Collection<Integer> relationshipIds)
List<com.jamasoftware.contour.api.reuse.service.dto.ReuseTraceDTO> getTraceDtosForDocuments(Collection<Integer> docIds, boolean forward)
List<Document_Document> getRelationshipsWithAssociationTypes(List<Integer> associationTypeIds)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.