| java.lang.Object org.opencms.importexport.CmsExportParameters
CmsExportParameters | public class CmsExportParameters (Code) | | Export parameters.
author: Michael Moossen version: $Revision: 1.3 $ since: 7.0.4 |
Constructor Summary | |
public | CmsExportParameters() | public | CmsExportParameters(String exportFile, Element moduleElement, boolean exportResourceData, boolean exportUserdata, boolean exportProjectData, List resourcesToExport, boolean includeSystem, boolean includeUnchanged, long contentAge, boolean recursive, boolean inProject) |
CmsExportParameters | public CmsExportParameters()(Code) | | Constructor.
|
CmsExportParameters | public CmsExportParameters(String exportFile, Element moduleElement, boolean exportResourceData, boolean exportUserdata, boolean exportProjectData, List resourcesToExport, boolean includeSystem, boolean includeUnchanged, long contentAge, boolean recursive, boolean inProject)(Code) | | Constructor.
Parameters: exportFile - the zip file to export to Parameters: moduleElement - module informations in a Node for module export Parameters: exportResourceData - if the resource data has also to be exported Parameters: exportUserdata - if the account data has also to be exported Parameters: exportProjectData - if the project data has also to be exported Parameters: resourcesToExport - the paths of folders and files to export Parameters: includeSystem - if true , the system folder is included Parameters: includeUnchanged - true , if unchanged files should be included Parameters: contentAge - export contents changed after this date/time Parameters: recursive - recursive flag Parameters: inProject - if only resources in the current project are exported |
getContentAge | public long getContentAge()(Code) | | Returns the content Age.
the content Age |
getModuleInfo | public Element getModuleInfo()(Code) | | Returns the module informations if to export a module.
the module informations if to export a module |
getPath | public String getPath()(Code) | | Returns the file path, should be a zip file.
the file path |
getResources | public List getResources()(Code) | | Returns the resources.
the resources |
isExportAccountData | public boolean isExportAccountData()(Code) | | Checks if to export account data.
true , if to export account data |
isExportProjectData | public boolean isExportProjectData()(Code) | | Checks if to export project data.
true , if to export project data |
isExportResourceData | public boolean isExportResourceData()(Code) | | Checks if to export resource data.
true , if to export resource data |
isInProject | public boolean isInProject()(Code) | | Checks if to include only resources in the current project.
true , if to include only resources in the current project |
isIncludeSystemFolder | public boolean isIncludeSystemFolder()(Code) | | Checks if to include the /system/ Folder.
true , if to include the /system/ Folder |
isIncludeUnchangedResources | public boolean isIncludeUnchangedResources()(Code) | | Checks if to include unchanged resources.
true , if to include unchanged resources |
isRecursive | public boolean isRecursive()(Code) | | Checks if to recurse the resources to export.
true , if to recurse the resources to export |
isXmlValidation | public boolean isXmlValidation()(Code) | | Checks if the manifest.xml file will be generated with dtd info.
the xml validation flag |
setContentAge | public void setContentAge(long contentAge)(Code) | | Sets the content Age.
Parameters: contentAge - the content Age to set |
setExportAccountData | public void setExportAccountData(boolean exportAccountData)(Code) | | Sets if to export account data.
Parameters: exportAccountData - the flag to set |
setExportProjectData | public void setExportProjectData(boolean exportProjectData)(Code) | | Sets if to export project data.
Parameters: exportProjectData - the flag to set |
setExportResourceData | public void setExportResourceData(boolean exportResourceData)(Code) | | Sets if to export resource data.
Parameters: exportResourceData - the flag to set |
setInProject | public void setInProject(boolean inProject)(Code) | | Sets if to only include files in the current project.
Parameters: inProject - the flag to set |
setIncludeSystemFolder | public void setIncludeSystemFolder(boolean includeSystemFolder)(Code) | | Sets if to include the /system/ Folder.
Parameters: includeSystemFolder - the flag to set |
setIncludeUnchangedResources | public void setIncludeUnchangedResources(boolean includeUnchangedResources)(Code) | | Sets if to include unchanged resources.
Parameters: includeUnchangedResources - the flag to set |
setModuleInfo | public void setModuleInfo(Element moduleInfo)(Code) | | Sets the module informations if to export a module.
Parameters: moduleInfo - the module info node to set |
setPath | public void setPath(String path)(Code) | | Sets the file path, should be a zip file.
Parameters: path - the file path |
setRecursive | public void setRecursive(boolean recursive)(Code) | | Sets the recursive flag.
Parameters: recursive - the flag to set |
setResources | public void setResources(List resources)(Code) | | Sets the resources.
Parameters: resources - the resources to set |
setXmlValidation | public void setXmlValidation(boolean xmlValidation)(Code) | | Sets the xml validation flag. If set, the manifest.xml file will be generated with dtd info.
Parameters: xmlValidation - the xml validation flag to set |
|
|