|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BaseLineDao
Data access object for baseline.
| Method Summary | |
|---|---|
void |
deleteBaseLine(BaseLine baseLine)
Logically deletes a BaseLine. |
void |
deleteBaseLineGroup(java.lang.Integer scopeId,
java.lang.Integer refId,
java.lang.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(java.lang.Integer baseLineId)
|
java.util.List<BaseLine> |
getBaseLineListForProject(java.lang.Integer projectId)
Gets a list of active BaseLines. |
java.util.List<BaseLine> |
getBaseListListByFilter(java.lang.Integer filterId)
Gets all baselines associated with a filter |
java.util.List<java.lang.Integer> |
getDocumentIds(java.lang.Integer baselineId)
Gets ids of the documents that are assosciated with a baseline. |
java.util.List<BaseLine> |
getFullBaseLineListForProject(java.lang.Integer projectId)
Gets a full list of BaseLines, including active AND inactive ones. |
int |
getNumberActiveBaseLines(java.lang.Integer scopeId,
java.lang.Integer refId)
Gets the number of BaseLines with the given scope and ref id, and that are marked active. |
int |
getNumberDocumentsChanged(java.lang.Integer baseLineId)
Gets the number of Documents that were versioned by this BaseLine that now have a more recent
Version. |
java.util.List<Signature> |
getSignaturesForBaseLine(java.lang.Integer baselineId)
Gets the signatures associated with a BaseLine (and any signatures associated with a Revision
that uses the BaseLine. |
void |
physicallyDeleteBaseLine(BaseLine baseLine)
Physically deletes this BaseLine from the database. |
void |
saveBaseLine(BaseLine baseLine)
|
| Method Detail |
|---|
java.util.List<BaseLine> getBaseLineListForProject(java.lang.Integer projectId)
BaseLines. See getFullBaseLineListForProject(Integer) for getting inactive
AND active baselines.
projectId - The id of a Project
Projectjava.util.List<BaseLine> getFullBaseLineListForProject(java.lang.Integer projectId)
BaseLines, including active AND inactive ones. See
getBaseLineListForProject(Integer) for only getting active baselines
projectId - The id of a Project
ProjectBaseLine getBaseLine(java.lang.Integer baseLineId)
void saveBaseLine(BaseLine baseLine)
void deleteBaseLine(BaseLine baseLine)
BaseLine. See physicallyDeleteBaseLine(BaseLine) to completely delete from
the database.
baseLine - A BaseLine to mark inactive
void deleteBaseLineGroup(java.lang.Integer scopeId,
java.lang.Integer refId,
java.lang.Integer projectId)
#physicallyDeleteBaseLineGroup(Integer, Integer) for a physical
delete.
scopeId - refId - void physicallyDeleteBaseLine(BaseLine baseLine)
BaseLine from the database. See deleteBaseLine(BaseLine) for a logical
delete.
baseLine - A BaseLine to deletejava.util.List<java.lang.Integer> getDocumentIds(java.lang.Integer baselineId)
baselineId - the Id of the baseline
java.util.List<BaseLine> getBaseListListByFilter(java.lang.Integer filterId)
filterId - the id of the filter
int getNumberDocumentsChanged(java.lang.Integer baseLineId)
Documents that were versioned by this BaseLine that now have a more recent
Version.
baseLineId - The id of a BaseLine
Document that have been updated (that is, there exists a Version with the
same original document id, and a later version number)
int getNumberActiveBaseLines(java.lang.Integer scopeId,
java.lang.Integer refId)
BaseLines with the given scope and ref id, and that are marked active.
scopeId - The scope idrefId - The ref id
java.util.List<Signature> getSignaturesForBaseLine(java.lang.Integer baselineId)
BaseLine (and any signatures associated with a Revision
that uses the BaseLine.
baselineId - The id of the baseline to get signatures for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||