congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
VLViewComponentXML.getAccessRules
Code IndexAdd Tabnine to your IDE (free)

How to use
getAccessRules
method
in
com.nexitia.emaginplatform.jfx.core.client.viewdef.xml.model.VLViewComponentXML

Best Java code snippets using com.nexitia.emaginplatform.jfx.core.client.viewdef.xml.model.VLViewComponentXML.getAccessRules (Showing top 1 results out of 315)

origin: com.nexitia.emaginplatform/emagin-jfxcore-engine

private static UIAccessRule isAccessible(AbstractViewController controller, VLViewComponentXML actionsConfiguration, OperationData forModel) {
 if (forModel != null && actionsConfiguration.getAccessRules() != null && actionsConfiguration.getAccessRules().getRuleResolver() != null) {
  VLAccessRulesResolverXML accessRulesResolverXML = actionsConfiguration.getAccessRules().getRuleResolver();
  String name = accessRulesResolverXML.getName();
  if (StringUtils.isNotBlank(name)) {
   AbstractRuleResolver accessRuleResolver = (AbstractRuleResolver) controller.getSpringBean(name);
   accessRuleResolver.put("forModel", forModel);
   return accessRuleResolver.isAccessible(controller, actionsConfiguration);
  }
 }
 return UIAccessRule.SHOW;
}
com.nexitia.emaginplatform.jfx.core.client.viewdef.xml.modelVLViewComponentXMLgetAccessRules

Javadoc

Getter of accessRules

Popular methods of VLViewComponentXML

  • getBooleanProperty
    No property, empty and true means true
  • getSubcomponents
  • hasSubComponent
  • getComponentById
    Get first subcomponent given identifier.
  • getPropertyValue
    Get property as a string
  • propertyValueOf
    Get property as a string
  • <init>
  • getId
  • getProperties
    Getter of properties
  • setId
  • addSubconfg
  • booleanPropertyValueOf
    Get property as a boolean. In this case empty value is considered a true.
  • addSubconfg,
  • booleanPropertyValueOf,
  • getComponentsById,
  • getController,
  • getCriteria,
  • getDefaultButton,
  • getIntPropertyValue,
  • getMasterColumn,
  • getModel

Popular in Java

  • Running tasks concurrently on multiple threads
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
  • runOnUiThread (Activity)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • JList (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now