Class UiComponentPolicyTypeProvider
java.lang.Object
io.jmix.uiconstraints.view.policytypeprovider.UiComponentPolicyTypeProvider
- All Implemented Interfaces:
- ResourcePolicyTypeProvider
@SpringComponent("uicns_UiComponentPolicyTypeProvider")
public class UiComponentPolicyTypeProvider
extends Object
implements ResourcePolicyTypeProvider
Provides the UI component resource policy type support for the resource role details view.
- 
Constructor SummaryConstructors
- 
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.
- 
Constructor Details- 
UiComponentPolicyTypeProvider
 
- 
- 
Method Details- 
getLocalizedPolicyNameDescription copied from interface:ResourcePolicyTypeProviderReturns the localized name of the policy supported by this provider.- Specified by:
- getLocalizedPolicyNamein interface- ResourcePolicyTypeProvider
- Returns:
- the name of the policy
 
- 
getCreatePolicyViewClassDescription copied from interface:ResourcePolicyTypeProviderReturns the class of the view used for creating new resource policies of the specific type.- Specified by:
- getCreatePolicyViewClassin interface- ResourcePolicyTypeProvider
- Returns:
- the class of the view for creating new resource policies
 
- 
getEditPolicyViewClassDescription copied from interface:ResourcePolicyTypeProviderReturns the class of the detail view used for editing resource policies of the specific type.- Specified by:
- getEditPolicyViewClassin interface- ResourcePolicyTypeProvider
- Returns:
- the class of the detail view for editing resource policies
 
- 
supportsDescription copied from interface:ResourcePolicyTypeProviderChecks if the provider supports the given resource policy type.- Specified by:
- supportsin interface- ResourcePolicyTypeProvider
- Parameters:
- resourcePolicyType- the type of the resource policy
- Returns:
- true if the provider supports the given type, false otherwise
 
- 
isEffectColumnVisiblepublic boolean isEffectColumnVisible()Description copied from interface:ResourcePolicyTypeProviderChecks if the "effect" column should be visible in the policies grid of the resource role editor.- Specified by:
- isEffectColumnVisiblein interface- ResourcePolicyTypeProvider
- Returns:
- true if the effect column should be visible, false otherwise
 
 
-