Package com.morpheusdata.core.policy
Interface MorpheusPolicyService
- All Superinterfaces:
MorpheusDataQueryService<Policy>
,MorpheusDataService<Policy,
Policy>
This service deals with interactions as it relates to Policies. Methods are provided for managing/listing policy information.
An example might be to use a custom report provider to access policy data and provide quota data on the policies.
- Since:
- 0.12.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
Returns thePolicyType
related service for fetching type related information.io.reactivex.rxjava3.core.Observable<Policy>
listAllByAccount
(Account account) Deprecated.io.reactivex.rxjava3.core.Observable<Policy>
listAllByAccountAndEnabled
(Account account, Boolean enabled) Deprecated.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
-
Method Details
-
getType
MorpheusPolicyTypeService getType()Returns thePolicyType
related service for fetching type related information.- Returns:
- an instance of the PolicyType Service for fetching related type information.
-
listAllByAccount
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<Policy> listAllByAccount(Account account) Deprecated. -
listAllByAccountAndEnabled
@Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<Policy> listAllByAccountAndEnabled(Account account, Boolean enabled) Deprecated.
-