Class CadastroBibliotecaLocalPresenter
Object
AbstractFormViewPresenter<Biblioteca,CadastroBibliotecaLocalView>
VitruvioAbstractFormPresenter<Biblioteca,CadastroBibliotecaLocalView>
CadastroBibliotecaLocalPresenter
- All Implemented Interfaces:
Presenter<CadastroBibliotecaLocalView>,PresenterLifeCicleAware<CadastroBibliotecaLocalView>,Serializable
@Component
@Scope("prototype")
public class CadastroBibliotecaLocalPresenter
extends VitruvioAbstractFormPresenter<Biblioteca,CadastroBibliotecaLocalView>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidgetView()humanReadableByteCount(Long bytes, boolean si) protected voidinit()booleanisValid()voidsetBibliotecaService(BibliotecaService bibliotecaService) voidsetEntity(Biblioteca entity) voidsetFileService(FileService fileService) voidsetTokenService(JWTTokenUtil tokenService) voidMethods inherited from class VitruvioAbstractFormPresenter
buttonDeleteConfirmed, buttonNewPressed, buttonSearchPressedMethods 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
-
CadastroBibliotecaLocalPresenter
public CadastroBibliotecaLocalPresenter()
-
-
Method Details
-
setBibliotecaService
-
setFileService
-
setTokenService
-
getView
-
init
@PostConstruct protected void init()- Overrides:
initin classVitruvioAbstractFormPresenter<Biblioteca,CadastroBibliotecaLocalView>
-
setView
-
isValid
public boolean isValid()- Overrides:
isValidin classAbstractFormViewPresenter<Biblioteca,CadastroBibliotecaLocalView>
-
buttonSavePressed
protected void buttonSavePressed()- Specified by:
buttonSavePressedin classAbstractFormViewPresenter<Biblioteca,CadastroBibliotecaLocalView>
-
setEntity
public void setEntity(Biblioteca entity) - Overrides:
setEntityin classAbstractFormViewPresenter<Biblioteca,CadastroBibliotecaLocalView>
-
humanReadableByteCount
-
buttonUndoPressed
protected void buttonUndoPressed()- Overrides:
buttonUndoPressedin classVitruvioAbstractFormPresenter<Biblioteca,CadastroBibliotecaLocalView>
-