public class WebAmetysCDMfrExtension extends Object implements CDMfrExtension, Serviceable
| Modifier and Type | Field and Description |
|---|---|
private OdfPageResolver |
_odfPageResolver |
private SiteManager |
_siteManager |
| Constructor and Description |
|---|
WebAmetysCDMfrExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
abstractProgram2CDM(ContentHandler contentHandler,
AbstractProgram<? extends ProgramFactory> program,
Set<String> persons,
Set<String> orgUnits)
Send the content of an user defined ametys extension to be included in the CDM-fr representation the abstract program.
|
void |
container2CDM(ContentHandler contentHandler,
Container container,
Set<String> persons,
Set<String> orgUnits)
Send the content of an user defined ametys extension to be included in the CDM-fr representation the container.
|
void |
course2CDM(ContentHandler contentHandler,
Course course,
Set<String> persons,
Set<String> orgUnits)
Send the content of an user defined ametys extension to be included in the CDM-fr representation the course.
|
void |
orgunit2CDM(ContentHandler contentHandler,
OrgUnit orgunit)
Send the content of an user defined ametys extension to be included in the CDM-fr representation the orgunit.
|
void |
person2CDM(ContentHandler contentHandler,
Person person)
Send the content of an user defined ametys extension to be included in the CDM-fr representation the orgunit.
|
void |
program2CDM(ContentHandler contentHandler,
Program program,
Set<String> persons,
Set<String> orgUnits)
Send the content of an user defined ametys extension to be included in the CDM-fr representation the program.
|
void |
service(ServiceManager manager) |
private OdfPageResolver _odfPageResolver
private SiteManager _siteManager
public WebAmetysCDMfrExtension()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic void abstractProgram2CDM(ContentHandler contentHandler, AbstractProgram<? extends ProgramFactory> program, Set<String> persons, Set<String> orgUnits) throws SAXException
CDMfrExtensionabstractProgram2CDM in interface CDMfrExtensioncontentHandler - the receiving contentHandler.program - the abstract program (common for program and subprogram)persons - collected Person ids.orgUnits - collected OrgUnit ids.SAXException - if an error occurs during CDM processing.public void program2CDM(ContentHandler contentHandler, Program program, Set<String> persons, Set<String> orgUnits) throws SAXException
CDMfrExtensionprogram2CDM in interface CDMfrExtensioncontentHandler - the receiving contentHandler.program - the programpersons - collected Person ids.orgUnits - collected OrgUnit ids.SAXException - if an error occurs during CDM processing.public void course2CDM(ContentHandler contentHandler, Course course, Set<String> persons, Set<String> orgUnits) throws SAXException
CDMfrExtensioncourse2CDM in interface CDMfrExtensioncontentHandler - the receiving contentHandler.course - the coursepersons - collected Person ids.orgUnits - collected OrgUnit ids.SAXException - if an error occurs during CDM processing.public void orgunit2CDM(ContentHandler contentHandler, OrgUnit orgunit) throws SAXException
CDMfrExtensionorgunit2CDM in interface CDMfrExtensioncontentHandler - the receiving contentHandler.orgunit - the orgunitSAXException - if an error occurs during CDM processing.public void person2CDM(ContentHandler contentHandler, Person person) throws SAXException
CDMfrExtensionperson2CDM in interface CDMfrExtensioncontentHandler - the receiving contentHandler.person - the orgunitSAXException - if an error occurs during CDM processing.public void container2CDM(ContentHandler contentHandler, Container container, Set<String> persons, Set<String> orgUnits) throws SAXException
CDMfrExtensioncontainer2CDM in interface CDMfrExtensioncontentHandler - the receiving contentHandler.container - the containerpersons - collected Person ids.orgUnits - collected OrgUnit ids.SAXException - if an error occurs during CDM processing.