Package org.ametys.cms.repository
Interface ReportableObject
- All Known Implementing Classes:
AbstractComment
,AbstractProgram
,AbstractProgramPart
,AbstractTraversableProgramPart
,Comment
,Container
,Course
,CourseList
,CoursePart
,DefaultContent
,DefaultSharedContent
,DefaultWebContent
,DefaultWorkflowAwareContent
,ModifiableDefaultContent
,ModifiableDefaultWebContent
,OrgUnit
,Person
,Program
,RichTextComment
,SubProgram
public interface ReportableObject
Interface to handle reports on object
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a report to the objectvoid
Remove all reports on the objectlong
Retrieves the number of reports on the objectvoid
setReportsCount
(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
-