Class LogMessage

java.lang.Object
io.goobi.viewer.model.log.LogMessage
All Implemented Interfaces:
Serializable, Comparable<LogMessage>
Direct Known Subclasses:
CampaignLogMessage

@MappedSuperclass public class LogMessage extends Object implements Serializable, Comparable<LogMessage>
Author:
florian
See Also:
  • Constructor Details

    • LogMessage

      public LogMessage(String message, Long creatorId, javax.servlet.http.HttpServletRequest request)
      Parameters:
      message -
      creatorId -
      request -
    • LogMessage

      public LogMessage(String message, Long creatorId, LocalDateTime dateCreated, javax.servlet.http.HttpServletRequest request)
      Parameters:
      message -
      creatorId -
      dateCreated -
      request -
    • LogMessage

      public LogMessage(LogMessage source, javax.servlet.http.HttpServletRequest request)
      Parameters:
      source -
      request -
    • LogMessage

      public LogMessage(LogMessage source)
      Parameters:
      source -
    • LogMessage

      public LogMessage()
  • Method Details

    • getId

      public Long getId()
      Returns:
      the id
    • getCreatorId

      public Long getCreatorId()
      Returns:
      the creatorId
    • getDateCreated

      public LocalDateTime getDateCreated()
      Returns:
      the dateCreated
    • getMessage

      public String getMessage()
      Returns:
      the message
    • getCreator

      public UserJsonFacade getCreator()
      Returns:
      the creator
    • compareTo

      public int compareTo(LogMessage o)
      Specified by:
      compareTo in interface Comparable<LogMessage>
    • toString

      public String toString()
      Overrides:
      toString in class Object