public class ApplicationSamlConfigurationEntityMapper extends GenericMapper implements Mapper
ApplicationSamlConfigurationEntity
GenericMapper.Exporter<T>, GenericMapper.Importer<T>
Modifier and Type | Field and Description |
---|---|
static String |
APPLICATION_SAML_CFG_XML_ACSU |
static String |
APPLICATION_SAML_CFG_XML_AUDIENCE |
static String |
APPLICATION_SAML_CFG_XML_ENABLED |
static String |
APPLICATION_SAML_CFG_XML_ID |
static String |
APPLICATION_SAML_CFG_XML_NODE |
static String |
APPLICATION_SAML_CFGS_XML_ROOT |
DATABASE_DATE_FORMAT, DATE_CONVERTER_FOR_EXPORT, LEGACY_XML_DATE_FORMAT, logger, PLUGIN_KEY_PREFIX
Constructor and Description |
---|
ApplicationSamlConfigurationEntityMapper(org.hibernate.SessionFactory sessionFactory,
BatchProcessor batchProcessor,
ApplicationSamlConfigurationDAO applicationSamlConfigurationDAO,
ApplicationDAO applicationDAO) |
Modifier and Type | Method and Description |
---|---|
protected void |
addConfigToXml(org.dom4j.Element xml,
ApplicationSamlConfigurationEntity config) |
org.dom4j.Element |
exportXml(Map<String,Object> options)
Exports to V2 XML.
|
void |
importXml(org.dom4j.Element root)
Imports V2 XML.
|
addEntities, addEntitiesViaMerge, addEntitiesViaReplicate, addEntity, addEntity, addEntityViaMerge, addEntityViaSave, clearSession, exportXml, getAttributeValue, getBoolean, getBoolean, getDateConverterForXml, getDateFromTimestamp, getDirectoryTypeFromLegacyCode, getLong, getNameFromLegacyCode, getOperationTypeFromLegacyPermissionName, getOptionalValue, getSessionFactory, getString, getValue, importXml, setCDATA, setText, setTimestamp
public static final String APPLICATION_SAML_CFGS_XML_ROOT
public static final String APPLICATION_SAML_CFG_XML_NODE
public static final String APPLICATION_SAML_CFG_XML_ID
public static final String APPLICATION_SAML_CFG_XML_ENABLED
public static final String APPLICATION_SAML_CFG_XML_AUDIENCE
public static final String APPLICATION_SAML_CFG_XML_ACSU
public ApplicationSamlConfigurationEntityMapper(org.hibernate.SessionFactory sessionFactory, BatchProcessor batchProcessor, ApplicationSamlConfigurationDAO applicationSamlConfigurationDAO, ApplicationDAO applicationDAO)
public org.dom4j.Element exportXml(Map<String,Object> options) throws ExportException
Mapper
exportXml
in interface Mapper
options
- map of arbitrarty options.ExportException
- error producing XML.protected void addConfigToXml(org.dom4j.Element xml, ApplicationSamlConfigurationEntity config)
public void importXml(org.dom4j.Element root) throws ImportException
Mapper
importXml
in interface Mapper
root
- root XML element.ImportException
- error importing data.Copyright © 2019 Atlassian. All rights reserved.