public class DefaultExportContext extends Object implements ExportContext
Constructor and Description |
---|
DefaultExportContext() |
public static DefaultExportContext getXmlBackupInstance()
public void addWorkingEntity(ConfluenceEntityObject entity)
public void addExceptionEntities(List<ConfluenceEntityObject> entities, boolean validate) throws IllegalArgumentException
entities
- a list of ConfluenceEntityObjectsvalidate
- - if true the contents of the list will be type-checked to ensure that they contain
nothing other than ConfluenceEntityObject
.IllegalArgumentException
- if the list contains something ConfluenceEntityObject
and validation is turned on.public void addExceptionEntity(ConfluenceEntityObject entity)
public boolean isPageInExport(Page page, PageManager pageManager)
isPageInExport
in interface ExportContext
public List<ConfluenceEntityObject> getExceptionEntities()
public List<ConfluenceEntityObject> getWorkingEntities()
ExportContext
getWorkingEntities
in interface ExportContext
public Set getProcessedIds()
getProcessedIds
in interface ExportContext
@Deprecated public String getExportDirectoryPath()
getExportDirectoryPath
in interface ExportContext
public void setUser(com.atlassian.user.User user)
public com.atlassian.user.User getUser()
getUser
in interface ExportContext
public String getSpaceKeyOfSpaceExport()
getSpaceKeyOfSpaceExport
in interface ExportContext
public boolean isExceptionEntity(ConfluenceEntityObject entity)
ExportContext
isExceptionEntity
in interface ExportContext
public boolean isExportComments()
isExportComments
in interface ExportContext
public void setExportComments(boolean exportComments)
public boolean isExportAttachments()
isExportAttachments
in interface ExportContext
public void setExportAttachments(boolean exportAttachments)
setExportAttachments
in interface ExportContext
public boolean isExportHierarchy()
isExportHierarchy
in interface ExportContext
public void setExportHierarchy(boolean exportHierarchy)
setExportHierarchy
in interface ExportContext
public File getExportDirectory()
public void setExportDirectory(File exportDirectory)
public ContentTree getContentTree()
ContentTree
public void setContentTree(ContentTree contentTree)
public String getType()
getType
in interface ExportContext
public void setType(String type)
public String getScope()
getScope
in interface ExportContext
ImportExportManager
.public ExportScope getExportScope()
getExportScope
in interface ExportContext
@Deprecated public void setScope(String scope)
setExportScope(ExportScope)
public void setExportScope(ExportScope scope)
public boolean isExportAll()
public void setExportAll(boolean exportAll)
public String getSpaceKey()
public void setSpaceKey(String spaceKey)
Copyright © 2003–2018 Atlassian. All rights reserved.