Class CadastroProjetoPresenter
Object
AbstractFormViewPresenter<Projeto,CadastroProjetoView>
VitruvioAbstractFormPresenter<Projeto,CadastroProjetoView>
CadastroProjetoPresenter
- All Implemented Interfaces:
Presenter<CadastroProjetoView>,PresenterLifeCicleAware<CadastroProjetoView>,Serializable
@Component
@Scope("prototype")
public class CadastroProjetoPresenter
extends VitruvioAbstractFormPresenter<Projeto,CadastroProjetoView>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgetView()protected voidinit()booleanisValid()voidsetEntity(Projeto entity) voidsetProjetoObjetivos(ProjetoObjetivos projetoObjetivos) Methods inherited from class VitruvioAbstractFormPresenter
buttonDeleteConfirmed, buttonNewPressed, buttonSearchPressed, buttonUndoPressedMethods inherited from class AbstractFormViewPresenter
closeAllowed, disableAllButtons, disableOnly, enableAllButtons, enableOnly, getEntity, getEventBus, handleButtonClose, handleButtons, handleDelete, handleNew, handlePresenterAttach, handlePresenterClose, handlePresenterDetach, handleSave, handleSearch, handleUndo, isCheckIfIsModifiedOnClose, isModified, setButtonsEnabled, setCheckIfIsModifiedOnClose, setEventBus
-
Constructor Details
-
CadastroProjetoPresenter
public CadastroProjetoPresenter()
-
-
Method Details
-
setProjetoObjetivos
public void setProjetoObjetivos(ProjetoObjetivos projetoObjetivos) -
setEntity
public void setEntity(Projeto entity) - Overrides:
setEntityin classAbstractFormViewPresenter<Projeto,CadastroProjetoView>
-
init
@PostConstruct protected void init()- Overrides:
initin classVitruvioAbstractFormPresenter<Projeto,CadastroProjetoView>
-
getView
-
isValid
public boolean isValid()- Overrides:
isValidin classAbstractFormViewPresenter<Projeto,CadastroProjetoView>
-
buttonSavePressed
protected void buttonSavePressed()- Specified by:
buttonSavePressedin classAbstractFormViewPresenter<Projeto,CadastroProjetoView>
-