GenericMapper.Exporter<T>, GenericMapper.Importer<T>GENERIC_XML_ACTIVE, GENERIC_XML_ATTRIBUTE, GENERIC_XML_ATTRIBUTE_NAME, GENERIC_XML_ATTRIBUTE_VALUE, GENERIC_XML_ATTRIBUTES, GENERIC_XML_CREATED_DATE, GENERIC_XML_ID, GENERIC_XML_NAME, GENERIC_XML_UPDATED_DATEDATABASE_DATE_FORMAT, DATE_CONVERTER_FOR_EXPORT, LEGACY_XML_DATE_FORMAT, logger, PLUGIN_KEY_PREFIX| Constructor and Description |
|---|
AuditLogMapper(org.hibernate.SessionFactory sessionFactory,
BatchProcessor batchProcessor,
AuditDao auditDao,
Clock clock,
int batchSize) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAuditLogToXml(AssembledAuditLogChangeset changeset,
org.dom4j.Element directoryRoot) |
org.dom4j.Element |
exportXml(Map<String,Object> options)
Exports to V2 XML.
|
protected AuditLogChangesetEntity |
getChangesetFromXml(org.dom4j.Element changesetElement) |
void |
importXml(org.dom4j.Element root)
Imports V2 XML.
|
exportInternalEntity, exportSingleValuedAttributes, getInternalEntityTemplateFromXml, getSingleValuedAttributesMapFromXmladdEntities, addEntitiesViaMerge, addEntitiesViaReplicate, addEntity, addEntity, addEntityViaMerge, addEntityViaSave, clearSession, exportXml, getAttributeValue, getBoolean, getBoolean, getDateConverterForXml, getDateFromTimestamp, getDirectoryTypeFromLegacyCode, getLong, getNameFromLegacyCode, getOperationTypeFromLegacyPermissionName, getOptionalValue, getSessionFactory, getString, getValue, importXml, setCDATA, setText, setTimestamppublic AuditLogMapper(org.hibernate.SessionFactory sessionFactory,
BatchProcessor batchProcessor,
AuditDao auditDao,
Clock clock,
int batchSize)
public org.dom4j.Element exportXml(Map<String,Object> options) throws ExportException
MapperexportXml in interface Mapperoptions - map of arbitrarty options.ExportException - error producing XML.protected void addAuditLogToXml(AssembledAuditLogChangeset changeset, org.dom4j.Element directoryRoot)
public void importXml(org.dom4j.Element root)
throws ImportException
MapperimportXml in interface Mapperroot - root XML element.ImportException - error importing data.protected AuditLogChangesetEntity getChangesetFromXml(org.dom4j.Element changesetElement)
Copyright © 2022 Atlassian. All rights reserved.