Class GetCoolerChannels.LastPostMessage
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.cooler.Message
org.deltava.dao.GetCoolerChannels.LastPostMessage
- All Implemented Interfaces:
Serializable, Comparable<Object>, AuthoredBean, IDBean, RemoteAddressBean, Cacheable
- Enclosing class:
GetCoolerChannels
Helper class to allow displaying of last subject in a channel.
- Since:
- 1.0
- Version:
- 10.0
- Author:
- Luke
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Message
compareTo, getAuthorID, getBody, getContentWarning, getCreatedOn, getRemoteAddr, getRemoteHost, getThreadID, setAuthorID, setBody, setContentWarning, setCreatedOn, setRemoteAddr, setRemoteHost, setThreadIDModifier and TypeMethodDescriptionintImplements default sort ordering by comparing the creation dates.intReturns the author of this message.getBody()Returns the message body.booleanReturns whether this message contains questionable content.Returns the date and time this post was written.Returns the remote IP address.Returns the remote host name.intGet the message thread ID.voidsetAuthorID(int id) Updates the author of this Message.voidUpdates this message's content.voidsetContentWarning(boolean isWarn) Toggles the content warning flag for this message.voidsetCreatedOn(Instant dt) Updates the date/time the message was written.voidsetRemoteAddr(String addr) Updates the IP address from where this message was posted.voidsetRemoteHost(String hostName) Updates the host name from where this message was posted.voidsetThreadID(int id) Updates the thread ID of this message.Methods inherited from class DatabaseBean
cacheKey, equals, getHexID, getID, hashCode, setID, validateID, validateIDModifier and TypeMethodDescriptioncacheKey()Returns the cache key for this object.booleangetHexID()Returns the hexadecimal database ID of this object.intgetID()Returns the database ID of this object.inthashCode()voidsetID(int id) Update the database row ID of this bean.static voidvalidateID(int oldID, int newID) Validates a database ID.static voidvalidateID(int oldID, int newID, boolean allowZero) Validates a database ID.Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RemoteAddressBean
getIsResolvedModifier and TypeMethodDescriptiondefault booleanReturns if the host name has been resolved.
-
Constructor Details
-
LastPostMessage
LastPostMessage(int authorID, String subject)
-
-
Method Details
-
getSubject
-