Class ReportEditor
- All Implemented Interfaces:
ChangeTracker
,EditorScreen<Report>
,FrameOwner
,ReadOnlyAwareScreen
@UiController("report_Report.edit")
@UiDescriptor("report-edit.xml")
public class ReportEditor
extends StandardEditor<Report>
-
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 Actions
protected CollectionContainer<BandDefinition>
protected BandDefinitionEditor
protected CollectionContainer<BandDefinition>
protected Tree<BandDefinition>
protected DataContext
protected CollectionContainer<DataSet>
protected Dialogs
protected ReportEditGeneralFragment
protected CollectionContainer<ReportGroup>
protected MessageBundle
protected Metadata
protected MetadataTools
protected Notifications
protected CollectionContainer<ReportInputParameter>
protected PolicyStore
protected InstanceContainer<Report>
protected ReportsClientProperties
protected CollectionContainer<ReportScreen>
protected ReportsPersistence
protected ReportsSerialization
static final String
protected ScreenBuilders
protected Screens
protected ScreenValidation
protected SecureOperations
protected CollectionContainer<ReportTemplate>
protected UiComponents
protected UiProperties
protected GroupBoxLayout
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
protected void
checkForNameDuplication
(ValidationErrors errors, com.google.common.collect.Multimap<String, BandDefinition> names) commitDelegate
(SaveContext saveContext) protected BandDefinition
createRootBandDefinition
(Report report) protected String
protected void
protected boolean
protected void
onAfterInit
(Screen.AfterInitEvent event) void
onAfterShow
(Screen.AfterShowEvent event) protected void
protected void
protected void
onRunClick
(Button.ClickEvent event) protected void
protected void
protected void
setValidationScriptGroupBoxCaption
(Boolean onOffFlag) protected void
validateBand
(ValidationErrors errors, BandDefinition band, com.google.common.collect.Multimap<String, BandDefinition> names) protected void
validateBands
(ValidationErrors validationErrors) protected boolean
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, getWindowActionOptional, hasUnsavedChanges, initActions, isCrossFieldValidate, isEntityModifiedInParentContext, isEntityModifiedRecursive, isLocked, isModifiedAfterOpen, isReadOnly, isReadOnlyDueToLock, isShowSaveNotification, isUiListComponentsValidationEnabled, 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, isScreenAction, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
Field Details
-
ROOT_BAND
- See Also:
-
bandEditor
-
bandsTree
-
validationScriptGroupBox
@Named("parametersFragment.validationScriptGroupBox") protected GroupBoxLayout validationScriptGroupBox -
reportDc
-
groupsDc
-
parametersDc
-
reportScreensDc
-
dataSetsDc
-
templatesDc
-
uiComponents
-
reportsPersistence
-
reportsSerialization
-
bandsDc
-
availableParentBandsDc
-
metadata
-
metadataTools
-
secureOperations
-
policyStore
-
uiProperties
-
notifications
-
dialogs
-
screenBuilders
-
screens
-
actions
-
generalFragment
-
screenValidation
-
reportsClientProperties
-
dataContext
-
messageBundle
-
-
Constructor Details
-
ReportEditor
public ReportEditor()
-
-
Method Details
-
initNewItem
-
createRootBandDefinition
-
onAfterShow
-
getSaveNotificationCaption
- Overrides:
getSaveNotificationCaption
in classStandardEditor<Report>
-
setScreenCaption
protected void setScreenCaption() -
onAfterInit
-
commitDelegate
-
onRunClick
-
onValidation
-
validateBands
-
isUpdatePermitted
protected boolean isUpdatePermitted() -
validateInputOutputFormats
protected boolean validateInputOutputFormats() -
onBeforeCommit
-
addCommitListeners
protected void addCommitListeners() -
checkForNameDuplication
protected void checkForNameDuplication(ValidationErrors errors, com.google.common.collect.Multimap<String, BandDefinition> names) -
validateBand
protected void validateBand(ValidationErrors errors, BandDefinition band, com.google.common.collect.Multimap<String, BandDefinition> names) -
onReportDcItemPropertyChange
@Subscribe(id="reportDc", target=DATA_CONTAINER) protected void onReportDcItemPropertyChange(InstanceContainer.ItemPropertyChangeEvent<Report> event) -
setValidationScriptGroupBoxCaption
-