public interface QueryService
| Modifier and Type | Method and Description |
|---|---|
WriteQuery<Long> |
getAddAlertListQuery(List<Alert> alerts)
Creates a write query to add a list of alerts to the persistence.
|
WriteQuery<Boolean> |
getAddAlertQuery(Alert alert)
Creates a write query to add a new Alert to the system.
|
WriteQuery<AlertTopicListener> |
getAddAlertTopicListenerQuery(AlertTopicListener atl)
Creates a write query to add a new Alert Topic Listener to the system.
|
WriteQuery<Long> |
getAddAuditLogEntryListQuery(List<AuditLogEntry> auditLogs)
Creates a write query to add a list of AuditLogEntry objects to the
persistence data store.
|
WriteQuery<Boolean> |
getAddAuditLogEntryQuery(AuditLogEntry log)
Creates a write query to add a new AuditLogEntry to the system.
|
WriteQuery<CtlAddrEntity> |
getAddCtlAddrManagerQuery(CtlAddrEntity ctlAddrManager) |
WriteQuery<HostEntity> |
getAddHostManagerQuery(HostEntity hostManager) |
WriteQuery<LicenseKey> |
getAddLicenseQuery(LicenseKey licenseKey)
Creates a write query to add a new license.
|
WriteQuery<LicInstallId> |
getAddLicInstallIdQuery(LicInstallId licInstallId)
Creates a write query to add a new license install id.
|
WriteQuery<Region> |
getAddRegionQuery(Region region)
Creates a write query to add a new Region to the system.
|
WriteQuery<Boolean> |
getAddSystemInformationQuery(SystemInformation systemInformation)
Creates a query to add a system information.
|
ReadQuery<Long> |
getCountAlertQuery()
Creates a query to retrieve the count of alerts in persistence.
|
ReadQuery<Long> |
getCountAuditLogEntryQuery(AuditLogFilter filter)
Creates a query to retrieve the count of AuditLogEntry objects based on
the supplied filter.
|
WriteQuery<Long> |
getDeleteAlertListQuery(List<String> uids,
String sysId)
Creates a query to delete a list of alerts.
|
WriteQuery<Void> |
getDeleteAlertTopicListenerQuery(AlertTopicListener atl)
Creates a delete query to remove an alert topic listener.
|
WriteQuery<Long> |
getDeleteCtlAddrManagerQuery(CtlAddrManagerFilter filter) |
WriteQuery<Long> |
getDeleteHostManagerQuery(HostManagerFilter filter) |
WriteQuery<Void> |
getDeleteLicenseQuery(LicenseKey licenseKey)
Creates a delete query to remove a license.
|
WriteQuery<Void> |
getDeleteLicInstallIdQuery(LicInstallId licInstallId)
Creates a query to delete install id the database.
|
WriteQuery<Void> |
getDeleteRegionQuery(Region region)
Creates a delete query to remove a region.
|
WriteQuery<Void> |
getDeleteSystemInformationQuery(Id<SystemInformation,UUID> id)
Creates a query that deletes a system.
|
WriteQuery<Long> |
getDeleteSystemsQuery(SystemInformationFilter filter)
Creates a query to delete systems from the database.
|
ReadQuery<List<Alert>> |
getFindAlertsQuery(AlertFilter filter,
SortSpecification<AlertSortAttribute> sortSpecification)
Creates a query that will find Alerts based on the supplied query
criteria.
|
ReadQuery<List<AlertTopicListener>> |
getFindAlertTopicListenersQuery()
Creates a query that will find all Alert Topic Listeners.
|
ReadQuery<List<AuditLogEntry>> |
getFindAuditLogQuery(AuditLogFilter filter,
SortSpecification<AuditLogSortAttribute> sortSpecification)
Creates a query that will find AuditLogEntry objects based on the
supplied query criteria.
|
ReadQuery<Page<CtlAddrEntity>> |
getFindCtlAddrManagerQuery(CtlAddrManagerFilter filter,
SortSpecification<CtlAddrManagerSortAttribute> sortSpec,
PageRequest pageRequest) |
ReadQuery<Page<HostEntity>> |
getFindHostManageruery(HostManagerFilter filter,
SortSpecification<HostManagerSortAttribute> sortSpec,
PageRequest pageRequest) |
ReadQuery<List<LicenseKey>> |
getFindLicensesQuery()
Creates a find query that will find all LicenseKey objects.
|
ReadQuery<List<LicInstallId>> |
getFindLicInstallIdsQuery()
Creates a find query that will find all LicInstallId objects.
|
ReadQuery<List<Region>> |
getFindRegionsQuery()
Creates a query that will find all regions.
|
ReadQuery<List<SystemInformation>> |
getFindSystemsQuery(SystemInformationFilter filter,
SortSpecification<SystemInformationSortAttribute> sortSpecification)
Creates a query to find systems in the database.
|
ReadQuery<Alert> |
getGetAlertQuery(Id<Alert,UUID> id)
Creates a query that gets an alert by its id.
|
ReadQuery<AlertTopicListener> |
getGetAlertTopicListenerQuery(Id<AlertTopicListener,UUID> id)
Creates a query that gets an alert topic listener by its id.
|
ReadQuery<AuditLogEntry> |
getGetAuditLogQuery(Id<AuditLogEntry,UUID> id)
Creates a query that gets an audit log by its id.
|
ReadQuery<Region> |
getGetRegionQuery(Id<Region,UUID> id)
Creates a query that gets a region by its id.
|
ReadQuery<SystemInformation> |
getGetSystemInformationQuery(Id<SystemInformation,UUID> id)
Creates a query that gets a system by its id.
|
ReadQuery<Page<Alert>> |
getPageAlertsQuery(AlertFilter filter,
SortSpecification<AlertSortAttribute> sortSpecification,
PageRequest pageRequest)
Creates a query that will find Alerts based on the supplied
query criteria.
|
ReadQuery<Page<AuditLogEntry>> |
getPageAuditLogQuery(AuditLogFilter filter,
SortSpecification<AuditLogSortAttribute> sortSpecification,
PageRequest pageRequest)
Creates a query that will produce a page of AuditLogEntry data based on
the supplied filter and sorting criteria.
|
WriteQuery<Long> |
getTrimAlertQuery(AlertFilter alertFilter)
Creates a write query to trim (delete) alerts based on the given filter.
|
WriteQuery<Long> |
getTrimAuditLogQuery(AuditLogFilter filter)
Creates a write query to trim (delete) AuditLogEntry objects based on
the given filter.
|
WriteQuery<Long> |
getUpdateAlertListQuery(List<String> uids,
String sysId,
boolean state)
Creates a query to update a supplied list of alerts.
|
WriteQuery<Alert> |
getUpdateAlertStateQuery(Alert alert)
Creates a write query to alter the state of an alert.
|
WriteQuery<AlertTopicListener> |
getUpdateAlertTopicListenerQuery(AlertTopicListener atl)
Creates a write query to update an alert topic listener.
|
WriteQuery<LicenseKey> |
getUpdateLicenseQuery(LicenseKey licenseKey)
Creates a query to update a license in the database.
|
WriteQuery<Region> |
getUpdateRegionQuery(Region region)
Creates a write query to update a region.
|
WriteQuery<SystemInformation> |
getUpdateSystemInformationQuery(SystemInformation systemInformation)
Creates a query to update a system in the database.
|
ReadQuery<Alert> getGetAlertQuery(Id<Alert,UUID> id)
id - id of the alert to getReadQuery<List<Alert>> getFindAlertsQuery(AlertFilter filter, SortSpecification<AlertSortAttribute> sortSpecification)
filter - specifies desired filtering on the returned AlertssortSpecification - defines how the resulting data should be
sortedReadQuery<Page<Alert>> getPageAlertsQuery(AlertFilter filter, SortSpecification<AlertSortAttribute> sortSpecification, PageRequest pageRequest)
filter - specifies desired filtering on the returned AlertssortSpecification - defines how the resulting data should be sortedpageRequest - definition for the desired pageWriteQuery<Boolean> getAddAlertQuery(Alert alert)
alert - the Alert to be addedWriteQuery<Alert> getUpdateAlertStateQuery(Alert alert)
alert - the alert object with the updated state informationWriteQuery<Long> getTrimAlertQuery(AlertFilter alertFilter)
alertFilter - desired time stamp to remove alerts older thanWriteQuery<Long> getAddAlertListQuery(List<Alert> alerts)
alerts - the list of alerts to addWriteQuery<Long> getUpdateAlertListQuery(List<String> uids, String sysId, boolean state)
uids - the unique identifications of each alert to be updatedsysId - the system identification shared by the alerts to be updatedstate - the state of all the alerts to be updatedWriteQuery<Long> getDeleteAlertListQuery(List<String> uids, String sysId)
uids - the unique identifications of each alert to be deletedsysId - the system identification shared by the alerts to be deletedReadQuery<Long> getCountAlertQuery()
ReadQuery<AuditLogEntry> getGetAuditLogQuery(Id<AuditLogEntry,UUID> id)
id - id of the audit log to getReadQuery<List<AuditLogEntry>> getFindAuditLogQuery(AuditLogFilter filter, SortSpecification<AuditLogSortAttribute> sortSpecification)
filter - specifies desired filtering on the returned AuditLogssortSpecification - defines how the resulting data should be
sortedReadQuery<Page<AuditLogEntry>> getPageAuditLogQuery(AuditLogFilter filter, SortSpecification<AuditLogSortAttribute> sortSpecification, PageRequest pageRequest)
filter - specifies desired filtering on the returned AuditLogssortSpecification - defines how the resulting data should be
sortedpageRequest - definition for the desired pageWriteQuery<Boolean> getAddAuditLogEntryQuery(AuditLogEntry log)
log - The AuditLogEntry to be addedReadQuery<Long> getCountAuditLogEntryQuery(AuditLogFilter filter)
filter - specifies desired filtering on the returned count of
AuditLogEntry objectsWriteQuery<Long> getTrimAuditLogQuery(AuditLogFilter filter)
filter - specifies criteria that the AuditLogEntry objects must
match to be eligible for removalWriteQuery<Long> getAddAuditLogEntryListQuery(List<AuditLogEntry> auditLogs)
auditLogs - the list of auditLogEntry objects to addReadQuery<SystemInformation> getGetSystemInformationQuery(Id<SystemInformation,UUID> id)
id - id of the system to getWriteQuery<Boolean> getAddSystemInformationQuery(SystemInformation systemInformation)
systemInformation - system to add.WriteQuery<SystemInformation> getUpdateSystemInformationQuery(SystemInformation systemInformation)
systemInformation - system information with the data to update.WriteQuery<Long> getDeleteSystemsQuery(SystemInformationFilter filter)
filter - filter to apply.ReadQuery<List<SystemInformation>> getFindSystemsQuery(SystemInformationFilter filter, SortSpecification<SystemInformationSortAttribute> sortSpecification)
filter - filter to apply.sortSpecification - sort specification.WriteQuery<Void> getDeleteSystemInformationQuery(Id<SystemInformation,UUID> id)
id - id of the system to deleteReadQuery<AlertTopicListener> getGetAlertTopicListenerQuery(Id<AlertTopicListener,UUID> id)
id - id of the alert topic listener to getReadQuery<List<AlertTopicListener>> getFindAlertTopicListenersQuery()
WriteQuery<AlertTopicListener> getAddAlertTopicListenerQuery(AlertTopicListener atl)
atl - the Alert Topic Listener to be addedWriteQuery<AlertTopicListener> getUpdateAlertTopicListenerQuery(AlertTopicListener atl)
atl - the alert topic listener with the updated stateWriteQuery<Void> getDeleteAlertTopicListenerQuery(AlertTopicListener atl)
atl - the alert topic listener with the updated stateWriteQuery<LicInstallId> getAddLicInstallIdQuery(LicInstallId licInstallId)
licInstallId - license install id to add.WriteQuery<Void> getDeleteLicInstallIdQuery(LicInstallId licInstallId)
licInstallId - the install id needs to be deleted.ReadQuery<List<LicInstallId>> getFindLicInstallIdsQuery()
WriteQuery<LicenseKey> getAddLicenseQuery(LicenseKey licenseKey)
licenseKey - license to add.ReadQuery<List<LicenseKey>> getFindLicensesQuery()
WriteQuery<LicenseKey> getUpdateLicenseQuery(LicenseKey licenseKey)
licenseKey - the license key that needs to be updated.WriteQuery<Void> getDeleteLicenseQuery(LicenseKey licenseKey)
licenseKey - the license to be deletedReadQuery<Region> getGetRegionQuery(Id<Region,UUID> id)
id - id of the region to getReadQuery<List<Region>> getFindRegionsQuery()
WriteQuery<Region> getAddRegionQuery(Region region)
region - the region to be addedWriteQuery<Region> getUpdateRegionQuery(Region region)
region - the region with the updated stateWriteQuery<Void> getDeleteRegionQuery(Region region)
region - the region with the updated stateReadQuery<Page<CtlAddrEntity>> getFindCtlAddrManagerQuery(CtlAddrManagerFilter filter, SortSpecification<CtlAddrManagerSortAttribute> sortSpec, PageRequest pageRequest)
WriteQuery<CtlAddrEntity> getAddCtlAddrManagerQuery(CtlAddrEntity ctlAddrManager)
WriteQuery<Long> getDeleteCtlAddrManagerQuery(CtlAddrManagerFilter filter)
ReadQuery<Page<HostEntity>> getFindHostManageruery(HostManagerFilter filter, SortSpecification<HostManagerSortAttribute> sortSpec, PageRequest pageRequest)
WriteQuery<HostEntity> getAddHostManagerQuery(HostEntity hostManager)
WriteQuery<Long> getDeleteHostManagerQuery(HostManagerFilter filter)
Copyright © 2014. All Rights Reserved.