Interface I_CmsSynchronizeModification


  • public interface I_CmsSynchronizeModification
    Defines methods which can be pluged into the syncronisation process between VFS and "real" FS.

    Since:
    6.0.0
    • Method Detail

      • translate

        java.lang.String translate​(CmsObject cms,
                                   java.lang.String resName)
                            throws CmsSynchronizeException
        Translates the resource name.

        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.

        Parameters:
        cms - the current CmsObject
        resName - the resource name to be translated
        Returns:
        the translated resource name or null
        Throws:
        CmsSynchronizeException - if something goes wrong