public class StringListMapper extends BambooStAXMappingListHelperAbstractImpl<String,String>
BambooStAXMappingHelper.None
transactionOperations
Constructor and Description |
---|
StringListMapper(org.hibernate.SessionFactory sessionFactory,
@NotNull String rootNodeName,
@NotNull org.springframework.transaction.support.TransactionOperations transactionOperations) |
Modifier and Type | Method and Description |
---|---|
protected @NotNull String |
createItemInstance(org.codehaus.staxmate.in.SMInputCursor inputCursor)
Creates empty instance of the imported object
|
protected void |
exportProperties(@NotNull org.codehaus.staxmate.out.SMOutputElement outputElement,
@NotNull String string,
@NotNull org.hibernate.Session session,
ExportDetailsBean exportDetailsBean)
Export object properties.
|
@NotNull String |
getXmlRootNodeName()
Returns local name of the XML parent node that will contain exported/imported object's properties
|
afterImportListItem, beforeImportListItem, createListRootElement, createRootElement, eventEndElementOfListItemSaveObject, exportListXml, exportListXml, flushIfNeeded, getXmlElementNodeName, importListXml, importListXml, importListXmlInTransaction
exportXml, exportXml, getSession, getSessionFactory, importProperties, importXml, importXml, isShouldExport, saveBambooObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exportXml, importXml
public StringListMapper(org.hibernate.SessionFactory sessionFactory, @NotNull @NotNull String rootNodeName, @NotNull @NotNull org.springframework.transaction.support.TransactionOperations transactionOperations)
@NotNull public @NotNull String getXmlRootNodeName()
BambooStAXMappingHelper
getXmlRootNodeName
in interface BambooStAXMappingHelper<String,String>
getXmlRootNodeName
in class BambooStAXMappingListHelperAbstractImpl<String,String>
@NotNull protected @NotNull String createItemInstance(org.codehaus.staxmate.in.SMInputCursor inputCursor) throws Exception
BambooStAXMappingHelperAbstractImpl
createItemInstance
in class BambooStAXMappingHelperAbstractImpl<String,String>
inputCursor
- input cursor that points to the parent node containing object propertiesXMLStreamException
- when something went wrongException
protected void exportProperties(@NotNull @NotNull org.codehaus.staxmate.out.SMOutputElement outputElement, @NotNull @NotNull String string, @NotNull @NotNull org.hibernate.Session session, ExportDetailsBean exportDetailsBean) throws Exception
BambooStAXMappingHelperAbstractImpl
exportProperties
in class BambooStAXMappingHelperAbstractImpl<String,String>
outputElement
- the parent nodestring
- object being exportedsession
- Hibernate session objectException
- when something went wrongCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.