Package com.morpheusdata.core.library
Interface MorpheusWorkloadScriptService
- All Superinterfaces:
MorpheusDataQueryService<WorkloadScript>
,MorpheusDataService<WorkloadScript,
WorkloadScript>
public interface MorpheusWorkloadScriptService
extends MorpheusDataService<WorkloadScript,WorkloadScript>
Context methods for syncing
WorkloadScript
in Morpheus-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Boolean>
create
(List<WorkloadScript> workloadScripts) Deprecated.io.reactivex.rxjava3.core.Observable<WorkloadScript>
listById
(Collection<Long> ids) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>
remove
(List<WorkloadScript> workloadScripts) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>
save
(List<WorkloadScript> workloadScripts) 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<WorkloadScript> listById(Collection<Long> ids) Deprecated.Get a list of WorkloadScript objects from a list of projection ids- Parameters:
ids
- WorkloadScript ids- Returns:
- Observable stream of WorkloadScripts
-
save
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> save(List<WorkloadScript> workloadScripts) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)
insteadSave updates to existing WorkloadScripts- Specified by:
save
in interfaceMorpheusDataService<WorkloadScript,
WorkloadScript> - Parameters:
workloadScripts
- updated WorkloadScript- Returns:
- success
- See Also:
-
create
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> create(List<WorkloadScript> workloadScripts) Deprecated.Create new WorkloadScripts in Morpheus- Specified by:
create
in interfaceMorpheusDataService<WorkloadScript,
WorkloadScript> - Parameters:
workloadScripts
- new WorkloadScripts to persist- Returns:
- success
- See Also:
-
remove
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> remove(List<WorkloadScript> workloadScripts) Deprecated.Remove persisted WorkloadScript from Morpheus- Specified by:
remove
in interfaceMorpheusDataService<WorkloadScript,
WorkloadScript> - Parameters:
workloadScripts
- to delete- Returns:
- success
- See Also:
-
MorpheusDataService.bulkCreate(java.util.List<M>)
instead