Package ch.tocco.nice2.reporting.api
Interface ReportDescription
- All Known Implementing Classes:
EntityReportDescription
,LabelReportDescription
,ReportContribution
public interface ReportDescription
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static class
-
Method Summary
Modifier and TypeMethodDescription@Nullable AfterReportFunction
getAfterReportFunction
(AfterReportFunctionService afterReportFunctionService) getConfirmMessage
(TextResources textResources) @Nullable String
boolean
getFilenameSuggestion
(TextResources textResources) @Nullable String
@Nullable String
getId()
getLabel()
@Nullable AppModule
@Nullable String
@Nullable String
@Nullable String
boolean
hasPermission
(ReportPermissionService reportPermissionService) boolean
boolean
boolean
boolean
boolean
isPublic()
boolean
boolean
void
-
Method Details
-
getId
String getId() -
getLabel
String getLabel() -
getDescription
String getDescription() -
getAfterReportFunction
@Nullable @Nullable AfterReportFunction getAfterReportFunction(AfterReportFunctionService afterReportFunctionService) - Returns:
- an optional function to be executed after the report was generated
- See Also:
-
getReportDataModifierId
-
getConfirmMessage
- Parameters:
textResources
-TextResources
- Returns:
- an optional confirm message textresource key to be displayed (only applies if an
AfterReportFunction
is defined) - See Also:
-
isSkippable
boolean isSkippable()- Returns:
- is the
AfterReportFunction
skippable (only applies if anAfterReportFunction
is defined) - See Also:
-
getDefaultValue
boolean getDefaultValue()- Returns:
- should the
AfterReportFunction
be executed silently, i.e. without notifying the user (only applies if anAfterReportFunction
is defined) - See Also:
-
isHideLogoCheckbox
boolean isHideLogoCheckbox()- Returns:
- true to hide the logo checkbox in the report action (GUI)
- See Also:
-
isEnableLogoCheckbox
boolean isEnableLogoCheckbox()- Returns:
- true to initialize the logo checkbox checked (GUI)
- See Also:
-
getPathToDefaultOutputLanguage
- Returns:
- the optional path to default output language or null
-
getDefaultArchiveType
-
getReportResourceWrapper
ReportResourceWrapper getReportResourceWrapper()- Returns:
- a
ReportResourceWrapper
providing a basic API to theReportManager
to work on the template resource
-
getModule
-
getFilenameSuggestion
- Parameters:
textResources
-TextResources
- Returns:
- a filename suggestion for the GUI
-
getFileFormat
String getFileFormat() -
hasPermission
-
getRecipientConfig
Map<String,ReportDescription.RecipientConfig> getRecipientConfig() -
isPersonalizedOnly
boolean isPersonalizedOnly() -
isSplitBaseData
boolean isSplitBaseData() -
getReportLayout
Optional<ReportLayout> getReportLayout()- Returns:
- a ReportLayout config object (or Optional.empty())
-
getGroupingPath
-
getOrderBy
-
getGroupOrderBy
-
ignoreSelection
boolean ignoreSelection() -
isPublic
boolean isPublic() -
reload
-