Interface I_CmsHistoryResource

All Superinterfaces:
Cloneable, Comparable<I_CmsResource>, I_CmsResource, Serializable
All Known Implementing Classes:
CmsHistoryFile, CmsHistoryFolder

A historical version of a resource in the OpenCms VFS resource history.

History resources are resources that contain additional information used to describe the historical state.

The historical resource object extends the resource object since it be an history for a file as well as for a folder.

History resources contain the names of the users that created or last modified the resource as string obejcts because a user id might have been deleted.

Since:
6.9.1
  • Method Details

    • getParentId

      Returns the structure id of the parent resource.

      Returns:
      the structure id of the parent resource
    • getPublishTag

      Returns the publish tag of this historical resource.

      Returns:
      the publish tag of this historical resource
    • getResourceVersion

      Returns the version number of the resource part for this historical resource.

      Returns:
      the version number of the resource part for this historical resource
    • getStructureVersion

      Returns the version number of the structure part for this historical resource.

      Returns:
      the version number of the structure part for this historical resource
    • getVersion

      int getVersion()
      Returns the version number of this historical resource.

      Specified by:
      getVersion in interface I_CmsResource
      Returns:
      the version number of this historical resource