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