Class QuerySnapshotDataServiceImpl
java.lang.Object
cern.nxcals.api.backport.client.service.QuerySnapshotDataServiceImpl
- All Implemented Interfaces:
QuerySnapshotDataService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSnapshotsFor(SnapshotCriteria criteria) Get user snapshots with the given criteria.getSnapshotWithAttributes(Snapshot snapshot) Deprecated.this does nothing, please do not usegetVariableListsOfUserWithNameLikeAndDescLike(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.Gets a variableList identified by its name or null if the name is not found
-
Constructor Details
-
QuerySnapshotDataServiceImpl
-
-
Method Details
-
getVariableListWithName
Description copied from interface:QuerySnapshotDataServiceGets a variableList identified by its name or null if the name is not found- Specified by:
getVariableListWithNamein interfaceQuerySnapshotDataService- Parameters:
name- the list name pattern- Returns:
- the variable list or null
-
getVariableListsOfUserWithNameLikeAndDescLike
public VariableListSet getVariableListsOfUserWithNameLikeAndDescLike(String userName, String listNamePattern, String listDescriptionPattern) Description copied from interface:QuerySnapshotDataServiceGets a List of VariableList objects belonging to the given user, and with the list name and description matching the given patterns. % = wildcard.- Specified by:
getVariableListsOfUserWithNameLikeAndDescLikein interfaceQuerySnapshotDataService- Parameters:
userName- the user name of the userlistNamePattern- the list name patternlistDescriptionPattern- the list description pattern- Returns:
- the user variable lists
-
getSnapshotsFor
Description copied from interface:QuerySnapshotDataServiceGet user snapshots with the given criteria.- Specified by:
getSnapshotsForin interfaceQuerySnapshotDataService- Parameters:
criteria- - set of criteria to match snapshots against- Returns:
- returns the set of Snapshots
-
getSnapshotWithAttributes
Deprecated.this does nothing, please do not useDescription copied from interface:QuerySnapshotDataServiceGets the attributes for the given snapshot- Specified by:
getSnapshotWithAttributesin interfaceQuerySnapshotDataService- Parameters:
snapshot- - the Snapshot to get attributes for this can be found at Snapshot- Returns:
- the snapshot with database id set.
-