|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.importexport.CmsImportParameters
public class CmsImportParameters
Import parameters.
Constructor Summary | |
---|---|
CmsImportParameters(java.lang.String path,
java.lang.String destination,
boolean keepPermissions)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 modifiedMethod Detail |
---|
public 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
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |