public class StringListMapper extends BambooStAXMappingListHelperAbstractImpl<String,String>
BambooStAXMappingHelper.NonetransactionOperations| 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, importListXmlInTransactionexportXml, exportXml, getSession, getSessionFactory, importProperties, importXml, importXml, isShouldExport, saveBambooObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexportXml, importXmlpublic StringListMapper(org.hibernate.SessionFactory sessionFactory,
@NotNull
@NotNull String rootNodeName,
@NotNull
@NotNull org.springframework.transaction.support.TransactionOperations transactionOperations)
@NotNull public @NotNull String getXmlRootNodeName()
BambooStAXMappingHelpergetXmlRootNodeName in interface BambooStAXMappingHelper<String,String>getXmlRootNodeName in class BambooStAXMappingListHelperAbstractImpl<String,String>@NotNull protected @NotNull String createItemInstance(org.codehaus.staxmate.in.SMInputCursor inputCursor) throws Exception
BambooStAXMappingHelperAbstractImplcreateItemInstance in class BambooStAXMappingHelperAbstractImpl<String,String>inputCursor - input cursor that points to the parent node containing object propertiesXMLStreamException - when something went wrongExceptionprotected void exportProperties(@NotNull
@NotNull org.codehaus.staxmate.out.SMOutputElement outputElement,
@NotNull
@NotNull String string,
@NotNull
@NotNull org.hibernate.Session session,
ExportDetailsBean exportDetailsBean)
throws Exception
BambooStAXMappingHelperAbstractImplexportProperties 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.