Package io.goobi.viewer.model.log
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 Summary
ConstructorDescriptionLogMessage
(LogMessage source) LogMessage
(LogMessage source, javax.servlet.http.HttpServletRequest request) LogMessage
(String message, Long creatorId, LocalDateTime dateCreated, javax.servlet.http.HttpServletRequest request) LogMessage
(String message, Long creatorId, javax.servlet.http.HttpServletRequest request) -
Method Summary
-
Constructor Details
-
LogMessage
- Parameters:
message
-creatorId
-request
-
-
LogMessage
public LogMessage(String message, Long creatorId, LocalDateTime dateCreated, javax.servlet.http.HttpServletRequest request) - Parameters:
message
-creatorId
-dateCreated
-request
-
-
LogMessage
- Parameters:
source
-request
-
-
LogMessage
- Parameters:
source
-
-
LogMessage
public LogMessage()
-
-
Method Details
-
getId
- Returns:
- the id
-
getCreatorId
- Returns:
- the creatorId
-
getDateCreated
- Returns:
- the dateCreated
-
getMessage
- Returns:
- the message
-
getCreator
- Returns:
- the creator
-
compareTo
- Specified by:
compareTo
in interfaceComparable<LogMessage>
-
toString
-