Package com.morpheusdata.core.library
Interface MorpheusWorkloadActionService
- All Superinterfaces:
MorpheusDataQueryService<WorkloadAction>
,MorpheusDataService<WorkloadAction,
WorkloadAction>
public interface MorpheusWorkloadActionService
extends MorpheusDataService<WorkloadAction,WorkloadAction>
Context methods for syncing
WorkloadAction
in Morpheus-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Boolean>
create
(List<WorkloadAction> workloadActions) Deprecated.io.reactivex.rxjava3.core.Observable<WorkloadAction>
listById
(Collection<Long> ids) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>
remove
(List<WorkloadAction> workloadActions) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>
save
(List<WorkloadAction> workloadActions) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)
insteadMethods inherited from interface com.morpheusdata.core.MorpheusDataQueryService
count, find, get, list, list, listById, listOptions, listOptions, search
Methods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, create, remove, save
-
Method Details
-
listById
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<WorkloadAction> listById(Collection<Long> ids) Deprecated.Get a list of WorkloadAction objects from a list of projection ids- Parameters:
ids
- WorkloadAction ids- Returns:
- Observable stream of WorkloadActions
-
save
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> save(List<WorkloadAction> workloadActions) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)
insteadSave updates to existing WorkloadActions- Specified by:
save
in interfaceMorpheusDataService<WorkloadAction,
WorkloadAction> - Parameters:
workloadActions
- updated WorkloadAction- Returns:
- success
- See Also:
-
create
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> create(List<WorkloadAction> workloadActions) Deprecated.Create new WorkloadActions in Morpheus- Specified by:
create
in interfaceMorpheusDataService<WorkloadAction,
WorkloadAction> - Parameters:
workloadActions
- new WorkloadActions to persist- Returns:
- success
- See Also:
-
remove
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> remove(List<WorkloadAction> workloadActions) Deprecated.Remove persisted WorkloadAction from Morpheus- Specified by:
remove
in interfaceMorpheusDataService<WorkloadAction,
WorkloadAction> - Parameters:
workloadActions
- to delete- Returns:
- success
- See Also:
-
MorpheusDataService.bulkCreate(java.util.List<M>)
instead