Package com.morpheusdata.core
Interface MorpheusMetadataTagTypeService
- All Superinterfaces:
MorpheusDataService<MetadataTagType,
,MetadataTagTypeIdentityProjection> MorpheusIdentityService<MetadataTagType>
public interface MorpheusMetadataTagTypeService
extends MorpheusDataService<MetadataTagType,MetadataTagTypeIdentityProjection>, MorpheusIdentityService<MetadataTagType>
Context methods for syncing MetadataTagTypes in Morpheus
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Boolean>
create
(List<MetadataTagType> metadataTagTypes) Deprecated.io.reactivex.rxjava3.core.Observable<MetadataTagType>
listById
(Collection<Long> ids) Deprecated.io.reactivex.rxjava3.core.Observable<MetadataTagTypeIdentityProjection>
listSyncProjections
(String refType, Long refId) Get a list of MetadataTagType projections based on the refId and refType associated with the MetadataTagTypeio.reactivex.rxjava3.core.Single<Boolean>
remove
(List<MetadataTagTypeIdentityProjection> metadataTagTypes) Deprecated.io.reactivex.rxjava3.core.Single<Boolean>
save
(List<MetadataTagType> metadataTagTypes) Deprecated.Methods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, count, create, find, get, list, listById, listOptions, remove, save, search
Methods inherited from interface com.morpheusdata.core.MorpheusIdentityService
getIdentityProperties, listIdentityProjections
-
Method Details
-
listSyncProjections
io.reactivex.rxjava3.core.Observable<MetadataTagTypeIdentityProjection> listSyncProjections(String refType, Long refId) Get a list of MetadataTagType projections based on the refId and refType associated with the MetadataTagType- Parameters:
refType
- the refType to match on. Typically 'ComputeZone' for Cloud related tagsrefId
- the refId to match on. Typically the id of the Cloud for Cloud related tags- Returns:
- Observable stream of sync projection
-
listById
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<MetadataTagType> listById(Collection<Long> ids) Deprecated.Get a list of MetadataTagType objects from a list of projection ids- Parameters:
ids
- MetadataTagType ids- Returns:
- Observable stream of MetadataTagType
-
save
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> save(List<MetadataTagType> metadataTagTypes) Deprecated.Save updates to existing MetadataTagTypes- Specified by:
save
in interfaceMorpheusDataService<MetadataTagType,
MetadataTagTypeIdentityProjection> - Parameters:
metadataTagTypes
- updated MetadataTagTypes- Returns:
- success
- See Also:
-
create
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> create(List<MetadataTagType> metadataTagTypes) Deprecated.Create new MetadataTagTypes in Morpheus- Specified by:
create
in interfaceMorpheusDataService<MetadataTagType,
MetadataTagTypeIdentityProjection> - Parameters:
metadataTagTypes
- new MetadataTagType to persist- Returns:
- success
- See Also:
-
remove
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> remove(List<MetadataTagTypeIdentityProjection> metadataTagTypes) Deprecated.Remove persisted MetadataTagTypes from Morpheus- Specified by:
remove
in interfaceMorpheusDataService<MetadataTagType,
MetadataTagTypeIdentityProjection> - Parameters:
metadataTagTypes
- MetadataTagTypes to delete- Returns:
- success
- See Also:
-