Class VersionInformation

java.lang.Object
org.ametys.cms.workflow.history.VersionInformation

public class VersionInformation extends Object
Object representing the version information
  • Constructor Details

  • Method Details

    • setVersionName

      public void setVersionName(String name)
      Set the version name
      Parameters:
      name - The name
    • getVersionName

      Retrieves the version name.
      Returns:
      the version name.
    • getVersionRawName

      Retrieves the version raw name.
      Returns:
      the version raw name.
    • getCreatedAt

      public Date getCreatedAt() throws javax.jcr.RepositoryException
      Retrieves the creation date.
      Returns:
      the creation date.
      Throws:
      javax.jcr.RepositoryException - if an error occurs.
    • getLabels

      public Set<String> getLabels()
      Retrieves the labels associated with this version.
      Returns:
      the labels.
    • addLabel

      public void addLabel(String label)
      Add a label to this version.
      Parameters:
      label - the label.