|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.importexport.CmsExportParameters
Export parameters.
Constructor Summary | |
CmsExportParameters()
Constructor. |
|
CmsExportParameters(java.lang.String exportFile,
org.dom4j.Element moduleElement,
boolean exportResourceData,
boolean exportUserdata,
boolean exportProjectData,
java.util.List resourcesToExport,
boolean includeSystem,
boolean includeUnchanged,
long contentAge,
boolean recursive,
boolean inProject)
Constructor. |
Method Summary | |
long |
getContentAge()
Returns the content Age. |
org.dom4j.Element |
getModuleInfo()
Returns the module informations if to export a module. |
java.lang.String |
getPath()
Returns the file path, should be a zip file. |
java.util.List |
getResources()
Returns the resources. |
boolean |
isExportAccountData()
Checks if to export account data. |
boolean |
isExportProjectData()
Checks if to export project data. |
boolean |
isExportResourceData()
Checks if to export resource data. |
boolean |
isIncludeSystemFolder()
Checks if to include the /system/ Folder. |
boolean |
isIncludeUnchangedResources()
Checks if to include unchanged resources. |
boolean |
isInProject()
Checks if to include only resources in the current project. |
boolean |
isRecursive()
Checks if to recurse the resources to export. |
boolean |
isXmlValidation()
Checks if the manifest.xml file will be generated with dtd info. |
void |
setContentAge(long contentAge)
Sets the content Age. |
void |
setExportAccountData(boolean exportAccountData)
Sets if to export account data. |
void |
setExportProjectData(boolean exportProjectData)
Sets if to export project data. |
void |
setExportResourceData(boolean exportResourceData)
Sets if to export resource data. |
void |
setIncludeSystemFolder(boolean includeSystemFolder)
Sets if to include the /system/ Folder. |
void |
setIncludeUnchangedResources(boolean includeUnchangedResources)
Sets if to include unchanged resources. |
void |
setInProject(boolean inProject)
Sets if to only include files in the current project. |
void |
setModuleInfo(org.dom4j.Element moduleInfo)
Sets the module informations if to export a module. |
void |
setPath(java.lang.String path)
Sets the file path, should be a zip file. |
void |
setRecursive(boolean recursive)
Sets the recursive flag. |
void |
setResources(java.util.List resources)
Sets the resources. |
void |
setXmlValidation(boolean xmlValidation)
Sets the xml validation flag. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CmsExportParameters()
public CmsExportParameters(java.lang.String exportFile, org.dom4j.Element moduleElement, boolean exportResourceData, boolean exportUserdata, boolean exportProjectData, java.util.List resourcesToExport, boolean includeSystem, boolean includeUnchanged, long contentAge, boolean recursive, boolean inProject)
exportFile
- the zip file to export tomoduleElement
- module informations in a Node for module exportexportResourceData
- if the resource data has also to be exportedexportUserdata
- if the account data has also to be exportedexportProjectData
- if the project data has also to be exportedresourcesToExport
- the paths of folders and files to exportincludeSystem
- if true
, the system folder is includedincludeUnchanged
- true
, if unchanged files should be includedcontentAge
- export contents changed after this date/timerecursive
- recursive flaginProject
- if only resources in the current project are exportedMethod Detail |
public long getContentAge()
public org.dom4j.Element getModuleInfo()
public java.lang.String getPath()
public java.util.List getResources()
public boolean isExportAccountData()
true
, if to export account datapublic boolean isExportProjectData()
true
, if to export project datapublic boolean isExportResourceData()
true
, if to export resource datapublic boolean isIncludeSystemFolder()
true
, if to include the /system/ Folderpublic boolean isIncludeUnchangedResources()
true
, if to include unchanged resourcespublic boolean isInProject()
true
, if to include only resources in the current projectpublic boolean isRecursive()
true
, if to recurse the resources to exportpublic boolean isXmlValidation()
public void setContentAge(long contentAge)
contentAge
- the content Age to setpublic void setExportAccountData(boolean exportAccountData)
exportAccountData
- the flag to setpublic void setExportProjectData(boolean exportProjectData)
exportProjectData
- the flag to setpublic void setExportResourceData(boolean exportResourceData)
exportResourceData
- the flag to setpublic void setIncludeSystemFolder(boolean includeSystemFolder)
includeSystemFolder
- the flag to setpublic void setIncludeUnchangedResources(boolean includeUnchangedResources)
includeUnchangedResources
- the flag to setpublic void setInProject(boolean inProject)
inProject
- the flag to setpublic void setModuleInfo(org.dom4j.Element moduleInfo)
moduleInfo
- the module info node to setpublic void setPath(java.lang.String path)
path
- the file pathpublic void setRecursive(boolean recursive)
recursive
- the flag to setpublic void setResources(java.util.List resources)
resources
- the resources to setpublic void setXmlValidation(boolean xmlValidation)
xmlValidation
- the xml validation flag to set
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |