public interface BaseLineDao
Modifier and Type | Method and Description |
---|---|
void |
deleteBaseLine(BaseLine baseLine)
Logically deletes a
BaseLine . |
void |
deleteBaseLineGroup(Integer scopeId,
Integer refId,
Integer projectId)
Deletes the "Baseline Group" that all have the given scope id and ref id This function logically deletes this
group and baseline from the database.
|
BaseLine |
getBaseLine(Integer baseLineId) |
List<BaseLine> |
getBaseLineListForProject(Integer projectId)
Gets a list of active
BaseLine s. |
List<Integer> |
getDocumentIds(Integer baselineId)
Gets ids of the documents that are assosciated with a baseline.
|
List<Integer> |
getFullBaseLineListForProjects(List<Integer> projectId)
Gets a full list of
BaseLine s, including active AND inactive ones. |
int |
getNumberActiveBaseLinesForProject(Integer projectId)
Total number of active baselines for the project.
|
int |
getNumberBaseLines(Integer scopeId,
Integer refId,
boolean activeOnly)
Gets the number of
BaseLine s with the given scope and ref id, and that are marked active. |
int |
getNumberDocumentsChanged(Integer baseLineId)
|
int |
getNumberDocumentsItemTypeChanged(Integer baseLineId) |
List<Signature> |
getSignaturesForBaseLine(Integer baselineId)
|
void |
physicallyDeleteBaseLine(BaseLine baseLine)
Physically deletes this
BaseLine from the database. |
void |
saveBaseLine(BaseLine baseLine) |
List<BaseLine> getBaseLineListForProject(Integer projectId)
BaseLine
s. See #getFullBaseLineListForProject(Integer)
for getting inactive
AND active baselines.List<Integer> getFullBaseLineListForProjects(List<Integer> projectId)
BaseLine
s, including active AND inactive ones. See
getBaseLineListForProject(Integer)
for only getting active baselinesvoid saveBaseLine(BaseLine baseLine)
void deleteBaseLine(BaseLine baseLine)
BaseLine
. See physicallyDeleteBaseLine(BaseLine baseLine)
to completely
delete from
the database.baseLine
- A BaseLine
to mark inactivevoid deleteBaseLineGroup(Integer scopeId, Integer refId, Integer projectId)
scopeId
- refId
- projectId
- void physicallyDeleteBaseLine(BaseLine baseLine)
BaseLine
from the database. See deleteBaseLine(BaseLine)
for a logical
delete.baseLine
- A BaseLine
to deleteList<Integer> getDocumentIds(Integer baselineId)
baselineId
- the Id of the baselineint getNumberDocumentsChanged(Integer baseLineId)
int getNumberDocumentsItemTypeChanged(Integer baseLineId)
int getNumberBaseLines(Integer scopeId, Integer refId, boolean activeOnly)
BaseLine
s with the given scope and ref id, and that are marked active.scopeId
- The scope idrefId
- The ref idint getNumberActiveBaseLinesForProject(Integer projectId)
List<Signature> getSignaturesForBaseLine(Integer baselineId)
BaseLine
(and any signatures associated with a Revision
that uses the BaseLine.baselineId
- The id of the baseline to get signatures forCopyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.