public class HibContourItemDaoImpl extends com.jamasoftware.contour.data.ContourHibernateDaoSupport implements ContourItemDao
Constructor and Description |
---|
HibContourItemDaoImpl() |
distinctResults, doWithQuery, findQueryStringParams, findQueryStringParams, findQueryStringParamsWithSingleList, findQueryStringParamsWithTwoLists, getCount, getDomainObject, getDomainObjects, getDomainObjects, getMaxInCollectionSize, setMaxInCollectionSize, setParameterMapOnQuery, uniqueResult
public ContourItem getContourItem(Integer contourItemId)
getContourItem
in interface ContourItemDao
public void saveContourItem(ContourItem item)
public void saveContourItems(List<? extends ContourItem> items)
public void updateContourItem(ContourItem item)
public List<ContourItem> getContourItemsByIds(List<Integer> itemIds)
getContourItemsByIds
in interface ContourItemDao
public void deleteTestCaseSteps(Document testCase)
public List<DocumentInfo> getDocumentInfoList(Integer documentTypeId, Integer projectId, Integer limit)
public List<Integer> getContourItemIdsByCustomFieldValue(DocumentField docField, String fieldValue, Integer projectId)
public List<Integer> getContourItemIdsForProject(Integer projectId)
getContourItemIdsForProject
in interface ContourItemDao
public DocumentCustomFieldValue getCustomFieldValueById(Integer customFieldValueId)
public void saveCustomField(DocumentCustomFieldValue customField)
public Integer getNumDocumentsWithGlobalId(String globalId, Integer organizationId)
public Integer getNumDocumentsWithGlobalIdInProject(String globalId, Integer projectId)
public List<ContourItem> getDocumentsWithGlobalId(String globalId, Integer organizationId)
public boolean isSyncItem(ContourItem item)
public List<Integer> getDocIdsForItemsSyncedWithProject(List<Integer> itemIds, Integer sourceProjectId)
public Map<Project,Integer> getNumSyncedItemsPerProject(List<String> globalIds, Integer orgId, Integer projId)
public List<Document> getGlobalIdItemsInProject(String globalId, Project destinationProject)
public List<Document> getMatchingDocsInProject(Document sourceDocument, Project destinationProject)
public int getExternalSyncItemCount(Integer projectId)
public int getTotalItems(Integer orgId)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.