Class SessionsView

  • All Implemented Interfaces:
    org.tentackle.fx.FxController, org.tentackle.validate.ScopeConfigurator

    @FxControllerService(binding=NO)
    public class SessionsView
    extends org.tentackle.fx.AbstractFxController
    View showing all sessions logged in to the middle tier.
    Allows killing sessions as well.
    Author:
    harald
    • Constructor Summary

      Constructors 
      Constructor Description
      SessionsView()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure()  
      protected org.tentackle.fx.table.TableConfiguration<org.tentackle.pdo.AdminExtension.SessionData> createTableConfiguration()
      Creates the table configuration.
      org.tentackle.fx.container.FxHBox getButtonBox()
      Gets the button box.
      Used to add additional buttons, for example to close the stage.
      protected boolean isKillSessionAllowed()
      Returns whether killing a session is allowed.
      protected void showSecurityDialog()
      Shows the security dialog.
      • Methods inherited from class org.tentackle.fx.AbstractFxController

        createBinder, getBinder, getContainer, getDefaultScopes, getFXMLFields, getFXMLMethods, getStage, getView, setView, validateInjections
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SessionsView

        public SessionsView()
    • Method Detail

      • configure

        public void configure()
        Specified by:
        configure in interface org.tentackle.fx.FxController
        Overrides:
        configure in class org.tentackle.fx.AbstractFxController
      • getButtonBox

        public org.tentackle.fx.container.FxHBox getButtonBox()
        Gets the button box.
        Used to add additional buttons, for example to close the stage.
        Returns:
        the button box
      • isKillSessionAllowed

        protected boolean isKillSessionAllowed()
        Returns whether killing a session is allowed.
        Returns:
        true if allowed
      • showSecurityDialog

        protected void showSecurityDialog()
        Shows the security dialog.
      • createTableConfiguration

        protected org.tentackle.fx.table.TableConfiguration<org.tentackle.pdo.AdminExtension.SessionData> createTableConfiguration()
        Creates the table configuration.
        Returns:
        the table config