Package org.ametys.cms.repository
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 TypeMethodDescriptionvoidAdd a report to the objectvoidRemove all reports on the objectlongRetrieves the number of reports on the objectvoidsetReportsCount(long reportsCount) Sets the number of reports on the object
-
Method Details
-
addReport
void addReport()Add a report to the object -
setReportsCount
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
long getReportsCount()Retrieves the number of reports on the object- Returns:
- the number of reports
-