Class CandidateUsersEdit
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.ui.screen.StandardEditor<AssignmentDetailsModel>
io.jmix.bpmui.screen.modeler.properties.candidateusers.CandidateUsersEdit
- All Implemented Interfaces:
ChangeTracker
,EditorScreen<AssignmentDetailsModel>
,FrameOwner
,ReadOnlyAwareScreen
@UiController("bpm_CandidateUsersEdit")
@UiDescriptor("candidate-users-edit.xml")
public class CandidateUsersEdit
extends StandardEditor<AssignmentDetailsModel>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.StandardEditor
StandardEditor.AfterCommitChangesEvent, StandardEditor.BeforeCommitChangesEvent, StandardEditor.InitEntityEvent<E>, StandardEditor.ValidationEvent
Nested classes/interfaces inherited from class io.jmix.ui.screen.Screen
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected BeanMethodModelHelper
protected List<CandidateUsersSource>
protected ComboBox<CandidateUsersSource>
protected ClassPathScanner
protected Metadata
protected ComboBox<MethodInfo>
protected GroupBoxLayout
protected Button
protected CollectionContainer<UserModel>
protected UserRepository
protected SuggestionField<String>
Fields inherited from class io.jmix.ui.screen.StandardEditor
commitActionPerformed, showEnableEditingBtn, showSaveNotification
Fields inherited from interface io.jmix.ui.screen.EditorScreen
ENABLE_EDITING, WINDOW_CLOSE, WINDOW_COMMIT, WINDOW_COMMIT_AND_CLOSE
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addCandidateUser
(String username) protected Consumer<HasValue.ValueChangeEvent>
getValueChangeEventConsumer
(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) protected void
protected void
protected void
protected void
onAssignmentDetailsModelDcItemPropertyChange
(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) protected void
protected void
protected void
void
void
protected void
void
setCandidateUsersSourceList
(List<CandidateUsersSource> candidateUsersSourceList) void
setModeler
(BpmnModeler modeler) void
setParentModelElementBusinessId
(String parentModelElementBusinessId) protected void
updateAssignmentDetailsModel
(String providerBeanName, String methodName, List<BeanMethodParamModel> beanMethodParamModels) protected void
Methods inherited from class io.jmix.ui.screen.StandardEditor
addAfterCommitChangesListener, addBeforeCommitChangesListener, addDefaultCloseAction, addDefaultCommitAction, addDefaultCommitAndCloseAction, addDefaultEnableEditingAction, addInitEntityListener, addValidationEventListener, cancel, closeWithCommit, closeWithDiscard, commit, commitAndClose, commitChanges, disableCommitActions, doNotReloadEditedEntity, enableEditing, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getSaveNotificationCaption, getWindowActionOptional, hasUnsavedChanges, initActions, isCrossFieldValidate, isEntityModifiedInParentContext, isEntityModifiedRecursive, isLocked, isModifiedAfterOpen, isReadOnly, isReadOnlyDueToLock, isShowSaveNotification, onChangeEvent, onPostCommitEvent, preventUnsavedChanges, releaseLock, setCrossFieldValidate, setEntityToEdit, setModifiedAfterOpen, setReadOnly, setShowSaveNotification, setupEntityToEdit, setupLock, setupModifiedTracking, showSaveNotification, validateAdditionalRules, validateScreen, validateUiComponents
Methods inherited from class io.jmix.ui.screen.Screen
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
candidateUsersExpressionField
-
candidateUsersSourceLookup
-
userListProviderLookup
-
userListProviderMethodNameField
-
userListProviderMethodParamsBox
-
classPathScanner
-
usernamesDc
-
usersTable
-
metadata
-
userRepository
-
userSuggestionField
-
usernameAddBtnId
-
beanMethodModelHelper
-
candidateUsersSourceList
-
-
Constructor Details
-
CandidateUsersEdit
public CandidateUsersEdit()
-
-
Method Details
-
setParentModelElementBusinessId
-
setModeler
-
onBeforeShow
-
initUserSuggestionField
protected void initUserSuggestionField() -
addCandidateUser
-
onAssignmentDetailsModelDcItemPropertyChange
@Subscribe(id="assignmentDetailsModelDc", target=DATA_CONTAINER) protected void onAssignmentDetailsModelDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<AssignmentDetailsModel> event) -
initComponentsVisibility
protected void initComponentsVisibility() -
initUserListProviderLookup
protected void initUserListProviderLookup() -
onCandidateUsersExpressionFieldValueChange
@Subscribe("candidateUsersExpressionField") protected void onCandidateUsersExpressionFieldValueChange(HasValue.ValueChangeEvent<String> event) -
onUserListProviderLookupValueChange
@Subscribe("userListProviderLookup") protected void onUserListProviderLookupValueChange(HasValue.ValueChangeEvent<String> event) -
onUserListProviderMethodNameFieldValueChange
@Subscribe("userListProviderMethodNameField") public void onUserListProviderMethodNameFieldValueChange(HasValue.ValueChangeEvent<MethodInfo> event) -
getValueChangeEventConsumer
protected Consumer<HasValue.ValueChangeEvent> 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) -
updateUserCandidatesValue
protected void updateUserCandidatesValue() -
candidateUsersValueToUserList
-
setCandidateUsersSourceList
-
onUsernameAddBtnIdClick
-