|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I_CmsSynchronizeModification
Defines methods which can be pluged into the syncronisation process between VFS and "real" FS.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 FS
CmsSynchronizeException
- 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 FS
CmsSynchronizeException
- 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 translated
CmsSynchronizeException
- if something goes wrong
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |