public class HibReleaseDaoImpl extends com.jamasoftware.contour.data.util.hibernate4.HibernateDaoSupport implements ReleaseDao
Constructor and Description |
---|
HibReleaseDaoImpl() |
public List<Release> getReleaseList(Integer typeId, boolean activeOnly, boolean includeArchived)
getReleaseList
in interface ReleaseDao
public List<Integer> getInactiveReleaseIds(Integer orgId)
getInactiveReleaseIds
in interface ReleaseDao
public Release getRelease(Integer releaseId)
getRelease
in interface ReleaseDao
public List<Release> getReleases(Collection<Integer> releaseIds)
getReleases
in interface ReleaseDao
public SearchResults<Release> getPagedReleases(Integer projectId, Integer start, Integer count)
getPagedReleases
in interface ReleaseDao
public Integer getReleaseProjectId(Integer releaseId)
getReleaseProjectId
in interface ReleaseDao
public List<Release> findReleasesByName(Integer orgId, String name)
findReleasesByName
in interface ReleaseDao
public void saveRelease(Release release)
saveRelease
in interface ReleaseDao
public void deactivateRelease(Release release)
deactivateRelease
in interface ReleaseDao
public void archiveRelease(Release release, boolean archive)
archiveRelease
in interface ReleaseDao
public List<ReleaseType> getReleaseTypeList(Integer scope, Integer refId)
getReleaseTypeList
in interface ReleaseDao
public ReleaseType getReleaseTypeByCategory(Integer category, Integer scope, Integer refId)
getReleaseTypeByCategory
in interface ReleaseDao
public List<Document> getDocumentsForRelease(Integer releaseId)
getDocumentsForRelease
in interface ReleaseDao
public Integer getNumDocumentsInRelease(Integer releaseId)
getNumDocumentsInRelease
in interface ReleaseDao
public void saveReleaseType(ReleaseType releaseType)
saveReleaseType
in interface ReleaseDao
public void deleteReleaseType(ReleaseType releaseType)
deleteReleaseType
in interface ReleaseDao
public void deleteRelease(Release release)
deleteRelease
in interface ReleaseDao
public List<Integer> getReleaseIdsForTypes(List<Integer> releaseTypeIds)
getReleaseIdsForTypes
in interface ReleaseDao
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.