Klasse PaymentListView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<io.jmix.flowui.component.layout.ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.flowui.view.StandardListView<Payment>
de.bytestore.hostinger.view.payment.PaymentListView
- Alle implementierten Schnittstellen:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasStyle,com.vaadin.flow.router.AfterNavigationObserver,com.vaadin.flow.router.BeforeEnterObserver,com.vaadin.flow.router.BeforeLeaveObserver,com.vaadin.flow.router.HasDynamicTitle,com.vaadin.flow.router.internal.AfterNavigationHandler,com.vaadin.flow.router.internal.BeforeEnterHandler,com.vaadin.flow.router.internal.BeforeLeaveHandler,io.jmix.flowui.view.LookupView<Payment>,io.jmix.flowui.view.MultiSelectLookupView,Serializable
@Route(value="payments",
layout=MainView.class)
@ViewController("host_Payment.list")
@ViewDescriptor("payment-list-view.xml")
@DialogMode(width="64em")
public class PaymentListView
extends io.jmix.flowui.view.StandardListView<Payment>
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen io.jmix.flowui.view.View
io.jmix.flowui.view.View.AfterCloseEvent, io.jmix.flowui.view.View.BeforeCloseEvent, io.jmix.flowui.view.View.BeforeShowEvent, io.jmix.flowui.view.View.InitEvent, io.jmix.flowui.view.View.QueryParametersChangeEvent, io.jmix.flowui.view.View.ReadyEventVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen io.jmix.flowui.view.LookupView
io.jmix.flowui.view.LookupView.ValidationContext<E> -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected io.jmix.core.security.CurrentAuthenticationprotected io.jmix.flowui.model.DataComponentsprotected io.jmix.flowui.model.DataContextprotected io.jmix.core.DataManagerVon Klasse geerbte Felder io.jmix.flowui.view.StandardListView
DISCARD_ACTION_DEFAULT_ID, LOOKUP_ACTIONS_LAYOUT_DEFAULT_ID, SELECT_ACTION_DEFAULT_ID, selectionHandler, selectionValidator -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidonSimulatePayPalClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> event) Handles the PayPal click event by performing the following actions: 1.Von Klasse geerbte Methoden io.jmix.flowui.view.StandardListView
closeWithDiscard, doSelect, findLookupComponent, getDiscardAction, getLookupActionsLayout, getLookupComponent, getSelectAction, getSelectionHandler, getSelectionValidator, handleSelection, lookupEnterPress, setLookupComponentMultiSelect, setSelectionHandler, setSelectionValidator, setupLookupComponent, setupSaveShortcut, validateSelectedItemsVon Klasse geerbte Methoden io.jmix.flowui.view.StandardView
initContentVon Klasse geerbte Methoden io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacetsVon Klasse geerbte Methoden com.vaadin.flow.component.Composite
getChildren, getContent, getElementVon Klasse geerbte Methoden com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setVisibleVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden com.vaadin.flow.component.AttachNotifier
addAttachListenerVon Schnittstelle geerbte Methoden com.vaadin.flow.component.DetachNotifier
addDetachListenerVon Schnittstelle geerbte Methoden com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Felddetails
-
currentAuthentication
@Autowired protected io.jmix.core.security.CurrentAuthentication currentAuthentication -
dataComponents
@Autowired protected io.jmix.flowui.model.DataComponents dataComponents -
dataContext
@ViewComponent protected io.jmix.flowui.model.DataContext dataContext -
dataManager
@Autowired protected io.jmix.core.DataManager dataManager
-
-
Konstruktordetails
-
PaymentListView
public PaymentListView()
-
-
Methodendetails
-
onSimulatePayPalClick
@Subscribe(id="simulatePayPal", subject="clickListener") protected void onSimulatePayPalClick(com.vaadin.flow.component.ClickEvent<io.jmix.flowui.kit.component.button.JmixButton> event) Handles the PayPal click event by performing the following actions: 1. Creates a new Dummy Invoice. 2. Sets the receiver of the invoice as the current authenticated user. 3. Sets the products of the invoice. 4. Saves the invoice to the database. 5. Gets a response from the PayPal payment gateway. 6. Saves the payment to the database.- Parameter:
event- The click event representing the PayPal click.
-