Class CandidateUsersEditView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.flowui.view.StandardDetailView<AssignmentDetailsModel>
io.jmix.bpmflowui.view.modeler.properties.candidateusers.CandidateUsersEditView
- All Implemented Interfaces:
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
,ChangeTracker
,DetailView<AssignmentDetailsModel>
,ReadOnlyAwareView
,Serializable
@ViewController("bpm_CandidateUsersEdit")
@ViewDescriptor("candidate-users-edit.xml")
public class CandidateUsersEditView
extends StandardDetailView<AssignmentDetailsModel>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailView
StandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.ValidationEvent
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected InstanceContainer<AssignmentDetailsModel>
protected BeanMethodModelHelper
protected TypedTextField<String>
protected JmixComboBox<CandidateUsersSource>
protected ClassPathScanner
protected Messages
protected Metadata
protected BpmnModeler
protected String
protected JmixComboBox<String>
protected JmixComboBox<MethodInfo>
protected com.vaadin.flow.component.orderedlayout.VerticalLayout
protected com.vaadin.flow.component.button.Button
protected CollectionContainer<UserModel>
protected UserRepository
protected com.vaadin.flow.component.orderedlayout.VerticalLayout
protected JmixComboBox<String>
Fields inherited from class io.jmix.flowui.view.StandardDetailView
DEFAULT_ROUTE_PARAM, LOCKED_BEFORE_REFRESH_ATTR_NAME, MODE_PARAM, MODE_READONLY, NEW_ENTITY_ID, READ_ONLY_BEFORE_REFRESH_ATTR_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addCandidateUser
(String username) protected int
getCountCallback
(com.vaadin.flow.data.provider.Query<String, String> query) getFetchCallback
(com.vaadin.flow.data.provider.Query<String, String> query) protected Consumer<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent>
getValueChangeEventConsumer
(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) protected void
protected void
protected void
protected void
protected void
protected void
onBeforeShow
(View.BeforeShowEvent event) void
onCandidateUsersExpressionFieldComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextField, String> event) protected void
onInit
(View.InitEvent event) void
onUserListProviderComboBoxComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>, String> event) void
onUserListProviderMethodNameFieldValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<MethodInfo>, MethodInfo> event) void
onUsernameAddBtnIdClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
void
setModeler
(BpmnModeler modeler) void
setParentModelElementBusinessId
(String parentModelElementBusinessId) protected void
suggestionFieldValueChangeHandler
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) protected void
updateAssignmentDetailsModel
(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) protected void
Methods inherited from class io.jmix.flowui.view.StandardDetailView
addAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, closeWithDiscard, closeWithSave, entityCanBeLoaded, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getPessimisticLockStatus, getRouteParamName, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEdit
Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, setApplicationContext, setId, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class 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, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
beanMethodModelHelper
-
metadata
-
userRepository
-
classPathScanner
-
messages
-
usernamesDc
-
assignmentDetailsModelDc
-
candidateUsersExpressionField
-
userListProviderComboBox
-
userListProviderMethodNameField
-
candidateUsersSourceComboBox
-
userListProviderMethodParamsBox
@ViewComponent protected com.vaadin.flow.component.orderedlayout.VerticalLayout userListProviderMethodParamsBox -
usersDataGridBox
-
userSuggestionField
-
usernameAddBtnId
-
modeler
-
parentModelElementBusinessId
-
-
Constructor Details
-
CandidateUsersEditView
public CandidateUsersEditView()
-
-
Method Details
-
setParentModelElementBusinessId
-
setModeler
-
onInit
-
onBeforeShow
-
initUserListProviderComboBoxItems
protected void initUserListProviderComboBoxItems() -
initUserSuggestionField
protected void initUserSuggestionField() -
initCandidateUsersSourceComboBoxItems
protected void initCandidateUsersSourceComboBoxItems() -
initViewData
protected void initViewData() -
initComponentsVisibility
protected void initComponentsVisibility() -
onCandidateUsersExpressionFieldComponentValueChange
@Subscribe("candidateUsersExpressionField") public void onCandidateUsersExpressionFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextField, String> event) -
onUserListProviderComboBoxComponentValueChange
@Subscribe("userListProviderComboBox") public void onUserListProviderComboBoxComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>, String> event) -
onUserListProviderMethodNameFieldValueChange
@Subscribe("userListProviderMethodNameField") public void onUserListProviderMethodNameFieldValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<MethodInfo>, MethodInfo> event) -
getValueChangeEventConsumer
protected Consumer<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent> getValueChangeEventConsumer(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) -
updateAssignmentDetailsModel
protected void updateAssignmentDetailsModel(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) -
onUsersDcCollectionChange
@Subscribe(id="usernamesDc", target=DATA_CONTAINER) protected void onUsersDcCollectionChange(CollectionContainer.CollectionChangeEvent<UserModel> event) -
onUsernameAddBtnIdClick
@Subscribe("usernameAddBtnId") public void onUsernameAddBtnIdClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
suggestionFieldValueChangeHandler
-
addCandidateUser
-
updateUserCandidatesValue
protected void updateUserCandidatesValue() -
candidateUsersValueToUserList
-
getFetchCallback
-
getCountCallback
-