public interface PolicyStoreManageModule extends PolicyFinderModule
ALL_COMBINATIONS, COMBINATIONS_BY_CATEGORY, COMBINATIONS_BY_CATEGORY_AND_PARAMETER, COMBINATIONS_BY_PARAMETER, NO_COMBINATIONS
Modifier and Type | Method and Description |
---|---|
void |
addPolicy(PolicyStoreDTO policy)
add policy in to the store
|
boolean |
deletePolicy(String policyIdentifier)
delete policy from the store
|
void |
init(Properties properties)
init policy store module
|
boolean |
isPolicyExist(String policyId)
Check whether policy is exist or not
|
void |
updatePolicy(PolicyStoreDTO policy)
update policy in to the store
|
getActivePolicies, getModuleName, getOrderedPolicyIdentifiers, getPolicy, getPolicyOrder, getReferencedPolicy, getSearchAttributes, getSupportedSearchAttributesScheme, isDefaultCategoriesSupported, isPolicyDeActivationSupport, isPolicyOrderingSupport
void init(Properties properties)
init
in interface PolicyFinderModule
properties
- void addPolicy(PolicyStoreDTO policy) throws EntitlementException
policy
- EntitlementException
void updatePolicy(PolicyStoreDTO policy) throws EntitlementException
policy
- EntitlementException
boolean deletePolicy(String policyIdentifier) throws EntitlementException
policyIdentifier
- EntitlementException
boolean isPolicyExist(String policyId)
policyId
- policy id as String
Copyright © 2016 WSO2. All rights reserved.