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,ChangeTracker,DetailView<AssignmentDetailsModel>,ReadOnlyAwareView,Serializable
@ViewController("bpm_AssignmentDetailsPropertiesFragment")
@ViewDescriptor("assignment-details-properties-fragment.xml")
public class AssignmentDetailsPropertiesFragment
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 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.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 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.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
-
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
-
AssignmentDetailsPropertiesFragment
public AssignmentDetailsPropertiesFragment()
-
-
Method Details
-
setModeler
-
setParentModelElement
-
initAssigneeProcessVariableLookupField
protected void initAssigneeProcessVariableLookupField()collect process variables with UserDetails type -
initAssigneeExpressionField
protected void initAssigneeExpressionField() -
initUserProviderLookup
protected void initUserProviderLookup() -
initFieldsVisibility
protected void initFieldsVisibility() -
onAssignableDcItemPropertyChange
@Subscribe(id="assignmentDetailsDc", target=DATA_CONTAINER) protected void onAssignableDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) -
handleAssignmentModelDcChangeForLane
protected void handleAssignmentModelDcChangeForLane(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) -
handleAssignmentModelDcChangeForUserTask
protected 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) -
candidateGroupsAfterCloseHandler
protected void candidateGroupsAfterCloseHandler(DialogWindow.AfterCloseEvent<CandidateGroupsEditView> event) -
onEditCandidateUsersBtnClick
@Subscribe("editCandidateUsersBtn") protected void onEditCandidateUsersBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
candidateUserAfterCloseHandler
protected 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) -
getValueChangeEventConsumer
protected Consumer<com.vaadin.flow.component.HasValue.ValueChangeEvent> getValueChangeEventConsumer(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) -
updateAssignmentDetailsModel
protected void updateAssignmentDetailsModel(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) -
formFieldToAssigneeExpression
Transforms form field or process variable of User type to the UserTask assignee expression -
buildAssigneeExpression
-
listenForAssigneeValueChange
-
updateLaneAssignmentDetailsInModeler
protected void updateLaneAssignmentDetailsInModeler()
-