Package com.morpheusdata.core
Interface MorpheusOperationNotificationService
- All Superinterfaces:
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<Boolean>
create
(List<OperationNotification> operationNotifications) Deprecated.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.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, count, create, find, get, list, listById, listOptions, remove, save, search
Methods 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:
save
in 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:
create
in 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:
remove
in interfaceMorpheusDataService<OperationNotification,
OperationNotificationIdentityProjection> - Parameters:
operationNotifications
- OperationNotifications to delete- Returns:
- success
- See Also:
-
listIdentityProjections(String)
}