com.atlassian.confluence.importexport
Interface ExportContext

All Known Implementing Classes:
DefaultExportContext

public interface ExportContext


Method Summary
 DateFormatter getDateFormatter()
           
 String getExportDirectoryPath()
           
 Set getProcessedIds()
           
 String getScope()
           
 String getType()
           
 List getWorkingEntities()
           
 boolean isExceptionEntity(ConfluenceEntityObject entity)
           
 boolean isExportAttachments()
           
 boolean isExportComments()
           
 boolean isExportHierarchy()
           
 boolean isPageInExport(Page page, PageManager pageManager)
           
 void setExportAttachments(boolean exportAttachments)
           
 void setExportHierarchy(boolean exportChildren)
           
 

Method Detail

isExportComments

public boolean isExportComments()

isExportAttachments

public boolean isExportAttachments()

setExportAttachments

public void setExportAttachments(boolean exportAttachments)

isExportHierarchy

public boolean isExportHierarchy()

setExportHierarchy

public void setExportHierarchy(boolean exportChildren)

isExceptionEntity

public boolean isExceptionEntity(ConfluenceEntityObject entity)

getWorkingEntities

public List getWorkingEntities()

getProcessedIds

public Set getProcessedIds()

getExportDirectoryPath

public String getExportDirectoryPath()

getScope

public String getScope()
Returns:
the scope of an XML export: global, space or page. These string constants are defined on ImportExportManager.

getType

public String getType()
Returns:
the type of the export: HTML, PDF or XML. These constants are defined above.

getDateFormatter

public DateFormatter getDateFormatter()
Returns:
DateFormatter used to format dates and times in PDF & HTML exports.

isPageInExport

public boolean isPageInExport(Page page,
                              PageManager pageManager)
Returns:
true if the given page is part of the current export, otherwise false.


Confluence is developed by Atlassian.