public class LegacyProjectDependencyMapper extends Object implements BambooStAXRootMapper
Constructor and Description |
---|
LegacyProjectDependencyMapper(org.hibernate.SessionFactory sessionFactory,
PlanDao planDao,
PlanDependencyManager planDependencyManager) |
Modifier and Type | Method and Description |
---|---|
void |
exportData(org.codehaus.staxmate.out.SMOutputElement outputElement,
ExportDetailsBean exportDetailsBean)
Perform data export
|
String |
getXmlRootNodeName()
Returns local name of the XML parent node handled by this mapper
|
void |
importData(org.codehaus.staxmate.in.SMInputCursor inputCursor)
Perform data import
|
boolean |
isShouldExport(ExportDetailsBean exportDetailsBean) |
public LegacyProjectDependencyMapper(org.hibernate.SessionFactory sessionFactory, PlanDao planDao, PlanDependencyManager planDependencyManager)
public boolean isShouldExport(@NotNull ExportDetailsBean exportDetailsBean)
isShouldExport
in interface BambooRootMapper
@NotNull public String getXmlRootNodeName()
BambooStAXRootMapper
getXmlRootNodeName
in interface BambooStAXRootMapper
public void exportData(@NotNull org.codehaus.staxmate.out.SMOutputElement outputElement, ExportDetailsBean exportDetailsBean) throws Exception
BambooStAXRootMapper
exportData
in interface BambooStAXRootMapper
outputElement
- parent node for mapper's root node, usually root element of the XML fileException
- when something went wrongpublic void importData(@NotNull org.codehaus.staxmate.in.SMInputCursor inputCursor) throws Exception
BambooStAXRootMapper
importData
in interface BambooStAXRootMapper
inputCursor
- mapper's root node, usually child of root element of the XML fileException
- when something went wrongCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.