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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddReport()Add a report to the objectvoidclearReports()Remove all reports on the objectlonggetReportsCount()Retrieves the number of reports on the objectvoidsetReportsCount(long reportsCount)Sets the number of reports on the object 
 - 
 
- 
- 
Method Detail
- 
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
long getReportsCount()
Retrieves the number of reports on the object- Returns:
 - the number of reports
 
 
 - 
 
 -