public class ProjectChainMapper extends AbstractProjectMapper
BambooStAXMappingHelper.None
authorDao, authorMap, labelDao, labelMap, planDao, planRepositoryLinkDao, planVcsRevisionHistoryDao, projectDao, repositoryDefinitionDao, sessionFactory
transactionOperations
Constructor and Description |
---|
ProjectChainMapper(org.hibernate.SessionFactory sessionFactory,
ProjectDao projectDao,
AuthorDao authorDao,
LabelDao labelDao,
PlanDao planDao,
PlanVcsRevisionHistoryStandaloneDao planVcsRevisionHistoryDao,
RepositoryDefinitionDao repositoryDefinitionDao,
PlanRepositoryLinkDao planRepositoryLinkDao,
MapperFactory mapperFactory,
org.springframework.transaction.support.TransactionOperations transactionOperations) |
Modifier and Type | Method and Description |
---|---|
protected void |
importProperties(Project project,
org.codehaus.staxmate.in.SMInputCursor inputCursor,
org.hibernate.Session session)
Import properties to the object.
|
createItemInstance, exportData, exportProperties, getXmlElementNodeName, getXmlRootNodeName, importData, initialiseAuthorMap, initialiseLabelMap
afterImportListItem, beforeImportListItem, createListRootElement, createRootElement, eventEndElementOfListItemSaveObject, exportListXml, exportListXml, flushIfNeeded, importListXml, importListXml, importListXmlInTransaction
exportXml, exportXml, getSession, getSessionFactory, importXml, importXml, isShouldExport, saveBambooObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isShouldExport
exportXml, importXml
public ProjectChainMapper(org.hibernate.SessionFactory sessionFactory, @NotNull ProjectDao projectDao, AuthorDao authorDao, LabelDao labelDao, @NotNull PlanDao planDao, PlanVcsRevisionHistoryStandaloneDao planVcsRevisionHistoryDao, @NotNull RepositoryDefinitionDao repositoryDefinitionDao, @NotNull PlanRepositoryLinkDao planRepositoryLinkDao, @NotNull MapperFactory mapperFactory, @NotNull org.springframework.transaction.support.TransactionOperations transactionOperations)
protected void importProperties(@NotNull Project project, @NotNull org.codehaus.staxmate.in.SMInputCursor inputCursor, @NotNull org.hibernate.Session session) throws Exception
BambooStAXMappingHelperAbstractImpl
importProperties
in class AbstractProjectMapper
project
- object being importedinputCursor
- input cursor pointing to the child node of node that was passed to importXml methodsession
- Hibernate session objectException
- when something went wrongCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.