Class CmsSynchronizeList

java.lang.Object
org.opencms.synchronize.CmsSynchronizeList
All Implemented Interfaces:
Serializable

public class CmsSynchronizeList extends Object implements Serializable
Defines the CmsSynchronizeList object, used to store synchronisation data required to synchronize the VFS and the server FS.

Since:
6.0.0
See Also:
  • Constructor Details

    • CmsSynchronizeList

      public CmsSynchronizeList(String resName, String transResName, long modifiedVfs, long modifiedFs)
      Constructor, creates a new CmsSynchronizeList object.
      Parameters:
      resName - The name of the resource
      transResName - The name of the resource
      modifiedVfs - last modification date in the Vfs
      modifiedFs - last modification date in the Fs
  • Method Details

    • getFormatDescription

      public static String getFormatDescription()
      Returns a format description of the sync-list file on the server FS.

      Returns:
      format description
    • getModifiedFs

      public long getModifiedFs()
      Returns the last modification date in the Fs.
      Returns:
      last modification date in the Fs
    • getModifiedVfs

      public long getModifiedVfs()
      Returns the last modification date in the Vfs.
      Returns:
      last modification date in the Vfs
    • getResName

      public String getResName()
      Returns the name of the resource.
      Returns:
      name of the resource
    • getTransResName

      Returns the translated name of the resource.
      Returns:
      name of the resource
    • toString

      public String toString()
      Returns a string-representation for this object.

      This is used to create the sync list entries in the server FS

      Overrides:
      toString in class Object
      Returns:
      string-representation for this object.