Package com.morpheusdata.core
Interface MorpheusServicePlanService
- All Superinterfaces:
MorpheusDataQueryService<ServicePlan>
,MorpheusDataService<ServicePlan,
,ServicePlanIdentityProjection> MorpheusIdentityService<ServicePlanIdentityProjection>
public interface MorpheusServicePlanService
extends MorpheusDataService<ServicePlan,ServicePlanIdentityProjection>, MorpheusIdentityService<ServicePlanIdentityProjection>
Context methods for syncing ServicePlan in Morpheus
- Since:
- 0.8.0
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Observable<ServicePlan>
listByCode
(Collection<String> codes) Get a list of ServicePlan objects from a list of projection codesio.reactivex.rxjava3.core.Observable<ServicePlan>
listById
(Collection<Long> ids) Get a list of ServicePlan objects from a list of projection idsio.reactivex.rxjava3.core.Observable<ServicePlanIdentityProjection>
listIdentityProjections
(ProvisionType provisionType) Get a list of ServicePlan projections based onProvisionType
ProvisionType must, at least, have an id or code setio.reactivex.rxjava3.core.Observable<ServicePlanIdentityProjection>
listIdentityProjections
(Long cloudId) Get a list of ServicePlan projections based on Cloud idio.reactivex.rxjava3.core.Observable<ServicePlanIdentityProjection>
listSyncProjections
(ProvisionType provisionType) Deprecated.io.reactivex.rxjava3.core.Observable<ServicePlanIdentityProjection>
listSyncProjections
(Long cloudId) Deprecated.replaced by {listIdentityProjections(Long)
}Methods 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
-
listIdentityProjections
io.reactivex.rxjava3.core.Observable<ServicePlanIdentityProjection> listIdentityProjections(Long cloudId) Get a list of ServicePlan projections based on Cloud id- Parameters:
cloudId
- Cloud id- Returns:
- Observable stream of sync projection
-
listIdentityProjections
io.reactivex.rxjava3.core.Observable<ServicePlanIdentityProjection> listIdentityProjections(ProvisionType provisionType) Get a list of ServicePlan projections based onProvisionType
ProvisionType must, at least, have an id or code set- Parameters:
provisionType
-ProvisionType
- Returns:
- Observable stream of sync projection
-
listSyncProjections
@Deprecated io.reactivex.rxjava3.core.Observable<ServicePlanIdentityProjection> listSyncProjections(Long cloudId) Deprecated.replaced by {listIdentityProjections(Long)
}Get a list of ServicePlan projections based on Cloud id- Parameters:
cloudId
- Cloud id- Returns:
- Observable stream of sync projection
-
listSyncProjections
@Deprecated io.reactivex.rxjava3.core.Observable<ServicePlanIdentityProjection> listSyncProjections(ProvisionType provisionType) Deprecated.replaced by {listIdentityProjections(ProvisionType)
}Get a list of ServicePlan projections based onProvisionType
ProvisionType must, at least, have an id or code set- Parameters:
provisionType
-ProvisionType
- Returns:
- Observable stream of sync projection
-
listById
Get a list of ServicePlan objects from a list of projection ids- Parameters:
ids
- ServicePlan ids- Returns:
- Observable stream of servicePlans
-
listByCode
Get a list of ServicePlan objects from a list of projection codes- Parameters:
codes
- ServicePlan codes- Returns:
- Observable stream of servicePlans
-
listIdentityProjections(ProvisionType)
}