|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.threads.CmsXmlContentRepairSettings
public final class CmsXmlContentRepairSettings
Settings object that provides the settings to repair XML content resources in the OpenCms virtual file system (VFS).
Constructor Summary | |
---|---|
CmsXmlContentRepairSettings(CmsObject cms)
Default constructor with cms object that is used for VFS path validation. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsXmlContentRepairSettings(CmsObject cms)
cms
- the current users context to check the VFS path informationMethod Detail |
---|
public 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 recursively
CmsIllegalArgumentException
- if the given VFS path is not validprotected int getResourceTypeId()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |