public class VersionNamingSchemeMapper extends BambooStAXMappingHelperAbstractImpl<MutableVersionNamingScheme,MutableVersionNamingScheme>
BambooStAXMappingHelper.NonetransactionOperations| Constructor and Description |
|---|
VersionNamingSchemeMapper(org.hibernate.SessionFactory sessionFactory,
org.springframework.transaction.support.TransactionOperations transactionOperations) |
| Modifier and Type | Method and Description |
|---|---|
protected MutableVersionNamingScheme |
createItemInstance(org.codehaus.staxmate.in.SMInputCursor inputCursor)
Creates empty instance of the imported object
|
protected void |
exportProperties(org.codehaus.staxmate.out.SMOutputElement outputElement,
MutableVersionNamingScheme versionNamingScheme,
org.hibernate.Session session,
ExportDetailsBean exportDetailsBean)
Export object properties.
|
protected void |
importProperties(MutableVersionNamingScheme versionNamingScheme,
org.codehaus.staxmate.in.SMInputCursor inputCursor,
org.hibernate.Session session)
Import properties to the object.
|
createRootElement, exportXml, exportXml, getSession, getSessionFactory, getXmlRootNodeName, importXml, importXml, isShouldExport, saveBambooObjectpublic VersionNamingSchemeMapper(org.hibernate.SessionFactory sessionFactory,
@NotNull
org.springframework.transaction.support.TransactionOperations transactionOperations)
@NotNull protected MutableVersionNamingScheme createItemInstance(org.codehaus.staxmate.in.SMInputCursor inputCursor) throws Exception
BambooStAXMappingHelperAbstractImplcreateItemInstance in class BambooStAXMappingHelperAbstractImpl<MutableVersionNamingScheme,MutableVersionNamingScheme>inputCursor - input cursor that points to the parent node containing object propertiesXMLStreamException - when something went wrongExceptionprotected void exportProperties(@NotNull
org.codehaus.staxmate.out.SMOutputElement outputElement,
@NotNull
MutableVersionNamingScheme versionNamingScheme,
@NotNull
org.hibernate.Session session,
ExportDetailsBean exportDetailsBean)
throws Exception
BambooStAXMappingHelperAbstractImplexportProperties in class BambooStAXMappingHelperAbstractImpl<MutableVersionNamingScheme,MutableVersionNamingScheme>outputElement - the parent nodeversionNamingScheme - object being exportedsession - Hibernate session objectException - when something went wrongprotected void importProperties(@NotNull
MutableVersionNamingScheme versionNamingScheme,
@NotNull
org.codehaus.staxmate.in.SMInputCursor inputCursor,
@NotNull
org.hibernate.Session session)
throws Exception
BambooStAXMappingHelperAbstractImplimportProperties in class BambooStAXMappingHelperAbstractImpl<MutableVersionNamingScheme,MutableVersionNamingScheme>versionNamingScheme - object being importedinputCursor - input cursor pointing to the child node of node that was passed to importXml methodsession - Hibernate session objectException - when something went wrongCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.