public class CapabilitySetMapper extends BambooStAXMappingListHelperAbstractImpl<Capability,Capability>
BambooStAXMappingHelper.NonetransactionOperations| Modifier | Constructor and Description |
|---|---|
protected |
CapabilitySetMapper(org.hibernate.SessionFactory sessionFactory,
org.springframework.transaction.support.TransactionOperations transactionOperations) |
| Modifier and Type | Method and Description |
|---|---|
protected Capability |
createItemInstance(org.codehaus.staxmate.in.SMInputCursor inputCursor)
Creates empty instance of the imported object
|
<E extends Capability> |
exportListXml(org.hibernate.Session session,
org.codehaus.staxmate.out.SMOutputElement outputElement,
Iterable<E> list,
ExportDetailsBean exportDetailsBean)
Exports a collection to the XML.
|
String |
getXmlElementNodeName()
Returns local name of list element node
|
String |
getXmlRootNodeName()
Returns local name of the XML parent node that will contain exported/imported object's properties
|
afterImportListItem, beforeImportListItem, createListRootElement, createRootElement, eventEndElementOfListItemSaveObject, exportListXml, flushIfNeeded, importListXml, importListXml, importListXmlInTransactionexportProperties, exportXml, exportXml, getSession, getSessionFactory, importProperties, importXml, importXml, isShouldExport, saveBambooObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexportXml, importXmlprotected CapabilitySetMapper(org.hibernate.SessionFactory sessionFactory,
@NotNull
org.springframework.transaction.support.TransactionOperations transactionOperations)
@NotNull public String getXmlRootNodeName()
BambooStAXMappingHelpergetXmlRootNodeName in interface BambooStAXMappingHelper<Capability,Capability>getXmlRootNodeName in class BambooStAXMappingListHelperAbstractImpl<Capability,Capability>@NotNull public String getXmlElementNodeName()
getXmlElementNodeName in class BambooStAXMappingListHelperAbstractImpl<Capability,Capability>@NotNull protected Capability createItemInstance(org.codehaus.staxmate.in.SMInputCursor inputCursor) throws Exception
BambooStAXMappingHelperAbstractImplcreateItemInstance in class BambooStAXMappingHelperAbstractImpl<Capability,Capability>inputCursor - input cursor that points to the parent node containing object propertiesXMLStreamException - when something went wrongExceptionpublic <E extends Capability> void exportListXml(@NotNull org.hibernate.Session session, @NotNull org.codehaus.staxmate.out.SMOutputElement outputElement, @NotNull Iterable<E> list, ExportDetailsBean exportDetailsBean) throws Exception
BambooStAXMappingListHelperAbstractImplexportListXml in class BambooStAXMappingListHelperAbstractImpl<Capability,Capability>session - Hibernate session objectoutputElement - parent node for collection root nodelist - collection to be exportedException - when something went wrongCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.