Class SecurityRulesView

java.lang.Object
org.tentackle.fx.AbstractFxController
org.tentackle.fx.rdc.security.SecurityRulesView
All Implemented Interfaces:
FxController, DomainContextProvider, org.tentackle.validate.ScopeConfigurator

@FxControllerService public class SecurityRulesView extends AbstractFxController implements DomainContextProvider
Security editor controller.
Author:
harald
  • Constructor Details

    • SecurityRulesView

      public SecurityRulesView()
  • Method Details

    • show

      public static void show(Class<?> clazz, PersistentDomainObject<?> pdo)
      Creates and shows the modal stage.
      Parameters:
      clazz - the secured non-PDO class, null if PDO
      pdo - the secured PDO, null if non-PDO clazz
    • getDomainContext

      public DomainContext getDomainContext()
      Specified by:
      getDomainContext in interface DomainContextProvider
    • configure

      public void configure()
      Specified by:
      configure in interface FxController
      Overrides:
      configure in class AbstractFxController
    • setSecuredObject

      public void setSecuredObject(PersistentDomainObject<?> pdo)
      Configures the view to edit security rule sets for a PDO.
      Parameters:
      pdo - the pdo
    • setSecuredObject

      public void setSecuredObject(int classId)
      Configures the view to edit security rule sets for a PDO-class.
      Parameters:
      classId - the class-ID
    • setSecuredObject

      public void setSecuredObject(Class<?> clazz)
      Configures the view to edit security rule sets for a non-PDO-class.
      Parameters:
      clazz - the class