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.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 com.vaadin.flow.component.textfield.TextField
protected JmixComboBox<String>
protected JmixComboBox<String>
protected InstanceContainer<AssignmentDetailsModel>
protected BeanMethodModelHelper
protected TypedTextField<String>
protected TypedTextField<String>
protected ClassPathScanner
protected DataContext
protected DialogWindows
protected Messages
protected BpmnModeler
protected ModelerPropsPanelUiHelper
protected HasAssignmentDetails
protected UserDetailsHelper
protected JmixComboBox<MethodInfo>
protected com.vaadin.flow.component.orderedlayout.VerticalLayout
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 String
buildAssigneeExpression
(AssigneeSource assigneeSource, String assigneeValue) protected void
protected void
protected String
formFieldToAssigneeExpression
(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 void
handleAssignmentModelDcChangeForLane
(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) protected void
handleAssignmentModelDcChangeForUserTask
(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) void
protected void
protected void
collect process variables with UserDetails typeprotected void
protected void
protected void
listenForAssigneeValueChange
(String eventValue) protected void
onAssignableDcItemPropertyChange
(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) void
onAssigneeProcessVariableLookupComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>, String> event) void
onAssigneeUserProviderLookupComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<String>, String> event) protected void
onEditCandidateGroupsBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
onEditCandidateUsersBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) void
onUserProviderMethodNameLookupComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixComboBox<MethodInfo>, MethodInfo> event) void
setModeler
(BpmnModeler modeler) void
setParentModelElement
(HasAssignmentDetails parentModelElement) 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
-
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()
-