public class CmsImportParameters
extends java.lang.Object
构造器和说明 |
---|
CmsImportParameters(java.lang.String path,
java.lang.String destination,
boolean keepPermissions)
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getDestinationPath()
Returns the path in the OpenCms VFS to import into.
|
java.lang.String |
getPath()
Returns the file path, could be a folder or a zip file.
|
boolean |
isKeepPermissions()
Returns the keep permissions flags.
|
boolean |
isXmlValidation()
Checks if the manifest.xml file will be validated during the import.
|
void |
setDestinationPath(java.lang.String importPath)
Sets the path in the OpenCms VFS to import into.
|
void |
setKeepPermissions(boolean keepPermissions)
Sets the keep permissions flag.
|
void |
setPath(java.lang.String path)
Sets the file path, could be a folder or a zip file.
|
void |
setXmlValidation(boolean xmlValidation)
Sets the xml validation flag.
|
public CmsImportParameters(java.lang.String path, java.lang.String destination, boolean keepPermissions)
path
- the file path, could be a folder or a zip filedestination
- path in the OpenCms VFS to import intokeepPermissions
- if set, the permissions set on existing resources will not be modifiedpublic java.lang.String getDestinationPath()
public java.lang.String getPath()
public boolean isKeepPermissions()
public boolean isXmlValidation()
public void setDestinationPath(java.lang.String importPath)
importPath
- the import path to setpublic void setKeepPermissions(boolean keepPermissions)
keepPermissions
- the keep permissions flag to setpublic void setPath(java.lang.String path)
path
- the file path, could be a folder or a zip filepublic void setXmlValidation(boolean xmlValidation)
xmlValidation
- the xml validation flag to set