Package com.morpheusdata.core
Interface MorpheusServicePlanPriceSetService
- All Superinterfaces:
MorpheusDataQueryService<ServicePlanPriceSet>
,MorpheusDataService<ServicePlanPriceSet,
,ServicePlanPriceSetIdentityProjection> MorpheusIdentityService<ServicePlanPriceSetIdentityProjection>
public interface MorpheusServicePlanPriceSetService
extends MorpheusDataService<ServicePlanPriceSet,ServicePlanPriceSetIdentityProjection>, MorpheusIdentityService<ServicePlanPriceSetIdentityProjection>
Context methods for syncing ServicePlanPriceSet in Morpheus
- Since:
- 0.14.3
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Boolean>
create
(List<ServicePlanPriceSet> servicePlanPriceSets) Deprecated.io.reactivex.rxjava3.core.Observable<ServicePlanPriceSet>
listByAccountPriceSetIds
(Collection<Long> accountPriceSetIds) Deprecated.io.reactivex.rxjava3.core.Observable<ServicePlanPriceSet>
listById
(Collection<Long> ids) Deprecated.io.reactivex.rxjava3.core.Observable<ServicePlanPriceSet>
listByServicePlanIds
(Collection<Long> servicePlanIds) Deprecated.io.reactivex.rxjava3.core.Observable<ServicePlanPriceSetIdentityProjection>
listIdentityProjections
(AccountPriceSet accountPriceSet) Get a list of ServicePlanPriceSet projections based onAccountPriceSet
AccountPriceSet must, at least, have an id or code setio.reactivex.rxjava3.core.Observable<ServicePlanPriceSetIdentityProjection>
listIdentityProjections
(List<AccountPriceSet> accountPriceSets) Get a list of ServicePlanPriceSet projections based on a list ofAccountPriceSet
AccountPriceSet must, at least, have an id or code setio.reactivex.rxjava3.core.Observable<ServicePlanPriceSetIdentityProjection>
listSyncProjections
(AccountPriceSet accountPriceSet) Deprecated.replaced bylistIdentityProjections(AccountPriceSet)
io.reactivex.rxjava3.core.Observable<ServicePlanPriceSetIdentityProjection>
listSyncProjections
(List<AccountPriceSet> accountPriceSets) Deprecated.replaced bylistIdentityProjections(List)
io.reactivex.rxjava3.core.Single<Boolean>
save
(List<ServicePlanPriceSet> servicePlanPriceSets) 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, remove, save
Methods inherited from interface com.morpheusdata.core.MorpheusIdentityService
getIdentityProperties, listIdentityProjections
-
Method Details
-
listIdentityProjections
io.reactivex.rxjava3.core.Observable<ServicePlanPriceSetIdentityProjection> listIdentityProjections(AccountPriceSet accountPriceSet) Get a list of ServicePlanPriceSet projections based onAccountPriceSet
AccountPriceSet must, at least, have an id or code set- Parameters:
accountPriceSet
-AccountPriceSet
- Returns:
- Observable stream of sync projection
-
listIdentityProjections
io.reactivex.rxjava3.core.Observable<ServicePlanPriceSetIdentityProjection> listIdentityProjections(List<AccountPriceSet> accountPriceSets) Get a list of ServicePlanPriceSet projections based on a list ofAccountPriceSet
AccountPriceSet must, at least, have an id or code set- Parameters:
accountPriceSets
-AccountPriceSet
- Returns:
- Observable stream of sync projection
-
listSyncProjections
@Deprecated io.reactivex.rxjava3.core.Observable<ServicePlanPriceSetIdentityProjection> listSyncProjections(AccountPriceSet accountPriceSet) Deprecated.replaced bylistIdentityProjections(AccountPriceSet)
Get a list of ServicePlanPriceSet projections based onAccountPriceSet
AccountPriceSet must, at least, have an id or code set- Parameters:
accountPriceSet
-AccountPriceSet
- Returns:
- Observable stream of sync projection
-
listSyncProjections
@Deprecated io.reactivex.rxjava3.core.Observable<ServicePlanPriceSetIdentityProjection> listSyncProjections(List<AccountPriceSet> accountPriceSets) Deprecated.replaced bylistIdentityProjections(List)
Get a list of ServicePlanPriceSet projections based on a list ofAccountPriceSet
AccountPriceSet must, at least, have an id or code set- Parameters:
accountPriceSets
-AccountPriceSet
- Returns:
- Observable stream of sync projection
-
listById
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<ServicePlanPriceSet> listById(Collection<Long> ids) Deprecated.Get a list of ServicePlanPriceSet objects from a list of projection ids- Parameters:
ids
- ServicePlanPriceSet ids- Returns:
- Observable stream of ServicePlanPriceSets
-
listByServicePlanIds
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<ServicePlanPriceSet> listByServicePlanIds(Collection<Long> servicePlanIds) Deprecated.Get a list of ServicePlanPriceSet objects from a list of service plan ids- Parameters:
servicePlanIds
- ServicePlanPriceSet service plan ids- Returns:
- Observable stream of ServicePlanPriceSets
-
listByAccountPriceSetIds
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<ServicePlanPriceSet> listByAccountPriceSetIds(Collection<Long> accountPriceSetIds) Deprecated.Get a list of ServicePlanPriceSet objects from a list of account price set ids- Parameters:
accountPriceSetIds
- ServicePlanPriceSet account price set ids- Returns:
- Observable stream of ServicePlanPriceSets
-
save
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> save(List<ServicePlanPriceSet> servicePlanPriceSets) Deprecated.useMorpheusDataService.bulkSave(java.util.List<M>)
insteadSave updates to existing ServicePlanPriceSets- Specified by:
save
in interfaceMorpheusDataService<ServicePlanPriceSet,
ServicePlanPriceSetIdentityProjection> - Parameters:
servicePlanPriceSets
- updated ServicePlanPriceSets- Returns:
- status of save results
- See Also:
-
create
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> create(List<ServicePlanPriceSet> servicePlanPriceSets) Deprecated.Create new ServicePlanPriceSet in Morpheus- Specified by:
create
in interfaceMorpheusDataService<ServicePlanPriceSet,
ServicePlanPriceSetIdentityProjection> - Parameters:
servicePlanPriceSets
- new servicePlanPriceSet to persist- Returns:
- status of create results
- See Also:
-
MorpheusDataService.bulkCreate(java.util.List<M>)
instead