Class GenerateReportConfig

java.lang.Object
ch.tocco.nice2.reporting.api.action.GenerateReportConfig

public class GenerateReportConfig extends Object
Bean class holding parameters for report generation from client (GUI)
  • Constructor Details

    • GenerateReportConfig

      public GenerateReportConfig()
  • Method Details

    • getSelection

      @Nullable public @Nullable EntityExplorerActionSelection getSelection()
    • getLanguage

      public String getLanguage()
    • getReportId

      public String getReportId()
    • getTemplateLocation

      @Nullable public @Nullable String getTemplateLocation()
    • getFileName

      public String getFileName()
    • isSkipAfterReportFunction

      public boolean isSkipAfterReportFunction()
    • isRemoveLogos

      public boolean isRemoveLogos()
    • getArchiveType

      public String getArchiveType()
    • getRebindValues

      @Nullable public @Nullable RebindValue[] getRebindValues()
    • getKeys

      @Nullable public @Nullable String[] getKeys()
    • getEntityModelName

      @Nullable public @Nullable String getEntityModelName()
    • setSelection

      public void setSelection(@Nullable @Nullable EntityExplorerActionSelection selection)
    • setLanguage

      public void setLanguage(String language)
    • setReportId

      public void setReportId(String reportId)
    • setTemplateLocation

      public void setTemplateLocation(@Nullable @Nullable String templateLocation)
    • setFileName

      public void setFileName(String fileName)
    • setSkipAfterReportFunction

      public void setSkipAfterReportFunction(boolean skipAfterReportFunction)
    • setArchiveType

      public void setArchiveType(String archiveType)
    • setRemoveLogos

      public void setRemoveLogos(boolean removeLogos)
    • setRebindValues

      public void setRebindValues(@Nullable @Nullable RebindValue[] rebindValues)
    • setKeys

      public void setKeys(@Nullable @Nullable String[] keys)
    • setEntityModelName

      public void setEntityModelName(@Nullable @Nullable String entityModelName)
    • getRecipientPaths

      @Nullable public @Nullable String[] getRecipientPaths()
    • setRecipientPaths

      public void setRecipientPaths(@Nullable @Nullable String[] recipientPaths)
    • getUsers

      @Nullable public @Nullable String[] getUsers()
    • setUsers

      public void setUsers(@Nullable @Nullable String[] users)
    • hasRecipients

      public boolean hasRecipients()
    • getCorporateDesign

      public String getCorporateDesign()
    • setCorporateDesign

      public void setCorporateDesign(String corporateDesign)
    • setCustomAttribute

      public void setCustomAttribute(String key, Object value)
      Set a custom attribute that may be used in the report template. Note that the value should not be or contain an Entity as the report may be generated in a different Context.
      Parameters:
      key - attribute name
      value - attribute value
    • getCustomAttributes

      @Nullable public @Nullable Map<String,Object> getCustomAttributes()