Package com.morpheusdata.core.cloud
Interface MorpheusCloudFolderService
- All Superinterfaces:
MorpheusDataQueryService<CloudFolder>
,MorpheusDataService<CloudFolder,
,CloudFolderIdentity> MorpheusIdentityService<CloudFolderIdentity>
public interface MorpheusCloudFolderService
extends 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 Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<CloudFolder>
getDefaultFolderForAccount
(Long cloudId, Long accountId, Long siteId, Long servicePlanId) Get the default CloudFolderio.reactivex.rxjava3.core.Single<CloudFolder>
getDefaultImageFolderForAccount
(Long cloudId, Long accountId) Get the default image CloudFolderio.reactivex.rxjava3.core.Observable<CloudFolderIdentity>
listSyncProjections
(Long cloudId) Deprecated, for removal: This API element is subject to removal in a future version.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
-
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.This is being replaced byMorpheusIdentityService.listIdentityProjections(DataQuery)
Get a list ofCloudFolder
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 cloudaccountId
- The id of the accountsiteId
- 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 cloudaccountId
- The id of the account- Returns:
- The default image CloudFolder
-
MorpheusIdentityService.listIdentityProjections(DataQuery)