Interface QuerySnapshotDataService
- All Known Implementing Classes:
QuerySnapshotDataServiceImpl
public interface QuerySnapshotDataService
-
Method Summary
Modifier and TypeMethodDescriptiongetSnapshotsFor(SnapshotCriteria criteria) Get user snapshots with the given criteria.getSnapshotWithAttributes(Snapshot snapshot) Gets the attributes for the given snapshotgetVariableListsOfUserWithNameLikeAndDescLike(String userName, String listNamePattern, String listDescriptionPattern) Gets a List of VariableList objects belonging to the given user, and with the list name and description matching the given patterns.getVariableListWithName(String listNamePattern) Gets a variableList identified by its name or null if the name is not found
-
Method Details
-
getVariableListWithName
Gets a variableList identified by its name or null if the name is not found- Parameters:
listNamePattern- the list name pattern- Returns:
- the variable list or null
-
getVariableListsOfUserWithNameLikeAndDescLike
VariableListSet getVariableListsOfUserWithNameLikeAndDescLike(String userName, String listNamePattern, String listDescriptionPattern) Gets a List of VariableList objects belonging to the given user, and with the list name and description matching the given patterns. % = wildcard.- Parameters:
userName- the user name of the userlistNamePattern- the list name patternlistDescriptionPattern- the list description pattern- Returns:
- the user variable lists
-
getSnapshotsFor
Get user snapshots with the given criteria.- Parameters:
criteria- - set of criteria to match snapshots against- Returns:
- returns the set of Snapshots
-
getSnapshotWithAttributes
Gets the attributes for the given snapshot- Parameters:
snapshot- - the Snapshot to get attributes for this can be found at Snapshot- Returns:
- the snapshot with database id set.
-