Class AbstractAdminView<T extends org.springframework.data.domain.Persistable<Long>,P extends com.gwtplatform.mvp.client.proxy.Proxy<?>,V extends AbstractAdminPresenter.MyViewDef<T,P,V>>
java.lang.Object
com.gwtplatform.mvp.client.ViewImpl
de.knightsoftnet.gwtp.spring.client.rest.helper.AbstractViewWithErrorHandling<AbstractAdminPresenter<T,P,V>,T>
de.knightsoftnet.mtwidgets.client.ui.page.admin.AbstractAdminView<T,P,V>
- Type Parameters:
T- Type of the entity to editP- Proxy object typeV- View interface
- All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler,IsWidget,com.gwtplatform.mvp.client.View,EditorWithErrorHandling<AbstractAdminPresenter<T,,P, V>, T> HasShowMessage,AbstractAdminPresenter.MyViewDef<T,,P, V> de.knightsoftnet.validators.client.event.FormSubmitHandler<T>,org.gwtproject.editor.client.Editor<T>
public abstract class AbstractAdminView<T extends org.springframework.data.domain.Persistable<Long>,P extends com.gwtplatform.mvp.client.proxy.Proxy<?>,V extends AbstractAdminPresenter.MyViewDef<T,P,V>>
extends AbstractViewWithErrorHandling<AbstractAdminPresenter<T,P,V>,T>
implements AbstractAdminPresenter.MyViewDef<T,P,V>
abstract view of a admin view.
- Author:
- Manfred Tremmel
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gwtproject.editor.client.Editor
org.gwtproject.editor.client.Editor.Ignore, org.gwtproject.editor.client.Editor.Path -
Field Summary
FieldsFields inherited from class de.knightsoftnet.gwtp.spring.client.rest.helper.AbstractViewWithErrorHandling
driver, presenter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractAdminView(de.knightsoftnet.validators.client.editor.BeanValidationEditorDriver<T, ? extends AbstractAdminView<T, P, V>> driver, jakarta.inject.Provider<AdminNavigationWidget<T>> adminNavigationProvider) constructor with injected parameters. -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplayNavigtion(de.knightsoftnet.gwtp.spring.shared.data.AdminNavigation<Long> navigation) voidonFormSubmit(de.knightsoftnet.validators.client.event.FormSubmitEvent<T> entry) voidsetPresenter(AbstractAdminPresenter<T, P, V> presenter) final voidshowMessage(String message) voidshowSearchResult(org.springframework.data.web.PagedModel<T> result, boolean resetSorting) Methods inherited from class de.knightsoftnet.gwtp.spring.client.rest.helper.AbstractViewWithErrorHandling
fillForm, getPresenter, setConstraintViolations, setFocusOnFirstWidgetMethods inherited from class com.gwtplatform.mvp.client.ViewImpl
addToSlot, asWidget, bindSlot, bindSlot, bindSlot, initWidget, onAttach, onDetach, removeFromSlot, setInSlotMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.knightsoftnet.gwtp.spring.client.rest.helper.EditorWithErrorHandling
fillForm, setConstraintViolations, setFocusOnFirstWidgetMethods inherited from interface com.gwtplatform.mvp.client.View
addToSlot, removeFromSlot, setInSlot
-
Field Details
-
Constructor Details
-
AbstractAdminView
protected AbstractAdminView(de.knightsoftnet.validators.client.editor.BeanValidationEditorDriver<T, ? extends AbstractAdminView<T, P, V>> driver, jakarta.inject.Provider<AdminNavigationWidget<T>> adminNavigationProvider) constructor with injected parameters.- Parameters:
driver- editor driveradminNavigationProvider- administration navigation widget provider
-
-
Method Details
-
setPresenter
- Specified by:
setPresenterin interfaceEditorWithErrorHandling<T extends org.springframework.data.domain.Persistable<Long>,P extends com.gwtplatform.mvp.client.proxy.Proxy<?>> - Overrides:
setPresenterin classAbstractViewWithErrorHandling<AbstractAdminPresenter<T extends org.springframework.data.domain.Persistable<Long>,P extends com.gwtplatform.mvp.client.proxy.Proxy<?>, V extends AbstractAdminPresenter.MyViewDef<T, P, V>>, T extends org.springframework.data.domain.Persistable<Long>>
-
showMessage
- Specified by:
showMessagein interfaceHasShowMessage- Specified by:
showMessagein classAbstractViewWithErrorHandling<AbstractAdminPresenter<T extends org.springframework.data.domain.Persistable<Long>,P extends com.gwtplatform.mvp.client.proxy.Proxy<?>, V extends AbstractAdminPresenter.MyViewDef<T, P, V>>, T extends org.springframework.data.domain.Persistable<Long>>
-
onFormSubmit
-
showSearchResult
public void showSearchResult(org.springframework.data.web.PagedModel<T> result, boolean resetSorting) - Specified by:
showSearchResultin interfaceAbstractAdminPresenter.MyViewDef<T extends org.springframework.data.domain.Persistable<Long>,P extends com.gwtplatform.mvp.client.proxy.Proxy<?>, V extends AbstractAdminPresenter.MyViewDef<T, P, V>>