Interface ResourcePolicyTypeProvider
- All Known Implementing Classes:
- UiComponentPolicyTypeProvider
public interface ResourcePolicyTypeProvider
Interface for supporting additional resource policy types (e.g. that come from add-ons) in the resource role details
 view. Implementations of this interface provide necessary information for creating and editing resource policies of
 specific types.
- 
Method SummaryModifier and TypeMethodDescriptionClass<? extends MultipleResourcePolicyModelCreateView>Returns the class of the view used for creating new resource policies of the specific type.Class<? extends StandardDetailView<ResourcePolicyModel>>Returns the class of the detail view used for editing resource policies of the specific type.Returns the localized name of the policy supported by this provider.booleanChecks if the "effect" column should be visible in the policies grid of the resource role editor.booleanChecks if the provider supports the given resource policy type.
- 
Method Details- 
getCreatePolicyViewClassClass<? extends MultipleResourcePolicyModelCreateView> getCreatePolicyViewClass()Returns the class of the view used for creating new resource policies of the specific type.- Returns:
- the class of the view for creating new resource policies
 
- 
getEditPolicyViewClassClass<? extends StandardDetailView<ResourcePolicyModel>> getEditPolicyViewClass()Returns the class of the detail view used for editing resource policies of the specific type.- Returns:
- the class of the detail view for editing resource policies
 
- 
isEffectColumnVisibleboolean isEffectColumnVisible()Checks if the "effect" column should be visible in the policies grid of the resource role editor.- Returns:
- true if the effect column should be visible, false otherwise
 
- 
getLocalizedPolicyNameString getLocalizedPolicyName()Returns the localized name of the policy supported by this provider.- Returns:
- the name of the policy
 
- 
supportsChecks if the provider supports the given resource policy type.- Parameters:
- policyType- the type of the resource policy
- Returns:
- true if the provider supports the given type, false otherwise
 
 
-