Package ch.tocco.nice2.reporting.api
Interface ReportDescription
- All Known Implementing Classes:
EntityReportDescription,LabelReportDescription,ReportContribution
public interface ReportDescription
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic class -
Method Summary
Modifier and TypeMethodDescription@Nullable AfterReportFunctiongetAfterReportFunction(AfterReportFunctionService afterReportFunctionService) getConfirmMessage(TextResources textResources) @Nullable StringbooleangetFilenameSuggestion(TextResources textResources) @Nullable String@Nullable StringgetId()getLabel()@Nullable AppModule@Nullable String@Nullable String@Nullable StringbooleanhasPermission(ReportPermissionService reportPermissionService) booleanbooleanbooleanbooleanbooleanisPublic()booleanbooleanvoid
-
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
AfterReportFunctionis defined) - See Also:
-
isSkippable
boolean isSkippable()- Returns:
- is the
AfterReportFunctionskippable (only applies if anAfterReportFunctionis defined) - See Also:
-
getDefaultValue
boolean getDefaultValue()- Returns:
- should the
AfterReportFunctionbe executed silently, i.e. without notifying the user (only applies if anAfterReportFunctionis 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
ReportResourceWrapperproviding a basic API to theReportManagerto 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
-