Interface Mapper

All Known Implementing Classes:
AliasMapper, ApplicationMapper, ApplicationSamlConfigurationEntityMapper, AuditLogMapper, CrowdConfigMapper, CrowdConfigMapper, CrowdPropertiesMapper, CrowdPropertiesMapper, DirectoryMapper, GrantedPermissionMapper, GroupLevelAdminMapper, GroupMapper, MembershipMapper, PropertyMapper, SAMLTrustEntityMapper, UserMapper

public interface Mapper
A Mapper that will handle the import and export of a Domain object, or any object from XML into the datastore and vice-versa.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.dom4j.Element
    Exports to V2 XML.
    void
    importXml(org.dom4j.Element root)
    Imports V2 XML.
  • Method Details

    • exportXml

      org.dom4j.Element exportXml(Map<String,Object> options) throws ExportException
      Exports to V2 XML.
      Parameters:
      options - map of arbitrarty options.
      Returns:
      XML element, or null if you are not mapping
      Throws:
      ExportException - error producing XML.
    • importXml

      void importXml(org.dom4j.Element root) throws ImportException
      Imports V2 XML.
      Parameters:
      root - root XML element.
      Throws:
      ImportException - error importing data.