Interface MorpheusServicePlanService

All Superinterfaces:
MorpheusDataService<ServicePlan,ServicePlanIdentityProjection>, MorpheusIdentityService<ServicePlanIdentityProjection>

Context methods for syncing ServicePlan in Morpheus
Since:
0.8.0
  • 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 on ProvisionType 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.
      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.
      Get a list of ServicePlan projections based on ProvisionType ProvisionType must, at least, have an id or code set
      Parameters:
      provisionType - ProvisionType
      Returns:
      Observable stream of sync projection
    • listById

      io.reactivex.rxjava3.core.Observable<ServicePlan> listById(Collection<Long> ids)
      Get a list of ServicePlan objects from a list of projection ids
      Parameters:
      ids - ServicePlan ids
      Returns:
      Observable stream of servicePlans
    • listByCode

      io.reactivex.rxjava3.core.Observable<ServicePlan> listByCode(Collection<String> codes)
      Get a list of ServicePlan objects from a list of projection codes
      Parameters:
      codes - ServicePlan codes
      Returns:
      Observable stream of servicePlans