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