Interface QuerySnapshotDataService
-
- All Known Implementing Classes:
QuerySnapshotDataServiceImpl
public interface QuerySnapshotDataService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Snapshot>
getSnapshotsFor(SnapshotCriteria criteria)
Get user snapshots with the given criteria.Snapshot
getSnapshotWithAttributes(Snapshot snapshot)
Gets the attributes for the given snapshotVariableListSet
getVariableListsOfUserWithNameLikeAndDescLike(java.lang.String userName, java.lang.String listNamePattern, java.lang.String listDescriptionPattern)
Gets a List of VariableList objects belonging to the given user, and with the list name and description matching the given patterns.VariableList
getVariableListWithName(java.lang.String listNamePattern)
Gets a variableList identified by its name or null if the name is not found
-
-
-
Method Detail
-
getVariableListWithName
VariableList getVariableListWithName(java.lang.String listNamePattern)
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(java.lang.String userName, java.lang.String listNamePattern, java.lang.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
java.util.List<Snapshot> getSnapshotsFor(SnapshotCriteria criteria)
Get user snapshots with the given criteria.- Parameters:
criteria
- - set of criteria to match snapshots against- Returns:
- returns the set of Snapshots
-
-