public class PlanResultKeyListMapper extends BambooStAXMappingListHelperAbstractImpl<PlanResultKey,PlanResultKey>
BambooStAXMappingHelper.NonetransactionOperations| Constructor and Description |
|---|
PlanResultKeyListMapper(org.hibernate.SessionFactory sessionFactory,
String rootNodeName,
org.springframework.transaction.support.TransactionOperations transactionOperations) |
| Modifier and Type | Method and Description |
|---|---|
protected PlanResultKey |
createItemInstance(org.codehaus.staxmate.in.SMInputCursor inputCursor)
Creates empty instance of the imported object
|
protected void |
exportProperties(org.codehaus.staxmate.out.SMOutputElement outputElement,
PlanResultKey planResultKey,
org.hibernate.Session session,
ExportDetailsBean exportDetailsBean)
Export object properties.
|
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 PlanResultKeyListMapper(org.hibernate.SessionFactory sessionFactory,
@NotNull
String rootNodeName,
@NotNull
org.springframework.transaction.support.TransactionOperations transactionOperations)
@NotNull public String getXmlRootNodeName()
BambooStAXMappingHelpergetXmlRootNodeName in interface BambooStAXMappingHelper<PlanResultKey,PlanResultKey>getXmlRootNodeName in class BambooStAXMappingListHelperAbstractImpl<PlanResultKey,PlanResultKey>@NotNull protected PlanResultKey createItemInstance(org.codehaus.staxmate.in.SMInputCursor inputCursor) throws Exception
BambooStAXMappingHelperAbstractImplcreateItemInstance in class BambooStAXMappingHelperAbstractImpl<PlanResultKey,PlanResultKey>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
PlanResultKey planResultKey,
@NotNull
org.hibernate.Session session,
ExportDetailsBean exportDetailsBean)
throws Exception
BambooStAXMappingHelperAbstractImplexportProperties in class BambooStAXMappingHelperAbstractImpl<PlanResultKey,PlanResultKey>outputElement - the parent nodeplanResultKey - object being exportedsession - Hibernate session objectException - when something went wrongCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.