public interface I_CmsSynchronizeModification
Modifier and Type | Method and Description |
---|---|
void |
modifyFs(CmsObject cms,
CmsResource vfsRes,
java.io.File fsFile)
Possibility to modify a resource after it has benn exported or updated
to the FS.
|
void |
modifyVfs(CmsObject cms,
CmsResource vfsRes,
java.io.File fsFile)
Possibility to modify a resource after it has been imported or updated
into the VFS.
|
java.lang.String |
translate(CmsObject cms,
java.lang.String resName)
Translates the resource name.
|
void modifyFs(CmsObject cms, CmsResource vfsRes, java.io.File fsFile) throws CmsSynchronizeException
cms
- the current CmsObjectvfsRes
- the resource in the VFSfsFile
- the resource in the FSCmsSynchronizeException
- if something goes wrongvoid modifyVfs(CmsObject cms, CmsResource vfsRes, java.io.File fsFile) throws CmsSynchronizeException
cms
- the current CmsObjectvfsRes
- the resource in the VFSfsFile
- the resource in the FSCmsSynchronizeException
- if something goes wrongjava.lang.String translate(CmsObject cms, java.lang.String resName) throws CmsSynchronizeException
This is nescessary since the server FS does allow different naming conventions than the VFS. If no special translation is required and the default OpenCms FS-VFS translation should be used, null must be returned.
cms
- the current CmsObjectresName
- the resource name to be translatedCmsSynchronizeException
- if something goes wrong