public class CourseInputData extends AbstractLogEnabled implements InputData, Contextualizable, Initializable, Serviceable
InputData for SAXing the list of programs having the current course among their courseLists| Modifier and Type | Field and Description | 
|---|---|
| protected AmetysObjectResolver | _ametysResolverThe ametys object resolver. | 
| protected Context | _contextAvalon context. | 
| private boolean | _isActiveConfiguration boolean to active or not the inputdata | 
| protected OdfPageHandler | _odfPageHandlerThe root handler | 
| protected OdfReferenceTableHelper | _odfRefTableHelperThe ODF reference table helper | 
| protected SiteManager | _siteManagerCMS Sites manager | 
| Constructor and Description | 
|---|
| CourseInputData() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | contextualize(Context context) | 
| void | initialize() | 
| boolean | isCacheable(Site site,
           Page page)Returns true if this  InputDatais cacheable for the current site and if possible page. | 
| void | saxProgram(Program program,
          ContentHandler contentHandler)SAX a program. | 
| void | service(ServiceManager manager) | 
| void | toSAX(ContentHandler handler)Generates SAX events for providing data. | 
getLogger, setLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldBeCachedprotected AmetysObjectResolver _ametysResolver
protected SiteManager _siteManager
protected OdfPageHandler _odfPageHandler
protected OdfReferenceTableHelper _odfRefTableHelper
private boolean _isActive
public CourseInputData()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionpublic void initialize() throws Exception
initialize in interface InitializableExceptionpublic boolean isCacheable(Site site, Page page)
InputDataInputData is cacheable for the current site and if possible page.isCacheable in interface InputDatasite - the current Site.page - the current Page. Can be null.InputData is cacheable for the current site or page.public void toSAX(ContentHandler handler) throws SAXException, ProcessingException
InputDatatoSAX in interface InputDatahandler - the content handler to SAX into.SAXException - if an error occurs while SAXing.ProcessingException - if an error occurs during processing.public void saxProgram(Program program, ContentHandler contentHandler) throws SAXException, IOException
program - The program to SAX.contentHandler - the content handlerSAXException - If an error occurs while SAXingIOException - If an error occurs while retrieving content.