| java.lang.Object org.opencms.importexport.CmsImportParameters
CmsImportParameters | public class CmsImportParameters (Code) | | Import parameters.
author: Michael Moossen version: $Revision: 1.3 $ since: 7.0.4 |
CmsImportParameters | public CmsImportParameters(String path, String destination, boolean keepPermissions)(Code) | | Constructor.
Parameters: path - the file path, could be a folder or a zip file Parameters: destination - path in the OpenCms VFS to import into Parameters: keepPermissions - if set, the permissions set on existing resources will not be modified |
getDestinationPath | public String getDestinationPath()(Code) | | Returns the path in the OpenCms VFS to import into.
the path in the OpenCms VFS to import into |
getPath | public String getPath()(Code) | | Returns the file path, could be a folder or a zip file.
the file path |
isKeepPermissions | public boolean isKeepPermissions()(Code) | | Returns the keep permissions flags.
if set, the permissions set on existing resources will not be modified.
the keep permissions flag |
isXmlValidation | public boolean isXmlValidation()(Code) | | Checks if the manifest.xml file will be validated during the import.
the xml validation flag |
setDestinationPath | public void setDestinationPath(String importPath)(Code) | | Sets the path in the OpenCms VFS to import into.
Parameters: importPath - the import path to set |
setKeepPermissions | public void setKeepPermissions(boolean keepPermissions)(Code) | | Sets the keep permissions flag.
If set, the permissions set on existing resources will not be modified.
Parameters: keepPermissions - the keep permissions flag to set |
setPath | public void setPath(String path)(Code) | | Sets the file path, could be a folder or a zip file.
Parameters: path - the file path, could be a folder or a zip file |
setXmlValidation | public void setXmlValidation(boolean xmlValidation)(Code) | | Sets the xml validation flag. If set, the manifest.xml file will be validated during the import.
Parameters: xmlValidation - the xml validation flag to set |
|
|