Package com.storedobject.ui.tools
Class ManageExternalUsers
java.lang.Object
- All Implemented Interfaces:
Executable,Reentrant,HasLogic,ObjectSetter<SystemUser>,AlertHandler,ObjectChangedListener<SystemUser>,ObjectEditorListener,ObjectProvider<SystemUser>,Transactional,TransactionCreator,ClickHandler,ExecutableView,HasContainer,ValueChangeHandler,com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.ClickEvent<? extends com.vaadin.flow.component.Component>>,com.vaadin.flow.component.HasValue.ValueChangeListener,Serializable,Runnable,EventListener,Consumer<SystemUser>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.storedobject.vaadin.AbstractDataEditor
AbstractDataEditor.DFormNested classes/interfaces inherited from class com.storedobject.vaadin.AbstractDataForm
AbstractDataForm.FieldErrorNested classes/interfaces inherited from interface com.storedobject.vaadin.ClickHandler
ClickHandler.ModifiedClickEvent<C extends com.vaadin.flow.component.Component> -
Field Summary
Fields inherited from class com.storedobject.ui.ObjectEditor
add, audit, buttonPanel, cancel, delete, edit, exit, ledger, print, report, save, searchFields inherited from class com.storedobject.vaadin.AbstractDataForm
form -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidThis method is invoked whenever an instance of the object is set.protected voidThis method is invoked at the time of creating the UI, and this is where extra buttons need t be created to display as extra buttons on theObjectEditor.buttonPanel.protected LinkGrid<?> createLinkFieldGrid(String fieldName, ObjectLinkField<?> field) Typically, "grids" for "link fields" are created automatically.protected intgetFieldOrder(String fieldName) Get the order in which a field to appear in the form.protected booleanincludeField(String fieldName) Check whether field should be included in the form or not.booleanisFieldEditable(String fieldName) This method is invoked to determine if a field needs to be made editable or not.voidCreate (or select if already exists) aFormLayoutinstance as the tab for the editor.Methods inherited from class com.storedobject.ui.ObjectEditor
acceptValueChange, actionAllowed, add, addExtraEditingButtons, addObject, addObject, addObject, addObjectChangedListener, addObjectEditorListener, addValidator, allowedActions, anchorFieldsCreated, anchorsCancelled, anchorsSet, attachField, attachLinkField, canAdd, canAllowAction, canDelete, canEdit, canPostLedger, canSearch, canViewLedger, clean, clicked, create, create, create, create, createFormFieldEditor, createNewInstance, createObjectInstance, customizeLinkField, delete, deleted, deleteObject, deleteObject, doAdd, doAudit, doCancel, doDelete, doEdit, doReport, doSave, doSearch, editingCancelled, editingEnded, editingStarted, editObject, editObject, editObject, enablePrintButtons, executeAnchorForm, executeAnchorForm, extraInfoCreated, extraInfoLoaded, fieldAttached, filterActions, getActionPrefix, getAlertCaption, getAlertIcon, getAnchorField, getAnchorFilter, getApplication, getAttachmentField, getContactField, getContainer, getExtraInfoField, getField, getFieldName, getGrid, getLinkField, getLogic, getObject, getObjectFieldType, getParentLinkType, getParentObject, getSearcher, getTabName, getTransaction, handleAlert, handleValueSetError, initUI, inserted, isBuffered, isDoNotSaveAllowed, isEditing, isReadOnly, isViewOnly, linkFields, postLedger, postLedger, refreshMe, reload, remove, removeObjectChangedListener, removeObjectEditorListener, removeSetNotAllowed, removeValidator, resetAnchor, save, save, saveObject, savingExtraInfo, setAllowDoNotSave, setAnchorFieldReadOnly, setBuffered, setCaption, setColumns, setContactData, setDeleter, setDoNotSave, setEmbeddedView, setExtraInfo, setFieldContainerProvider, setLogic, setNewObjectGenerator, setNoTab, setObject, setParentObject, setRawObject, setSaver, setSearchFilter, setSearchFilter, setSetNotAllowed, setTransactionCreator, skipFirstFocus, trackValueChange, updated, validateAnchorValues, validateData, viewLedger, viewObject, viewObject, viewObject, viewObject, viewObject, viewObject, viewObject, viewObject, viewObject, viewObject, viewObject, viewObject, viewObject, viewObject, viewObject, viewObject, viewObject, viewObjectMethods inherited from class com.storedobject.vaadin.AbstractDataEditor
addField, addField, addField, addField, addField, addField, addField, addField, constructField, createField, customizeField, getDataClass, getFieldCreator, getFieldGetMethod, getFieldNames, getFieldSetMethod, getForm, getObjectClass, isFieldIncluded, newObject, setFixedValue, setFixedValue, setFixedValues, setObjectMethods inherited from class com.storedobject.vaadin.AbstractDataForm
addConstructedListener, addField, addField, addIncludeFieldChecker, addValidator, addValidator, clearAlerts, clearError, clearErrors, clearFields, commit, connect, connect, connect, createButtonLayout, createField, createField, createFieldContainer, createLayout, detachField, fieldDetached, fireFormConstructed, formConstructed, getColumns, getColumnSpan, getContent, getData, getErrorDisplay, getFieldLabel, getFieldLabel, getFieldName, getLabel, isFieldEditable, isFieldVisible, isFieldVisible, load, markError, newLine, removeAll, removeField, removeField, removeField, setColumnSpan, setErrorDisplay, setFieldCustomizer, setFieldEditable, setFieldEditable, setFieldHidden, setFieldHidden, setFieldLabel, setFieldLabel, setFieldReadOnly, setFieldReadOnly, setFieldReadOnly, setFieldReadOnly, setFieldVisible, setFieldVisible, setFieldVisible, setFieldVisible, setIncludeFieldChecker, setReadOnly, setRequired, setRequired, setRequired, setRequired, setRequired, setRequired, setRequired, setRequired, setRequired, streamFieldNamesCreated, streamFieldsCreatedMethods inherited from class com.storedobject.vaadin.View
abort, aborted, addClosedListener, addOpenedListener, close, createCloseableView, createWindow, decorateComponent, execute, execute, execute, executing, focus, focus, focusAny, getCaption, getComponent, getCreatedBy, getEmbeddedView, getMenuItem, getMenuItem, getView, invoke, isFullScreen, isScrollable, isWindowMode, select, setComponent, setCreatedBy, setDefaultPadding, setFirstFocus, setFullScreen, setScrollable, setWindowModeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.storedobject.ui.AlertHandler
handleAlertMethods inherited from interface com.storedobject.vaadin.ClickHandler
clicked, doubleClicked, onComponentEvent, rightClickedMethods inherited from interface com.storedobject.common.Executable
actMethods inherited from interface com.storedobject.vaadin.ExecutableView
abort, clearAlerts, close, createMenuItem, error, execute, getCaption, getMenuIconName, getMenuItem, getView, getView, invoke, isCloseable, isFullScreen, isHomeView, log, log, message, returnedFrom, run, setClickable, speak, tray, valueChanged, warningMethods inherited from interface com.storedobject.ui.ObjectChangedListener
saved, undeletedMethods inherited from interface com.storedobject.ui.ObjectProvider
getObjectClass, getObjectIdMethods inherited from interface com.storedobject.core.ObjectSetter
accept, getObjectClass, isAllowAny, setObjectMethods inherited from interface com.storedobject.common.Reentrant
isReentrantMethods inherited from interface com.storedobject.ui.Transactional
commit, execute, getTransactionManager, run, transact, transact, transactControl, transactControl, transactControl, transactControlMethods inherited from interface com.storedobject.vaadin.ValueChangeHandler
valueChanged
-
Constructor Details
-
ManageExternalUsers
public ManageExternalUsers()
-
-
Method Details
-
extraLinks
- Overrides:
extraLinksin classObjectEditor<SystemUser>
-
setTab
Description copied from class:ObjectEditorCreate (or select if already exists) aFormLayoutinstance as the tab for the editor. If this method is ever invoked while creating the editor, the editor will become a multi-tabbed editor. If you call this method after the editor is constructed, it will select the tab if one exists. All further fields added to the editor will go to the currently selected tab.- Overrides:
setTabin classObjectEditor<SystemUser>- Parameters:
tabName- The tab name for whichFormLayoutneeds to be created or selected. Null or empty tab names will be ignored.
-
getFieldOrder
Description copied from class:AbstractDataEditorGet the order in which a field to appear in the form. Any integer value can be returned and the field is placed in the form in ascending order of the values returned by this method. Default implementation try to obtain the value from the "field creator" (ObjectFieldCreator.getFieldOrder(String)).- Overrides:
getFieldOrderin classAbstractDataEditor<SystemUser>- Parameters:
fieldName- Name of the field- Returns:
- Field order.
-
includeField
Description copied from class:AbstractDataEditorCheck whether field should be included in the form or not.- Overrides:
includeFieldin classAbstractDataEditor<SystemUser>- Parameters:
fieldName- Name of the field.- Returns:
- True or false. (Default return value is
true).
-
isFieldEditable
Description copied from class:AbstractDataFormThis method is invoked to determine if a field needs to be made editable or not.- Overrides:
isFieldEditablein classObjectEditor<SystemUser>- Parameters:
fieldName- Name of the field- Returns:
- True or false.
-
createExtraButtons
protected void createExtraButtons()Description copied from class:ObjectEditorThis method is invoked at the time of creating the UI, and this is where extra buttons need t be created to display as extra buttons on theObjectEditor.buttonPanel.- Overrides:
createExtraButtonsin classObjectEditor<SystemUser>
-
addExtraButtons
protected void addExtraButtons()Description copied from class:ObjectEditorThis method is invoked whenever an instance of the object is set. Typically, "extra buttons" can be added to theObjectEditor.buttonPanelby examining the object instance value.- Overrides:
addExtraButtonsin classObjectEditor<SystemUser>
-
createLinkFieldGrid
Description copied from class:ObjectEditorTypically, "grids" for "link fields" are created automatically. However, this method can be overridden to create customized link grids.- Overrides:
createLinkFieldGridin classObjectEditor<SystemUser>- Parameters:
fieldName- Field for which grid to be created.field- Field.- Returns:
- Grid for the link field. A null may be returned so that the default grid will be automatically created.
-