Package org.ametys.plugins.odfweb.cdmfr
Class WebAmetysCDMfrExtension
java.lang.Object
org.ametys.plugins.odfweb.cdmfr.WebAmetysCDMfrExtension
- All Implemented Interfaces:
CDMfrExtension,Serviceable
Web CDMfr extension for Ametys
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabstractProgram2CDM(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.voidcontainer2CDM(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.voidcourse2CDM(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.voidorgunit2CDM(ContentHandler contentHandler, OrgUnit orgunit) Send the content of an user defined ametys extension to be included in the CDM-fr representation the orgunit.voidperson2CDM(ContentHandler contentHandler, Person person) Send the content of an user defined ametys extension to be included in the CDM-fr representation the orgunit.voidprogram2CDM(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.voidservice(ServiceManager manager)
-
Constructor Details
-
WebAmetysCDMfrExtension
public WebAmetysCDMfrExtension()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
abstractProgram2CDM
public void abstractProgram2CDM(ContentHandler contentHandler, AbstractProgram<? extends ProgramFactory> program, Set<String> persons, Set<String> orgUnits) throws SAXException Description copied from interface:CDMfrExtensionSend the content of an user defined ametys extension to be included in the CDM-fr representation the abstract program.- Specified by:
abstractProgram2CDMin interfaceCDMfrExtension- Parameters:
contentHandler- the receiving contentHandler.program- the abstract program (common for program and subprogram)persons- collectedPersonids.orgUnits- collectedOrgUnitids.- Throws:
SAXException- if an error occurs during CDM processing.
-
program2CDM
public void program2CDM(ContentHandler contentHandler, Program program, Set<String> persons, Set<String> orgUnits) throws SAXException Description copied from interface:CDMfrExtensionSend the content of an user defined ametys extension to be included in the CDM-fr representation the program.- Specified by:
program2CDMin interfaceCDMfrExtension- Parameters:
contentHandler- the receiving contentHandler.program- the programpersons- collectedPersonids.orgUnits- collectedOrgUnitids.- Throws:
SAXException- if an error occurs during CDM processing.
-
course2CDM
public void course2CDM(ContentHandler contentHandler, Course course, Set<String> persons, Set<String> orgUnits) throws SAXException Description copied from interface:CDMfrExtensionSend the content of an user defined ametys extension to be included in the CDM-fr representation the course.- Specified by:
course2CDMin interfaceCDMfrExtension- Parameters:
contentHandler- the receiving contentHandler.course- the coursepersons- collectedPersonids.orgUnits- collectedOrgUnitids.- Throws:
SAXException- if an error occurs during CDM processing.
-
orgunit2CDM
Description copied from interface:CDMfrExtensionSend the content of an user defined ametys extension to be included in the CDM-fr representation the orgunit.- Specified by:
orgunit2CDMin interfaceCDMfrExtension- Parameters:
contentHandler- the receiving contentHandler.orgunit- the orgunit- Throws:
SAXException- if an error occurs during CDM processing.
-
person2CDM
Description copied from interface:CDMfrExtensionSend the content of an user defined ametys extension to be included in the CDM-fr representation the orgunit.- Specified by:
person2CDMin interfaceCDMfrExtension- Parameters:
contentHandler- the receiving contentHandler.person- the orgunit- Throws:
SAXException- if an error occurs during CDM processing.
-
container2CDM
public void container2CDM(ContentHandler contentHandler, Container container, Set<String> persons, Set<String> orgUnits) throws SAXException Description copied from interface:CDMfrExtensionSend the content of an user defined ametys extension to be included in the CDM-fr representation the container.- Specified by:
container2CDMin interfaceCDMfrExtension- Parameters:
contentHandler- the receiving contentHandler.container- the containerpersons- collectedPersonids.orgUnits- collectedOrgUnitids.- Throws:
SAXException- if an error occurs during CDM processing.
-