Package com.morpheusdata.core
Interface MorpheusAccountPriceService
- All Superinterfaces:
MorpheusDataQueryService<AccountPrice>
,MorpheusDataService<AccountPrice,
,AccountPriceIdentityProjection> MorpheusIdentityService<AccountPriceIdentityProjection>
public interface MorpheusAccountPriceService
extends MorpheusDataService<AccountPrice,AccountPriceIdentityProjection>, MorpheusIdentityService<AccountPriceIdentityProjection>
Context methods for syncing AccountPrices in Morpheus
- Since:
- 0.14.3
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Observable<AccountPrice>
listByCode
(Collection<String> codes) Deprecated.io.reactivex.rxjava3.core.Observable<AccountPrice>
listById
(Collection<Long> ids) Deprecated.io.reactivex.rxjava3.core.Observable<AccountPriceIdentityProjection>
listIdentityProjections
(AccountPriceSet accountPriceSet) Get a list of AccountPrice projections associated with AccountPriceSetio.reactivex.rxjava3.core.Observable<AccountPriceIdentityProjection>
listSyncProjections
(Account account) Get a list of AccountPrice projections based onAccount
Account must, at least, have an idio.reactivex.rxjava3.core.Observable<AccountPriceIdentityProjection>
listSyncProjectionsByCode
(List<String> codeList) Get a list of AccountPrice projections based on codeMethods 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, create, remove, remove, save, save
Methods inherited from interface com.morpheusdata.core.MorpheusIdentityService
getIdentityProperties, listIdentityProjections
-
Method Details
-
listSyncProjections
io.reactivex.rxjava3.core.Observable<AccountPriceIdentityProjection> listSyncProjections(Account account) Get a list of AccountPrice projections based onAccount
Account must, at least, have an id- Parameters:
account
-Account
- Returns:
- Observable stream of sync projection
-
listSyncProjectionsByCode
io.reactivex.rxjava3.core.Observable<AccountPriceIdentityProjection> listSyncProjectionsByCode(List<String> codeList) Get a list of AccountPrice projections based on code- Parameters:
codeList
- a list of AccountPrice codes- Returns:
- Observable stream of sync projection
-
listIdentityProjections
io.reactivex.rxjava3.core.Observable<AccountPriceIdentityProjection> listIdentityProjections(AccountPriceSet accountPriceSet) Get a list of AccountPrice projections associated with AccountPriceSet- Parameters:
accountPriceSet
-AccountPriceSet
- Returns:
- Observable stream of id projection
-
listById
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<AccountPrice> listById(Collection<Long> ids) Deprecated.Get a list of AccountPrice objects from a list of projection ids- Parameters:
ids
- AccountPrice ids- Returns:
- Observable stream of AccountPrices
-
listByCode
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<AccountPrice> listByCode(Collection<String> codes) Deprecated.Get a list of AccountPrice objects from a list of projection codes- Parameters:
codes
- AccountPrice codes- Returns:
- Observable stream of AccountPrices
-