public abstract class AbstractChainMapper<T extends Chain> extends AbstractPlanMapper<T>
BambooStAXMappingHelper.NoneauthorMap, labelMap, labels, notificationSetMapper, planBuildNumbers, planRepositoryLinkDao, planVcsRevisionHistoryDao, project, repositoryDefinitionDaotransactionOperations| Constructor and Description |
|---|
AbstractChainMapper(org.hibernate.SessionFactory sessionFactory,
Project project,
Map<Long,Label> labelMap,
Map<Long,ExtendedAuthor> authorMap,
PlanDao planDao,
ResultsSummaryManager resultsSummaryManager,
BuildResultsSummaryDao buildResultSummaryDao,
PlanVcsRevisionHistoryStandaloneDao planVcsRevisionHistoryDao,
RepositoryDefinitionDao repositoryDefinitionDao,
PlanRepositoryLinkDao planRepositoryLinkDao,
NotificationSetMapper notificationSetMapper,
org.springframework.transaction.support.TransactionOperations transactionOperations) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterImportListItem(org.codehaus.staxmate.in.SMInputCursor inputCursor,
List<T> list,
T object,
long objectIndex,
org.hibernate.Session session)
Called after parser completes parsing all child nodes in list's element node.
|
protected void |
exportProperties(org.codehaus.staxmate.out.SMOutputElement outputElement,
T plan,
org.hibernate.Session session,
ExportDetailsBean exportDetailsBean)
Export object properties.
|
protected void |
importProperties(T chain,
org.codehaus.staxmate.in.SMInputCursor cursor,
org.hibernate.Session session)
Import properties to the object.
|
createItemInstance, createPlanEntitybeforeImportListItem, createListRootElement, createRootElement, eventEndElementOfListItemSaveObject, exportListXml, exportListXml, flushIfNeeded, getXmlElementNodeName, getXmlRootNodeName, importListXml, importListXml, importListXmlInTransactionexportXml, exportXml, getSession, getSessionFactory, importXml, importXml, isShouldExport, saveBambooObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexportXml, importXmlpublic AbstractChainMapper(@NotNull
org.hibernate.SessionFactory sessionFactory,
@NotNull
Project project,
@NotNull
Map<Long,Label> labelMap,
@NotNull
Map<Long,ExtendedAuthor> authorMap,
@NotNull
PlanDao planDao,
ResultsSummaryManager resultsSummaryManager,
BuildResultsSummaryDao buildResultSummaryDao,
PlanVcsRevisionHistoryStandaloneDao planVcsRevisionHistoryDao,
@NotNull
RepositoryDefinitionDao repositoryDefinitionDao,
@NotNull
PlanRepositoryLinkDao planRepositoryLinkDao,
@NotNull
NotificationSetMapper notificationSetMapper,
@NotNull
org.springframework.transaction.support.TransactionOperations transactionOperations)
protected void exportProperties(@NotNull
org.codehaus.staxmate.out.SMOutputElement outputElement,
@NotNull
T plan,
@NotNull
org.hibernate.Session session,
ExportDetailsBean exportDetailsBean)
throws Exception
BambooStAXMappingHelperAbstractImplexportProperties in class AbstractPlanMapper<T extends Chain>outputElement - the parent nodeplan - object being exportedsession - Hibernate session objectException - when something went wrongprotected void importProperties(@NotNull
T chain,
@NotNull
org.codehaus.staxmate.in.SMInputCursor cursor,
@NotNull
org.hibernate.Session session)
throws Exception
BambooStAXMappingHelperAbstractImplimportProperties in class AbstractPlanMapper<T extends Chain>chain - object being importedcursor - input cursor pointing to the child node of node that was passed to importXml methodsession - Hibernate session objectException - when something went wrongpublic void afterImportListItem(@NotNull
org.codehaus.staxmate.in.SMInputCursor inputCursor,
@NotNull
List<T> list,
@NotNull
T object,
long objectIndex,
@NotNull
org.hibernate.Session session)
throws Exception
BambooStAXMappingListHelperAbstractImplafterImportListItem in class BambooStAXMappingListHelperAbstractImpl<T extends Chain>inputCursor - cursor pointing to the list's element opening nodelist - 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 © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.