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, importListXmlInTransactioncreateItemInstance, exportProperties, exportXml, exportXml, getSession, getSessionFactory, importProperties, importXml, importXml, isShouldExport, saveBambooObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexportData, getXmlRootNodeName, importDataisShouldExportexportXml, importXmlprotected 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
BambooStAXMappingListHelperAbstractImplafterImportListItem 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 © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.