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