Package com.morpheusdata.core
Interface MorpheusMetadataTagTypeService
- All Superinterfaces:
MorpheusDataQueryService<MetadataTagType>,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.MorpheusDataQueryService
count, find, get, list, list, listById, listOptions, listOptions, searchMethods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, create, remove, saveMethods 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:
savein 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:
createin 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:
removein interfaceMorpheusDataService<MetadataTagType,MetadataTagTypeIdentityProjection> - Parameters:
metadataTagTypes- MetadataTagTypes to delete- Returns:
- success
- See Also:
-