Class AssignmentDetailsPropertiesFragment
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.assignmentdetails.AssignmentDetailsPropertiesFragment
- 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,- FragmentOwner,- ChangeTracker,- DetailView<AssignmentDetailsModel>,- ReadOnlyAwareView,- Serializable
@ViewController("bpm_AssignmentDetailsPropertiesFragment")
@ViewDescriptor("assignment-details-properties-fragment.xml")
public class AssignmentDetailsPropertiesFragment
extends StandardDetailView<AssignmentDetailsModel>
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailViewStandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.SetupLockEvent, StandardDetailView.ValidationEventNested classes/interfaces inherited from class io.jmix.flowui.view.ViewView.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.component.textfield.TextFieldprotected JmixComboBox<String>protected JmixComboBox<String>protected InstanceContainer<AssignmentDetailsModel>protected BeanMethodModelHelperprotected TypedTextField<String>protected TypedTextField<String>protected ClassPathScannerprotected DataContextprotected DialogWindowsprotected Messagesprotected BpmnModelerprotected ModelerPropsPanelUiHelperprotected HasAssignmentDetailsprotected UserDetailsHelperprotected JmixComboBox<MethodInfo>protected com.vaadin.flow.component.orderedlayout.VerticalLayoutFields inherited from class io.jmix.flowui.view.StandardDetailViewDEFAULT_ROUTE_PARAM, LOCKED_BEFORE_REFRESH_ATTR_NAME, MODE_PARAM, MODE_READONLY, NEW_ENTITY_ID, READ_ONLY_BEFORE_REFRESH_ATTR_NAME, reloadSaved
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringbuildAssigneeExpression(AssigneeSource assigneeSource, String assigneeValue) protected voidprotected voidprotected StringformFieldToAssigneeExpression(String formField) Transforms form field or process variable of User type to the UserTask assignee expressionprotected Consumer<com.vaadin.flow.component.HasValue.ValueChangeEvent>getValueChangeEventConsumer(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) protected voidhandleAssignmentModelDcChangeForLane(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) protected voidhandleAssignmentModelDcChangeForUserTask(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) voidprotected voidprotected voidcollect process variables with UserDetails typeprotected voidprotected voidprotected voidlistenForAssigneeValueChange(String eventValue) protected voidonAssignableDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) voidonAssigneeProcessVariableLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>, String> event) voidonAssigneeUserProviderLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>, String> event) protected voidonEditCandidateGroupsBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidonEditCandidateUsersBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) voidonUserProviderMethodNameLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<MethodInfo>, MethodInfo> event) voidsetModeler(BpmnModeler modeler) voidsetParentModelElement(HasAssignmentDetails parentModelElement) protected voidupdateAssignmentDetailsModel(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) protected voidMethods inherited from class io.jmix.flowui.view.StandardDetailViewaddAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, closeWithDiscard, closeWithSave, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getEditedEntityOrNull, getLockStatus, getRouteParamName, getSaveNotificationText, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isReloadEdited, isReloadSaved, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, onDetachInternal, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setReloadEdited, setReloadSaved, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEdit, validateViewMethods inherited from class io.jmix.flowui.view.StandardViewinitContentMethods inherited from class io.jmix.flowui.view.ViewaddAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.CompositegetChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.ComponentaddListener, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
- 
Field Details- 
classPathScanner
- 
modelerPropsPanelUiHelper
- 
userDetailsHelper
- 
messages
- 
beanMethodModelHelper
- 
dialogWindows
- 
dataContext
- 
assignmentDetailsDc
- 
assigneeExpressionField
- 
assigneeProcessVariableLookup
- 
candidateGroupsField
- 
candidateUsersField
- 
assigneeUserProviderLookup
- 
userProviderMethodNameLookup
- 
userProviderMethodParamsBox@ViewComponent protected com.vaadin.flow.component.orderedlayout.VerticalLayout userProviderMethodParamsBox
- 
modeler
- 
parentModelElement
 
- 
- 
Constructor Details- 
AssignmentDetailsPropertiesFragmentpublic AssignmentDetailsPropertiesFragment()
 
- 
- 
Method Details- 
setModeler
- 
setParentModelElement
- 
initAssigneeProcessVariableLookupFieldprotected void initAssigneeProcessVariableLookupField()collect process variables with UserDetails type
- 
initAssigneeExpressionFieldprotected void initAssigneeExpressionField()
- 
initUserProviderLookupprotected void initUserProviderLookup()
- 
initFieldsVisibilityprotected void initFieldsVisibility()
- 
onAssignableDcItemPropertyChange@Subscribe(id="assignmentDetailsDc", target=DATA_CONTAINER) protected void onAssignableDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) 
- 
handleAssignmentModelDcChangeForLaneprotected void handleAssignmentModelDcChangeForLane(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) 
- 
handleAssignmentModelDcChangeForUserTaskprotected void handleAssignmentModelDcChangeForUserTask(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) 
- 
onAssigneeProcessVariableLookupComponentValueChange@Subscribe("assigneeProcessVariableLookup") public void onAssigneeProcessVariableLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>, String> event) 
- 
handleMultiInstanceCollectionChangedEvent@EventListener public void handleMultiInstanceCollectionChangedEvent(MultiInstanceCollectionChangedEvent event) 
- 
onEditCandidateGroupsBtnClick@Subscribe("editCandidateGroupsBtn") protected void onEditCandidateGroupsBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) 
- 
candidateGroupsAfterCloseHandlerprotected void candidateGroupsAfterCloseHandler(DialogWindow.AfterCloseEvent<CandidateGroupsEditView> event) 
- 
onEditCandidateUsersBtnClick@Subscribe("editCandidateUsersBtn") protected void onEditCandidateUsersBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) 
- 
candidateUserAfterCloseHandlerprotected void candidateUserAfterCloseHandler(DialogWindow.AfterCloseEvent<CandidateUsersEditView> event) 
- 
onAssigneeUserProviderLookupComponentValueChange@Subscribe("assigneeUserProviderLookup") public void onAssigneeUserProviderLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>, String> event) 
- 
onUserProviderMethodNameLookupComponentValueChange@Subscribe("userProviderMethodNameLookup") public void onUserProviderMethodNameLookupComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<MethodInfo>, MethodInfo> event) 
- 
getValueChangeEventConsumerprotected Consumer<com.vaadin.flow.component.HasValue.ValueChangeEvent> getValueChangeEventConsumer(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) 
- 
updateAssignmentDetailsModelprotected void updateAssignmentDetailsModel(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) 
- 
formFieldToAssigneeExpressionTransforms form field or process variable of User type to the UserTask assignee expression
- 
buildAssigneeExpression
- 
listenForAssigneeValueChange
- 
updateLaneAssignmentDetailsInModelerprotected void updateLaneAssignmentDetailsInModeler()
 
-