public interface DocumentDao
boolean getDocumentActiveValue(Integer documentId)
List<Document> getDocumentByIds(Collection<Integer> docIds)
@Deprecated Document getDocumentByNameAndGroup(String name, Integer groupId)
List<Document> getDocumentsByNameAndRelease(String name, String release, Integer projectId)
void saveDocument(Document document)
void saveDocument(Document doc, boolean useMode)
void deleteDocument(Document doc)
SearchResults<Document_DocAttach> getDocumentAttachments(Integer documentId, PageInfo pageInfo, SorterList sorter)
SearchResults<Document_DocAttach> getAttachmentDocuments(Integer documentId, PageInfo pageInfo)
Document_DocAttach getDocumentDocAttachment(Integer docAttachId)
Document_DocAttach getDocumentDocAttachment(Integer documentId, Integer docAttachmentId)
void deleteDocumentAttachment(Document_DocAttach docAtt)
void saveAttachmentRelationship(Document_DocAttach dtod)
List<Integer> getDocumentToAttachmentDocumentList(List<Integer> documentIds)
List<Document> getDocumentListByType(Integer documentTypeId, boolean activeOnly, SorterList sorter)
Iterator<Document> getDocumentIteratorByType(Integer documentTypeId, Integer projectId, boolean activeOnly, SorterList sorter, Integer pageSize)
int getDocumentsByTypeCount(Integer documentTypeId, Integer projectId, boolean activeOnly)
List<DocumentField> getDocumentLookupFields(Integer orgId)
Object replaceCustomLookupById(Integer originalLookupId, Lookup newLookup, DocumentField dField)
Object replacePredefinedLookupById(Integer originalLookupId, Lookup newLookup, DocumentField dField)
int getTotalProjectItems(int projectId)
List<Integer> getIdsFor(Integer orgId, String property, Class<?> clazz, List<String> subqueries, String inListProperty, List<Object> inList)
List<Object> subquerySearchWithProjection(Integer orgId, String projection, Class<?> searchClass, org.apache.lucene.search.Query query)
TestCaseStep getTestCaseStep(Integer id)
List<Document_DocAttach> getDocument_DocAttachments(Integer docId)
List<Integer> getIdsWithSharedGlobalIds(Integer orgId, List<String> subqueries, String inListProperty, List<Object> inList)
Map<Integer,Map<String,List<Integer>>> getSystemSharedGlobalIdToDocumentIdsMap()
com.jamasoftware.contour.api.reuse.service.dto.ActiveAndGlobalIdDTO getActiveAndGlobalIdOfItem(Integer id)
void deleteCustomFields(Collection<DocumentCustomFieldValue> customFieldValues)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.