Class ReportMetadataLight

    • Field Detail

      • TYPE_CSV

        public static final int TYPE_CSV
        The output is a CSV text file.
        See Also:
        Constant Field Values
      • TYPE_HTML

        public static final int TYPE_HTML
        The output is an HTML text file.
        See Also:
        Constant Field Values
      • TYPE_XLSX

        public static final int TYPE_XLSX
        The output is a XLSX spreadsheet.
        See Also:
        Constant Field Values
      • TYPE_OTHER

        public static final int TYPE_OTHER
        Other type of report but CSV, XLSX, HTML or PDF.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ReportMetadataLight

        public ReportMetadataLight​(long id,
                                   String name,
                                   String description,
                                   boolean enabled,
                                   int type)
    • Method Detail

      • getId

        public long getId()
      • setId

        public void setId​(long id)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • isEnabled

        public Boolean isEnabled()
      • setEnabled

        public void setEnabled​(Boolean enabled)
      • getType

        public int getType()
      • setType

        public void setType​(int type)
      • getTypeAsString

        public static String getTypeAsString​(Integer type)
      • getMimeTypeForReport

        public static String getMimeTypeForReport​(int reportType)