Interface ReportableObject

All Known Implementing Classes:
AbstractProgram, AbstractProgramPart, AbstractTraversableProgramPart, Comment, Container, Course, CourseList, CoursePart, DefaultContent, DefaultSharedContent, DefaultWebContent, DefaultWorkflowAwareContent, ModifiableDefaultContent, ModifiableDefaultWebContent, OrgUnit, Person, Program, SubProgram

public interface ReportableObject
Interface to handle reports on object
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Add a report to the object
    void
    Remove all reports on the object
    long
    Retrieves the number of reports on the object
    void
    setReportsCount(long reportsCount)
    Sets the number of reports on the object
  • Method Details

    • addReport

      void addReport()
      Add a report to the object
    • setReportsCount

      void setReportsCount(long reportsCount)
      Sets the number of reports on the object
      Parameters:
      reportsCount - the number of reports to set
    • clearReports

      void clearReports()
      Remove all reports on the object
    • getReportsCount

      Retrieves the number of reports on the object
      Returns:
      the number of reports