public final class CmsXmlContentRepairSettings
extends java.lang.Object
构造器和说明 |
---|
CmsXmlContentRepairSettings(CmsObject cms)
Default constructor with cms object that is used for VFS path validation.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getResourceType()
Returns the resource type name of the XML contents to process.
|
protected int |
getResourceTypeId()
Returns the resource type ID of the XML contents to process.
|
java.lang.String |
getVfsFolder()
Returns the VFS folder under which XML contents will be processed recursively.
|
boolean |
isForce()
Checks if to force the reparation.
|
boolean |
isIncludeSubFolders()
Returns the flag indicating if resources in sub folders should be repaired, too.
|
void |
setForce(boolean force)
Sets the force reparation flag.
|
void |
setIncludeSubFolders(boolean includeSubFolders)
Sets the flag indicating if resources in sub folders should be repaired, too.
|
void |
setResourceType(java.lang.String resourceType)
Sets the resource type name of the XML contents to process.
|
void |
setVfsFolder(java.lang.String vfsFolder)
Sets the VFS folder under which XML contents will be processed recursively.
|
public CmsXmlContentRepairSettings(CmsObject cms)
cms
- the current users context to check the VFS path informationpublic java.lang.String getResourceType()
public java.lang.String getVfsFolder()
public boolean isForce()
true
if to force the reparationpublic boolean isIncludeSubFolders()
public void setForce(boolean force)
force
- the force reparation flag to setpublic void setIncludeSubFolders(boolean includeSubFolders)
includeSubFolders
- the flag indicating if resources in sub folders should be repaired, toopublic void setResourceType(java.lang.String resourceType)
resourceType
- the resource type name of the XML contents to processpublic void setVfsFolder(java.lang.String vfsFolder) throws CmsIllegalArgumentException
vfsFolder
- the VFS folder under which XML contents will be processed recursivelyCmsIllegalArgumentException
- if the given VFS path is not validprotected int getResourceTypeId()