Interface MorpheusCloudFolderService

All Superinterfaces:
MorpheusDataService<CloudFolder,CloudFolderIdentity>, MorpheusIdentityService<CloudFolderIdentity>

Context methods for syncing CloudFolder in Morpheus. It can normally be accessed via the MorpheusCloudService.

This service is accessible in the MorpheusContext via the following traversal path:
morpheusContext.getAsync().getCloud().getFolder()

  • Method Details

    • listSyncProjections

      @Deprecated(since="0.15.3", forRemoval=true) io.reactivex.rxjava3.core.Observable<CloudFolderIdentity> listSyncProjections(Long cloudId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get a list of CloudFolder projections based on Cloud id
      Parameters:
      cloudId - Cloud id
      Returns:
      Observable stream of sync projection
    • getDefaultFolderForAccount

      io.reactivex.rxjava3.core.Single<CloudFolder> getDefaultFolderForAccount(Long cloudId, Long accountId, Long siteId, Long servicePlanId)
      Get the default CloudFolder
      Parameters:
      cloudId - The id of the cloud
      accountId - The id of the account
      siteId - The id of the site (optional)
      servicePlanId - The id of the ServicePlan (optional)
      Returns:
      The default CloudFolder
    • getDefaultImageFolderForAccount

      io.reactivex.rxjava3.core.Single<CloudFolder> getDefaultImageFolderForAccount(Long cloudId, Long accountId)
      Get the default image CloudFolder
      Parameters:
      cloudId - The id of the cloud
      accountId - The id of the account
      Returns:
      The default image CloudFolder