org.sonar.jpa.dao
Class AsyncMeasuresDao
java.lang.Object
org.sonar.jpa.dao.BaseDao
org.sonar.jpa.dao.AsyncMeasuresDao
public class AsyncMeasuresDao
- extends BaseDao
Method Summary |
AsyncMeasureSnapshot |
createAsyncMeasureSnapshot(Long asyncMeasureId,
Integer snapshotId,
Date AsyncMeasureDate,
Date snapshotDate,
Integer metricId,
Integer projectId)
|
void |
deleteAsyncMeasure(MeasureModel asyncMeasure)
|
void |
deleteAsyncMeasureSnapshots(Long asyncMeasureId)
|
MeasureModel |
getAsyncMeasure(Long asyncMeasureId)
|
List<AsyncMeasureSnapshot> |
getAsyncMeasureSnapshotsFromSnapshotId(Integer snapshotId,
List<Integer> metricIdsToExclude)
|
AsyncMeasureSnapshot |
getLastAsyncMeasureSnapshot(Integer projetcId,
Integer metricId,
Date date)
|
AsyncMeasureSnapshot |
getNextAsyncMeasureSnapshot(Integer projetcId,
Integer metricId,
Date date)
|
List<AsyncMeasureSnapshot> |
getNextAsyncMeasureSnapshotsUntilDate(MeasureModel asyncMeasure,
Date endDate)
|
List<Snapshot> |
getNextSnapshotsUntilDate(MeasureModel measure,
Date date)
|
List<AsyncMeasureSnapshot> |
getPreviousAsyncMeasureSnapshots(Integer projectId,
Date beginDate,
Date endDate)
|
Snapshot |
getPreviousSnapshot(Snapshot s)
|
void |
removeSnapshotFromAsyncMeasureSnapshot(AsyncMeasureSnapshot asyncMeasureSnapshot)
|
void |
updateAsyncMeasureSnapshot(AsyncMeasureSnapshot asyncMeasureSnapshot,
Snapshot snapshot)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncMeasuresDao
public AsyncMeasuresDao(DatabaseSession session)
getAsyncMeasure
public MeasureModel getAsyncMeasure(Long asyncMeasureId)
deleteAsyncMeasure
public void deleteAsyncMeasure(MeasureModel asyncMeasure)
getPreviousSnapshot
public Snapshot getPreviousSnapshot(Snapshot s)
getNextSnapshotsUntilDate
public List<Snapshot> getNextSnapshotsUntilDate(MeasureModel measure,
Date date)
createAsyncMeasureSnapshot
public AsyncMeasureSnapshot createAsyncMeasureSnapshot(Long asyncMeasureId,
Integer snapshotId,
Date AsyncMeasureDate,
Date snapshotDate,
Integer metricId,
Integer projectId)
updateAsyncMeasureSnapshot
public void updateAsyncMeasureSnapshot(AsyncMeasureSnapshot asyncMeasureSnapshot,
Snapshot snapshot)
removeSnapshotFromAsyncMeasureSnapshot
public void removeSnapshotFromAsyncMeasureSnapshot(AsyncMeasureSnapshot asyncMeasureSnapshot)
getNextAsyncMeasureSnapshot
public AsyncMeasureSnapshot getNextAsyncMeasureSnapshot(Integer projetcId,
Integer metricId,
Date date)
getNextAsyncMeasureSnapshotsUntilDate
public List<AsyncMeasureSnapshot> getNextAsyncMeasureSnapshotsUntilDate(MeasureModel asyncMeasure,
Date endDate)
getPreviousAsyncMeasureSnapshots
public List<AsyncMeasureSnapshot> getPreviousAsyncMeasureSnapshots(Integer projectId,
Date beginDate,
Date endDate)
getAsyncMeasureSnapshotsFromSnapshotId
public List<AsyncMeasureSnapshot> getAsyncMeasureSnapshotsFromSnapshotId(Integer snapshotId,
List<Integer> metricIdsToExclude)
getLastAsyncMeasureSnapshot
public AsyncMeasureSnapshot getLastAsyncMeasureSnapshot(Integer projetcId,
Integer metricId,
Date date)
deleteAsyncMeasureSnapshots
public void deleteAsyncMeasureSnapshots(Long asyncMeasureId)
Copyright © 2009-2011 SonarSource. All Rights Reserved.