Class ApogeeExportReport
- java.lang.Object
-
- org.ametys.plugins.odfsync.apogee.ws.ApogeeExportReport
-
public class ApogeeExportReport extends Object
The report for an Apogee export
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApogeeExportReport.ExportStatus
The status of the export
-
Field Summary
Fields Modifier and Type Field Description private ApogeeExportReport.ExportStatus
_exportStatus
private Map<Content,Set<ModelItem>>
_mandatoryDataByContent
private Map<Content,Set<Content>>
_missingRelations
private ApogeeExportStructure
_structure
-
Constructor Summary
Constructors Constructor Description ApogeeExportReport()
The constructorApogeeExportReport(ApogeeExportReport.ExportStatus status)
The constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMandatoryDataPath(Content content, ModelItem modelItem)
Add mandatory model item for a contentvoid
addMissingRelation(Content parentContent, Content childContent)
Add the missing relation between a parent and a child contentApogeeExportStructure
getApogeeExportStructure()
Get the apogee structure implementation.ApogeeExportReport.ExportStatus
getExportStatus()
Get the export statusMap<Content,Set<ModelItem>>
getMandatoryDataPathByContent()
Get the mandatory model item by contentMap<Content,Set<Content>>
getMissingRelations()
Get the missing relationsvoid
setApogeeExportStructure(ApogeeExportStructure structure)
Set the apogee structure implementation.void
setExportStatus(ApogeeExportReport.ExportStatus status)
Set the export status
-
-
-
Field Detail
-
_structure
private ApogeeExportStructure _structure
-
_mandatoryDataByContent
private Map<Content,Set<ModelItem>> _mandatoryDataByContent
-
_exportStatus
private ApogeeExportReport.ExportStatus _exportStatus
-
_missingRelations
private Map<Content,Set<Content>> _missingRelations
-
-
Constructor Detail
-
ApogeeExportReport
public ApogeeExportReport()
The constructor
-
ApogeeExportReport
public ApogeeExportReport(ApogeeExportReport.ExportStatus status)
The constructor- Parameters:
status
- the export status
-
-
Method Detail
-
addMandatoryDataPath
public void addMandatoryDataPath(Content content, ModelItem modelItem)
Add mandatory model item for a content- Parameters:
content
- the contentmodelItem
- the model item
-
getMandatoryDataPathByContent
public Map<Content,Set<ModelItem>> getMandatoryDataPathByContent()
Get the mandatory model item by content- Returns:
- the map of mandatory model item
-
addMissingRelation
public void addMissingRelation(Content parentContent, Content childContent)
Add the missing relation between a parent and a child content- Parameters:
parentContent
- the parent contentchildContent
- the child content
-
getMissingRelations
public Map<Content,Set<Content>> getMissingRelations()
Get the missing relations- Returns:
- the map of missing relation
-
getExportStatus
public ApogeeExportReport.ExportStatus getExportStatus()
Get the export status- Returns:
- the export status
-
setExportStatus
public void setExportStatus(ApogeeExportReport.ExportStatus status)
Set the export status- Parameters:
status
- the export status
-
getApogeeExportStructure
public ApogeeExportStructure getApogeeExportStructure()
Get the apogee structure implementation.- Returns:
- the apogee structure implementation
-
setApogeeExportStructure
public void setApogeeExportStructure(ApogeeExportStructure structure)
Set the apogee structure implementation.- Parameters:
structure
- the apogee structure implementation.
-
-