Package com.morpheusdata.core
Interface MorpheusOperationNotificationService
- All Superinterfaces:
MorpheusDataQueryService<OperationNotification>,MorpheusDataService<OperationNotification,,OperationNotificationIdentityProjection> MorpheusIdentityService<OperationNotificationIdentityProjection>
public interface MorpheusOperationNotificationService
extends MorpheusDataService<OperationNotification,OperationNotificationIdentityProjection>, MorpheusIdentityService<OperationNotificationIdentityProjection>
Context methods for syncing OperationNotifications in Morpheus
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<ServiceResponse>clearAlarm(OperationNotification notification) io.reactivex.rxjava3.core.Single<ServiceResponse>clearBackupProviderAlarm(BackupProvider backupProvider) io.reactivex.rxjava3.core.Single<ServiceResponse>io.reactivex.rxjava3.core.Single<ServiceResponse>clearItemAlarms(String refType, Long refId) io.reactivex.rxjava3.core.Single<ServiceResponse>io.reactivex.rxjava3.core.Single<Boolean>create(List<OperationNotification> operationNotifications) Deprecated.io.reactivex.rxjava3.core.Single<ServiceResponse>createAlarm(OperationNotification notification) io.reactivex.rxjava3.core.Single<ServiceResponse>createBackupProviderAlarm(BackupProvider backupProvider, String message) io.reactivex.rxjava3.core.Single<ServiceResponse>createHypervisorAlarm(ComputeServerIdentityProjection node, String statusMessage) io.reactivex.rxjava3.core.Single<ServiceResponse>createZoneAlarm(CloudIdentityProjection cloud, String statusMessage) io.reactivex.rxjava3.core.Observable<OperationNotification>listById(Collection<Long> ids) Deprecated.io.reactivex.rxjava3.core.Observable<OperationNotificationIdentityProjection>listIdentityProjections(String category) Get a list of OperationNotification projections based on a category nameio.reactivex.rxjava3.core.Observable<OperationNotificationIdentityProjection>listSyncProjections(String category) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>remove(List<OperationNotificationIdentityProjection> operationNotifications) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>save(List<OperationNotification> operationNotifications) Deprecated.Methods inherited from interface com.morpheusdata.core.MorpheusDataQueryService
count, find, get, list, list, listById, listOptions, listOptions, searchMethods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, create, remove, saveMethods inherited from interface com.morpheusdata.core.MorpheusIdentityService
getIdentityProperties, listIdentityProjections
-
Method Details
-
listIdentityProjections
io.reactivex.rxjava3.core.Observable<OperationNotificationIdentityProjection> listIdentityProjections(String category) Get a list of OperationNotification projections based on a category name- Parameters:
category- category string unique filter category- Returns:
- Observable stream of sync projection
-
listSyncProjections
@Deprecated io.reactivex.rxjava3.core.Observable<OperationNotificationIdentityProjection> listSyncProjections(String category) Deprecated.replaced by {listIdentityProjections(String)}Get a list of OperationNotification projections based on a category name- Parameters:
category- category- Returns:
- Observable stream of sync projection
-
listById
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<OperationNotification> listById(Collection<Long> ids) Deprecated.Get a list of OperationNotification objects from a list of projection ids- Parameters:
ids- OperationNotification ids- Returns:
- Observable stream of OperationNotification
-
save
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> save(List<OperationNotification> operationNotifications) Deprecated.Save updates to existing OperationNotification- Specified by:
savein interfaceMorpheusDataService<OperationNotification,OperationNotificationIdentityProjection> - Parameters:
operationNotifications- updated OperationNotifications- Returns:
- success
- See Also:
-
create
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> create(List<OperationNotification> operationNotifications) Deprecated.Create new OperationNotifications in Morpheus- Specified by:
createin interfaceMorpheusDataService<OperationNotification,OperationNotificationIdentityProjection> - Parameters:
operationNotifications- new OperationNotification to persist- Returns:
- success
- See Also:
-
remove
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> remove(List<OperationNotificationIdentityProjection> operationNotifications) Deprecated.Remove persisted OperationNotifications from Morpheus- Specified by:
removein interfaceMorpheusDataService<OperationNotification,OperationNotificationIdentityProjection> - Parameters:
operationNotifications- OperationNotifications to delete- Returns:
- success
- See Also:
-
clearAlarm
-
createAlarm
-
clearItemAlarms
-
createZoneAlarm
io.reactivex.rxjava3.core.Single<ServiceResponse> createZoneAlarm(CloudIdentityProjection cloud, String statusMessage) -
clearZoneAlarm
-
createHypervisorAlarm
io.reactivex.rxjava3.core.Single<ServiceResponse> createHypervisorAlarm(ComputeServerIdentityProjection node, String statusMessage) -
clearHypervisorAlarm
io.reactivex.rxjava3.core.Single<ServiceResponse> clearHypervisorAlarm(ComputeServerIdentityProjection node) -
createBackupProviderAlarm
io.reactivex.rxjava3.core.Single<ServiceResponse> createBackupProviderAlarm(BackupProvider backupProvider, String message) -
clearBackupProviderAlarm
io.reactivex.rxjava3.core.Single<ServiceResponse> clearBackupProviderAlarm(BackupProvider backupProvider)
-
listIdentityProjections(String)}