Class SearchByViewKeyAction

    • Constructor Detail

      • SearchByViewKeyAction

        public SearchByViewKeyAction()
    • Method Detail

      • execute

        public void execute()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setValuesToView

        protected void setValuesToView​(java.util.Map values)
                                throws java.lang.Exception
        Executed after searching is done, in order to assign the searched values to the view.

        Parameters:
        values - The values to assign to the view
        Throws:
        java.lang.Exception - If some is wrong.
      • getMemberNames

        protected java.util.Map getMemberNames()
                                        throws java.lang.Exception
        Names of the members to be retrieve from object model (at the end from database).

        By default, they are the members shown by the view.

        Throws:
        java.lang.Exception
      • getValuesFromView

        protected java.util.Map getValuesFromView()
                                           throws java.lang.Exception
        Values obtained from the view, used to do a search by any filled value.

        By default assumed all data currently displayed to the user.

        Throws:
        java.lang.Exception
      • getKeyValuesFromView

        protected java.util.Map getKeyValuesFromView()
                                              throws java.lang.Exception
        Key values obtained from the view, used to do a search by key.

        By default assumed key data in the view.

        Throws:
        java.lang.Exception