Class RecentHistoryEntry

java.lang.Object
com.jalios.jcms.recenthistory.RecentHistoryEntry
All Implemented Interfaces:
Serializable, Comparable

public class RecentHistoryEntry extends Object implements Serializable, Comparable
See Also:
  • Constructor Details

    • RecentHistoryEntry

      public RecentHistoryEntry(String id)
      Parameters:
      id -
    • RecentHistoryEntry

      public RecentHistoryEntry(String id, Date accessDate)
  • Method Details

    • getId

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

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

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

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

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

      public String toString()
      Overrides:
      toString in class Object