public class

DefaultExportContext

extends Object
implements ExportContext
java.lang.Object
   ↳ com.atlassian.confluence.importexport.DefaultExportContext

Summary

Public Constructors
DefaultExportContext()
Public Methods
void addExceptionEntities(List entities, boolean validate)
Helper method to add a collection of entities to the current exception entities
void addExceptionEntity(ConfluenceEntityObject entity)
void addWorkingEntity(ConfluenceEntityObject entity)
ContentTree getContentTree()
List getExceptionEntities()
File getExportDirectory()
String getExportDirectoryPath()
Set getProcessedIds()
String getScope()
String getType()
User getUser()
List getWorkingEntities()
static DefaultExportContext getXmlBackupInstance()
boolean isExceptionEntity(ConfluenceEntityObject entity)
boolean isExportAll()
boolean isExportAttachments()
boolean isExportComments()
boolean isExportHierarchy()
boolean isPageInExport(Page page, PageManager pageManager)
void setContentTree(ContentTree contentTree)
void setExportAll(boolean exportAll)
void setExportAttachments(boolean exportAttachments)
void setExportComments(boolean exportComments)
void setExportDirectory(File exportDirectory)
void setExportHierarchy(boolean exportHierarchy)
void setScope(String scope)
void setType(String type)
void setUser(User user)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.importexport.ExportContext

Public Constructors

public DefaultExportContext ()

Public Methods

public void addExceptionEntities (List entities, boolean validate)

Helper method to add a collection of entities to the current exception entities

Parameters
validate - if true the contents of the list will be type-checked to ensure that they contain nothing other than ConfluenceEntityObject.
Throws
IllegalArgumentException if the list contains something ConfluenceEntityObject and validation is turned on.

public void addExceptionEntity (ConfluenceEntityObject entity)

public void addWorkingEntity (ConfluenceEntityObject entity)

public ContentTree getContentTree ()

Returns
  • tree of ContentNodes to export (each ContentNode holds a page object).
See Also

public List getExceptionEntities ()

public File getExportDirectory ()

public String getExportDirectoryPath ()

public Set getProcessedIds ()

public String getScope ()

public String getType ()

public User getUser ()

public List getWorkingEntities ()

public static DefaultExportContext getXmlBackupInstance ()

public boolean isExceptionEntity (ConfluenceEntityObject entity)

public boolean isExportAll ()

public boolean isExportAttachments ()

public boolean isExportComments ()

public boolean isExportHierarchy ()

public boolean isPageInExport (Page page, PageManager pageManager)

public void setContentTree (ContentTree contentTree)

public void setExportAll (boolean exportAll)

public void setExportAttachments (boolean exportAttachments)

public void setExportComments (boolean exportComments)

public void setExportDirectory (File exportDirectory)

public void setExportHierarchy (boolean exportHierarchy)

public void setScope (String scope)

public void setType (String type)

public void setUser (User user)