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