Class RecentHistoryEntry

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable

    public class RecentHistoryEntry
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(java.lang.Object o)  
      java.util.Date getAccessTime()
      Accessed date.
      java.lang.String getId()
      Get the jcms id of the accessed data
      void setAccessTime​(java.util.Date v)
      Set the access time.
      void setId​(java.lang.String v)
      Set the id of the accessed data.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RecentHistoryEntry

        public RecentHistoryEntry​(java.lang.String id)
        Parameters:
        id -
      • RecentHistoryEntry

        public RecentHistoryEntry​(java.lang.String id,
                                  java.util.Date accessDate)
    • Method Detail

      • getId

        public java.lang.String getId()
        Get the jcms id of the accessed data
        Returns:
        the id of the RecentHistoryEntry
      • getAccessTime

        public java.util.Date getAccessTime()
        Accessed date.
        Returns:
        the access time of the RecentHistoryEntry
      • setId

        public void setId​(java.lang.String v)
        Set the id of the accessed data.
        Parameters:
        v -
      • setAccessTime

        public void setAccessTime​(java.util.Date v)
        Set the access time.
        Parameters:
        v -
      • compareTo

        public int compareTo​(java.lang.Object o)
                      throws java.lang.ClassCastException
        Specified by:
        compareTo in interface java.lang.Comparable
        Throws:
        java.lang.ClassCastException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object