public abstract class AbstractProjectDependencyMapper extends BambooStAXMappingListHelperAbstractImpl<PlanDependency,PlanDependency> implements BambooStAXRootMapper
BambooStAXMappingHelper.None
Modifier and Type | Field and Description |
---|---|
protected PlanDao |
planDao |
protected PlanDependencyManager |
planDependencyManager |
transactionOperations
Modifier | Constructor and Description |
---|---|
protected |
AbstractProjectDependencyMapper(org.hibernate.SessionFactory sessionFactory,
PlanDao planDao,
PlanDependencyManager planDependencyManager,
org.springframework.transaction.support.TransactionOperations transactionOperations) |
protected |
AbstractProjectDependencyMapper(org.hibernate.SessionFactory sessionFactory,
org.springframework.transaction.support.TransactionOperations transactionOperations) |
Modifier and Type | Method and Description |
---|---|
void |
afterImportListItem(org.codehaus.staxmate.in.SMInputCursor inputCursor,
List<PlanDependency> planDependencies,
PlanDependency object,
long objectIndex,
org.hibernate.Session session)
Called after parser completes parsing all child nodes in list's element node.
|
protected void |
saveDependency(PlanDependency planDependency) |
beforeImportListItem, createListRootElement, createRootElement, eventEndElementOfListItemSaveObject, exportListXml, exportListXml, flushIfNeeded, getXmlElementNodeName, getXmlRootNodeName, importListXml, importListXml, importListXmlInTransaction
createItemInstance, exportProperties, exportXml, exportXml, getSession, getSessionFactory, importProperties, importXml, importXml, isShouldExport, saveBambooObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exportData, getXmlRootNodeName, importData
isShouldExport
exportXml, importXml
protected PlanDao planDao
protected PlanDependencyManager planDependencyManager
protected AbstractProjectDependencyMapper(org.hibernate.SessionFactory sessionFactory, PlanDao planDao, PlanDependencyManager planDependencyManager, @NotNull org.springframework.transaction.support.TransactionOperations transactionOperations)
protected AbstractProjectDependencyMapper(org.hibernate.SessionFactory sessionFactory, @NotNull org.springframework.transaction.support.TransactionOperations transactionOperations)
protected void saveDependency(PlanDependency planDependency)
public void afterImportListItem(@NotNull org.codehaus.staxmate.in.SMInputCursor inputCursor, @NotNull List<PlanDependency> planDependencies, @NotNull PlanDependency object, long objectIndex, @NotNull org.hibernate.Session session) throws Exception
BambooStAXMappingListHelperAbstractImpl
afterImportListItem
in class BambooStAXMappingListHelperAbstractImpl<PlanDependency,PlanDependency>
inputCursor
- cursor pointing to the list's element opening nodeplanDependencies
- list of elements being importedobject
- object that has been importedobjectIndex
- one-based index of the object being parsedsession
- Hibernate session objectException
- when something went wrongCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.