Class CmsHistoryResourceCollection

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable

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

    • Method Detail

      • add

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

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

        public CmsListInfoBean getContentInfo()
        Gets the information bean for the current resource version.

        Returns:
        the information bean for the current version
      • 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