Package org.opencms.synchronize
Class CmsSynchronizeList
java.lang.Object
org.opencms.synchronize.CmsSynchronizeList
- All Implemented Interfaces:
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 Summary
ConstructorDescriptionCmsSynchronizeList
(String resName, String transResName, long modifiedVfs, long modifiedFs) Constructor, creates a new CmsSynchronizeList object. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Returns a format description of the sync-list file on the server FS.long
Returns the last modification date in the Fs.long
Returns the last modification date in the Vfs.Returns the name of the resource.Returns the translated name of the resource.toString()
Returns a string-representation for this object.
-
Constructor Details
-
CmsSynchronizeList
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 Details
-
getFormatDescription
Returns a format description of the sync-list file on the server FS.- Returns:
- format description
-
getModifiedFs
Returns the last modification date in the Fs.- Returns:
- last modification date in the Fs
-
getModifiedVfs
Returns the last modification date in the Vfs.- Returns:
- last modification date in the Vfs
-
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
Returns a string-representation for this object.This is used to create the sync list entries in the server FS
-