Class CmsHistoryResourceCollection

java.lang.Object
org.opencms.gwt.shared.CmsHistoryResourceCollection
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsHistoryResourceCollection extends Object implements com.google.gwt.user.client.rpc.IsSerializable
A collection of historical versions of a resource.

  • Constructor Details

  • Method Details

    • add

      public void add(CmsHistoryResourceBean historyBean)
      Adds the information for a historical resource version.

      Parameters:
      historyBean - bean representing a historical resource version
    • getContentInfo

      Gets the information bean for the current resource version.

      Returns:
      the information bean for the current version
    • getResources

      Gets the list of historical versions.

      Returns:
      the list of historical versions
    • isEmpty

      public boolean isEmpty()
      Returns true if there are no historical versions.

      Returns:
      true if there are no historical versions
    • setContentInfo

      public void setContentInfo(CmsListInfoBean contentInfo)
      Sets the content information for the current version.

      Parameters:
      contentInfo - the content information