Class EntityReportDescription
java.lang.Object
ch.tocco.nice2.reporting.impl.description.EntityReportDescription
- All Implemented Interfaces:
ReportDescription
- Direct Known Subclasses:
LabelReportDescription
-
Nested Class Summary
Nested classes/interfaces inherited from interface ReportDescription
ReportDescription.PlacementConfig, ReportDescription.RecipientConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAfterReportFunction(AfterReportFunctionService afterReportFunctionService) getConfirmMessage(TextResources textResources) @Nullable StringbooleangetFilenameSuggestion(TextResources textResources) @Nullable StringgetId()getLabel()@Nullable StringbooleanhasPermission(ReportPermissionService reportPermissionService) booleanbooleanbooleanbooleanbooleanisPublic()booleanbooleanvoid
-
Constructor Details
-
EntityReportDescription
-
-
Method Details
-
getReportEntity
-
getId
- Specified by:
getIdin interfaceReportDescription
-
getLabel
- Specified by:
getLabelin interfaceReportDescription
-
getDescription
- Specified by:
getDescriptionin interfaceReportDescription
-
getAfterReportFunction
public AfterReportFunction getAfterReportFunction(AfterReportFunctionService afterReportFunctionService) - Specified by:
getAfterReportFunctionin interfaceReportDescription- Returns:
- an optional function to be executed after the report was generated
- See Also:
-
getReportDataModifierId
- Specified by:
getReportDataModifierIdin interfaceReportDescription
-
getConfirmMessage
- Specified by:
getConfirmMessagein interfaceReportDescription- Parameters:
textResources-TextResources- Returns:
- an optional confirm message textresource key to be displayed (only applies if an
AfterReportFunctionis defined) - See Also:
-
isSkippable
public boolean isSkippable()- Specified by:
isSkippablein interfaceReportDescription- Returns:
- is the
AfterReportFunctionskippable (only applies if anAfterReportFunctionis defined) - See Also:
-
getDefaultValue
public boolean getDefaultValue()- Specified by:
getDefaultValuein interfaceReportDescription- Returns:
- should the
AfterReportFunctionbe executed silently, i.e. without notifying the user (only applies if anAfterReportFunctionis defined) - See Also:
-
isHideLogoCheckbox
public boolean isHideLogoCheckbox()- Specified by:
isHideLogoCheckboxin interfaceReportDescription- Returns:
- true to hide the logo checkbox in the report action (GUI)
- See Also:
-
isEnableLogoCheckbox
public boolean isEnableLogoCheckbox()- Specified by:
isEnableLogoCheckboxin interfaceReportDescription- Returns:
- true to initialize the logo checkbox checked (GUI)
- See Also:
-
getPathToDefaultOutputLanguage
- Specified by:
getPathToDefaultOutputLanguagein interfaceReportDescription- Returns:
- the optional path to default output language or null
-
getDefaultArchiveType
- Specified by:
getDefaultArchiveTypein interfaceReportDescription
-
getReportResourceWrapper
- Specified by:
getReportResourceWrapperin interfaceReportDescription- Returns:
- a
ReportResourceWrapperproviding a basic API to theReportManagerto work on the template resource
-
getModule
- Specified by:
getModulein interfaceReportDescription
-
getFilenameSuggestion
- Specified by:
getFilenameSuggestionin interfaceReportDescription- Parameters:
textResources-TextResources- Returns:
- a filename suggestion for the GUI
-
getFileFormat
- Specified by:
getFileFormatin interfaceReportDescription
-
hasPermission
- Specified by:
hasPermissionin interfaceReportDescription
-
getRecipientConfig
- Specified by:
getRecipientConfigin interfaceReportDescription
-
isPersonalizedOnly
public boolean isPersonalizedOnly()- Specified by:
isPersonalizedOnlyin interfaceReportDescription
-
isSplitBaseData
public boolean isSplitBaseData()- Specified by:
isSplitBaseDatain interfaceReportDescription
-
getGroupingPath
- Specified by:
getGroupingPathin interfaceReportDescription
-
getOrderBy
- Specified by:
getOrderByin interfaceReportDescription
-
getGroupOrderBy
- Specified by:
getGroupOrderByin interfaceReportDescription
-
ignoreSelection
public boolean ignoreSelection()- Specified by:
ignoreSelectionin interfaceReportDescription
-
getReportLayout
- Specified by:
getReportLayoutin interfaceReportDescription- Returns:
- a ReportLayout config object (or Optional.empty())
-
isPublic
public boolean isPublic()- Specified by:
isPublicin interfaceReportDescription
-
getSettingsEntityName
-
reload
- Specified by:
reloadin interfaceReportDescription
-