Package org.opencms.synchronize
Class CmsSynchronizeList
- java.lang.Object
-
- org.opencms.synchronize.CmsSynchronizeList
-
- All Implemented Interfaces:
java.io.Serializable
public class CmsSynchronizeList extends java.lang.Object implements java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CmsSynchronizeList(java.lang.String resName, java.lang.String transResName, long modifiedVfs, long modifiedFs)
Constructor, creates a new CmsSynchronizeList object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getFormatDescription()
Returns a format description of the sync-list file on the server FS.long
getModifiedFs()
Returns the last modification date in the Fs.long
getModifiedVfs()
Returns the last modification date in the Vfs.java.lang.String
getResName()
Returns the name of the resource.java.lang.String
getTransResName()
Returns the translated name of the resource.java.lang.String
toString()
Returns a string-representation for this object.
-
-
-
Constructor Detail
-
CmsSynchronizeList
public CmsSynchronizeList(java.lang.String resName, java.lang.String transResName, long modifiedVfs, long modifiedFs)
Constructor, creates a new CmsSynchronizeList object.- Parameters:
resName
- The name of the resourcetransResName
- The name of the resourcemodifiedVfs
- last modification date in the VfsmodifiedFs
- last modification date in the Fs
-
-
Method Detail
-
getFormatDescription
public static java.lang.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 java.lang.String getResName()
Returns the name of the resource.- Returns:
- name of the resource
-
getTransResName
public java.lang.String getTransResName()
Returns the translated name of the resource.- Returns:
- name of the resource
-
toString
public java.lang.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 classjava.lang.Object
- Returns:
- string-representation for this object.
-
-