Class ReportingGatewayHook

    • Constructor Detail

      • ReportingGatewayHook

        public ReportingGatewayHook()
    • Method Detail

      • get

        public static ReportingGatewayHook get()
        Statically retrieves the hook from within a wicket request cycle
      • startup

        public void startup​(LicenseState licenseState)
        Description copied from interface: GatewayModuleHook
        Called to initialize the module. Will only be called once. Persistence interface is available, but only in read-only mode.
      • shutdown

        public void shutdown()
        Description copied from interface: GatewayModuleHook
        Called to shutdown this module. Note that this instance will never be started back up - a new one will be created if a restart is desired
      • getReportData

        public ReportExecutionData getReportData​(java.lang.String projectName,
                                                 java.lang.String reportPath,
                                                 ReportDataConfiguration dataConfig,
                                                 java.util.Map<java.lang.String,​java.lang.Object> parameters,
                                                 boolean sampleData,
                                                 ReportExecutionContext execContext)
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getReportData

        public ReportExecutionData getReportData​(java.lang.String projectName,
                                                 java.lang.String reportPath,
                                                 ReportDataConfiguration dataConfig,
                                                 java.util.Map<java.lang.String,​java.lang.Object> parameters,
                                                 java.util.Map<java.lang.String,​java.lang.Object> extraConfigs,
                                                 boolean sampleData,
                                                 ReportExecutionContext execContext)
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setup

        public void setup​(GatewayContext context)
        Description copied from interface: GatewayModuleHook
        Called to before startup. This is the chance for the module to add its extension points and update persistent records and schemas. None of the managers will be started up at this point, but the extension point managers will accept extension point types.
      • mountRouteHandlers

        public void mountRouteHandlers​(RouteGroup routes)
        Description copied from interface: GatewayModuleHook
        Provides a chance for the module to mount any route handlers it wants. These will be active at /main/data/module-id/* See RouteGroup for details. Will be called after startup().
      • getMountPathAlias

        public java.util.Optional<java.lang.String> getMountPathAlias()
        Description copied from interface: GatewayModuleHook
        Used by the mounting underneath /main/res/module-id/* and /main/data/module-id/* as an alternate mounting path instead of your module id, if present.
      • getMountedResourceFolder

        public java.util.Optional<java.lang.String> getMountedResourceFolder()
        Returns:
        the path to a folder in one of the module's gateway jar files that should be mounted at /main/res/module-id/foldername
      • getStatusOverviewContributor

        public java.util.Optional<OverviewContributor> getStatusOverviewContributor()
        Description copied from interface: GatewayModuleHook
        Implement this method to contribute meta data to the Status section's Systems / Overview page.
      • getLicenseEdition

        public java.lang.String getLicenseEdition()
      • getLimitedReportCount

        public int getLimitedReportCount()
      • isTrialMode

        public boolean isTrialMode()
      • isTrialExpired

        public boolean isTrialExpired()