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 Summary
Constructors - 
Method Summary
Modifier 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
- 
getLocalizedPolicyName
Description copied from interface:ResourcePolicyTypeProviderReturns the localized name of the policy supported by this provider.- Specified by:
 getLocalizedPolicyNamein interfaceResourcePolicyTypeProvider- Returns:
 - the name of the policy
 
 - 
getCreatePolicyViewClass
Description copied from interface:ResourcePolicyTypeProviderReturns the class of the view used for creating new resource policies of the specific type.- Specified by:
 getCreatePolicyViewClassin interfaceResourcePolicyTypeProvider- Returns:
 - the class of the view for creating new resource policies
 
 - 
getEditPolicyViewClass
Description copied from interface:ResourcePolicyTypeProviderReturns the class of the detail view used for editing resource policies of the specific type.- Specified by:
 getEditPolicyViewClassin interfaceResourcePolicyTypeProvider- Returns:
 - the class of the detail view for editing resource policies
 
 - 
supports
Description copied from interface:ResourcePolicyTypeProviderChecks if the provider supports the given resource policy type.- Specified by:
 supportsin interfaceResourcePolicyTypeProvider- Parameters:
 resourcePolicyType- the type of the resource policy- Returns:
 - true if the provider supports the given type, false otherwise
 
 - 
isEffectColumnVisible
public 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 interfaceResourcePolicyTypeProvider- Returns:
 - true if the effect column should be visible, false otherwise
 
 
 -