Interface CDMfrExtension

All Known Implementing Classes:
AbstractCDMfrExtension, AmetysCDMfrExtension, GenericCDMfrExtension, WebAmetysCDMfrExtension

public interface CDMfrExtension
Interface for CMDfr extension.
  • Method Details

    • abstractProgram2CDM

      void abstractProgram2CDM(ContentHandler contentHandler, AbstractProgram<? extends ProgramFactory> program, Set<String> persons, Set<String> orgUnits) throws SAXException
      Send the content of an user defined ametys extension to be included in the CDM-fr representation the abstract program.
      Parameters:
      contentHandler - the receiving contentHandler.
      program - the abstract program (common for program and subprogram)
      persons - collected Person ids.
      orgUnits - collected OrgUnit ids.
      Throws:
      SAXException - if an error occurs during CDM processing.
    • program2CDM

      void program2CDM(ContentHandler contentHandler, Program program, Set<String> persons, Set<String> orgUnits) throws SAXException
      Send the content of an user defined ametys extension to be included in the CDM-fr representation the program.
      Parameters:
      contentHandler - the receiving contentHandler.
      program - the program
      persons - collected Person ids.
      orgUnits - collected OrgUnit ids.
      Throws:
      SAXException - if an error occurs during CDM processing.
    • subProgram2CDM

      void subProgram2CDM(ContentHandler contentHandler, SubProgram subProgram, Set<String> persons, Set<String> orgUnits) throws SAXException
      Send the content of an user defined ametys extension to be included in the CDM-fr representation the subProgram.
      Parameters:
      contentHandler - the receiving contentHandler.
      subProgram - the subProgram
      persons - collected Person ids.
      orgUnits - collected OrgUnit ids.
      Throws:
      SAXException - if an error occurs during CDM processing.
    • course2CDM

      void course2CDM(ContentHandler contentHandler, Course course, Set<String> persons, Set<String> orgUnits) throws SAXException
      Send the content of an user defined ametys extension to be included in the CDM-fr representation the course.
      Parameters:
      contentHandler - the receiving contentHandler.
      course - the course
      persons - collected Person ids.
      orgUnits - collected OrgUnit ids.
      Throws:
      SAXException - if an error occurs during CDM processing.
    • orgunit2CDM

      void orgunit2CDM(ContentHandler contentHandler, OrgUnit orgunit) throws SAXException
      Send the content of an user defined ametys extension to be included in the CDM-fr representation the orgunit.
      Parameters:
      contentHandler - the receiving contentHandler.
      orgunit - the orgunit
      Throws:
      SAXException - if an error occurs during CDM processing.
    • person2CDM

      void person2CDM(ContentHandler contentHandler, Person person) throws SAXException
      Send the content of an user defined ametys extension to be included in the CDM-fr representation the orgunit.
      Parameters:
      contentHandler - the receiving contentHandler.
      person - the orgunit
      Throws:
      SAXException - if an error occurs during CDM processing.
    • container2CDM

      void container2CDM(ContentHandler contentHandler, Container container, Set<String> persons, Set<String> orgUnits) throws SAXException
      Send the content of an user defined ametys extension to be included in the CDM-fr representation the container.
      Parameters:
      contentHandler - the receiving contentHandler.
      container - the container
      persons - collected Person ids.
      orgUnits - collected OrgUnit ids.
      Throws:
      SAXException - if an error occurs during CDM processing.