Class CadastroRolePresenter

Object
AbstractFormViewPresenter<RoleDTO,CadastroRoleView>
CadastroRolePresenter
All Implemented Interfaces:
Presenter<CadastroRoleView>, PresenterLifeCicleAware<CadastroRoleView>, Serializable

@Component @Scope("prototype") public class CadastroRolePresenter extends AbstractFormViewPresenter<RoleDTO,CadastroRoleView>
See Also:
  • Constructor Details

    • CadastroRolePresenter

      public CadastroRolePresenter()
  • Method Details

    • setView

      @Autowired public void setView(CadastroRoleView view)
    • setRoleService

      @Autowired public void setRoleService(RoleService roleService)
    • setUsuarioService

      @Autowired public void setUsuarioService(UsuarioService usuarioService)
    • getView

      public CadastroRoleView getView()
    • init

      @PostConstruct public void init()
      Overrides:
      init in class AbstractFormViewPresenter<RoleDTO,CadastroRoleView>
    • buttonNewPressed

      protected void buttonNewPressed()
      Specified by:
      buttonNewPressed in class AbstractFormViewPresenter<RoleDTO,CadastroRoleView>
    • setEntity

      public void setEntity(RoleDTO entity)
      Overrides:
      setEntity in class AbstractFormViewPresenter<RoleDTO,CadastroRoleView>
    • buttonSavePressed

      protected void buttonSavePressed()
      Specified by:
      buttonSavePressed in class AbstractFormViewPresenter<RoleDTO,CadastroRoleView>
    • isValid

      public boolean isValid()
      Overrides:
      isValid in class AbstractFormViewPresenter<RoleDTO,CadastroRoleView>
    • buttonSearchPressed

      protected void buttonSearchPressed()
      Specified by:
      buttonSearchPressed in class AbstractFormViewPresenter<RoleDTO,CadastroRoleView>
    • buttonUndoPressed

      protected void buttonUndoPressed()
      Specified by:
      buttonUndoPressed in class AbstractFormViewPresenter<RoleDTO,CadastroRoleView>
    • buttonDeleteConfirmed

      protected void buttonDeleteConfirmed()
      Specified by:
      buttonDeleteConfirmed in class AbstractFormViewPresenter<RoleDTO,CadastroRoleView>