Interface EditableBean

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete()
      Delete the object represented by this bean.
      void duplicate()
      Duplicates the object represented by this bean, and change the bean to represent the duplicated object.
      void InitAsNew()
      Initializes this bean with a brand new object of the type this bean represents.
      void refresh()
      Refreshes the object represented by this bean.
      void save()
      Saves the changes done to the object represented by the bean.
    • Method Detail

      • InitAsNew

        void InitAsNew()
        Initializes this bean with a brand new object of the type this bean represents.
      • delete

        void delete()
             throws WebBeanException
        Delete the object represented by this bean.
        Throws:
        WebBeanException - Thrown if error occurs during the process.
      • duplicate

        void duplicate()
                throws WebBeanException
        Duplicates the object represented by this bean, and change the bean to represent the duplicated object.
        Throws:
        WebBeanException - Thrown if error occurs during the process.
      • refresh

        void refresh()
              throws WebBeanException
        Refreshes the object represented by this bean.
        Throws:
        WebBeanException - Thrown if error occurs during the process.
      • save

        void save()
           throws WebBeanException
        Saves the changes done to the object represented by the bean.
        Throws:
        WebBeanException - Thrown if error occurs during the process.