Package com.morpheusdata.core.policy
Interface MorpheusPolicyTypeService
- All Superinterfaces:
MorpheusDataQueryService<PolicyType>,MorpheusDataService<PolicyType,PolicyType>
This Context deals with interactions related to
PolicyType objects. It can normally
be accessed via the primary MorpheusContext via the MorpheusPolicyService
Examples:
morpheusContext.getPolicy().getType()
- Since:
- 0.12.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<PolicyType>findByCode(String code) 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, create, remove, remove, save, save
-
Method Details
-
findByCode
Deprecated.Find a Policy Type by code- Parameters:
code- Name of the type- Returns:
- An instance of PolicyType
-