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.ValidationEventNested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InstanceContainer<AssignmentDetailsModel>protected BeanMethodModelHelperprotected TypedTextField<String>protected JmixComboBox<CandidateUsersSource>protected ClassPathScannerprotected Messagesprotected Metadataprotected BpmnModelerprotected Stringprotected JmixComboBox<String>protected JmixComboBox<MethodInfo>protected com.vaadin.flow.component.orderedlayout.VerticalLayoutprotected com.vaadin.flow.component.button.Buttonprotected CollectionContainer<UserModel>protected UserRepositoryprotected com.vaadin.flow.component.orderedlayout.VerticalLayoutprotected 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCandidateUser(String username) protected intgetCountCallback(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 voidprotected voidprotected voidprotected voidprotected voidprotected voidonBeforeShow(View.BeforeShowEvent event) voidonCandidateUsersExpressionFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextField, String> event) protected voidonInit(View.InitEvent event) voidonUserListProviderComboBoxComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>, String> event) voidonUserListProviderMethodNameFieldValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<MethodInfo>, MethodInfo> event) voidonUsernameAddBtnIdClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidvoidsetModeler(BpmnModeler modeler) voidsetParentModelElementBusinessId(String parentModelElementBusinessId) protected voidsuggestionFieldValueChangeHandler(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) protected voidupdateAssignmentDetailsModel(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) protected voidMethods 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, setupEntityToEditMethods inherited from class io.jmix.flowui.view.StandardView
initContentMethods 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, setViewFacetsMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods 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
-