palio.modules.forum.dao
Class MessageDAO
java.lang.Object
palio.modules.forum.dao.MessageDAO
- All Implemented Interfaces:
- SimpleDAO
public class MessageDAO
- extends java.lang.Object
- implements SimpleDAO
- Author:
- leszek
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageDAO
public MessageDAO()
save
public void save(SQLConnectable connector)
throws palio.PalioException,
DAOException
- Description copied from interface:
SimpleDAO
- Zapisuje obiekt w bazie danych; dane obiektu muszą być wypełnione!
Jeżeli obiekt istnieje, jest on update-owany.
- Specified by:
save
in interface SimpleDAO
- Throws:
DAOException
palio.PalioException
retrieve
public void retrieve(SQLConnectable connector,
java.lang.Object id)
throws palio.PalioException,
DAOException
- Description copied from interface:
SimpleDAO
- Pobiera dane do pustego obiektu.
- Specified by:
retrieve
in interface SimpleDAO
id
- identyfikator obiektu w bazie
- Throws:
DAOException
palio.PalioException
getActiveMessages
public static java.util.LinkedList getActiveMessages(SQLConnectable connector,
java.lang.Long threadId,
java.lang.Long start,
java.lang.Long count,
java.lang.Boolean revSort,
java.lang.Boolean showContent)
throws palio.PalioException
- Throws:
palio.PalioException
getDate
public java.util.Date getDate()
- Returns:
- Returns the date.
setDate
public void setDate(java.util.Date date)
- Parameters:
date
- The date to set.
getContent
public java.lang.String getContent()
- Returns:
- Returns the content.
setContent
public void setContent(java.lang.String content)
- Parameters:
content
- The content to set.
getGuest
public java.lang.String getGuest()
- Returns:
- Returns the guest.
setGuest
public void setGuest(java.lang.String guest)
- Parameters:
guest
- The guest to set.
getGuestEmail
public java.lang.String getGuestEmail()
- Returns:
- Returns the guestEmail.
setGuestEmail
public void setGuestEmail(java.lang.String guestEmail)
- Parameters:
guestEmail
- The guestEmail to set.
getId
public java.lang.Long getId()
- Returns:
- Returns the id.
setId
public void setId(java.lang.Long id)
- Parameters:
id
- The id to set.
getSignature
public java.lang.Boolean getSignature()
- Returns:
- Returns the signature.
setSignature
public void setSignature(java.lang.Boolean signature)
- Parameters:
signature
- The signature to set.
getUserId
public java.lang.Long getUserId()
- Returns:
- Returns the userId.
setUserId
public void setUserId(java.lang.Long userId)
- Parameters:
userId
- The userId to set.
getThreadId
public java.lang.Long getThreadId()
- Returns:
- Returns the threadId.
setThreadId
public void setThreadId(java.lang.Long threadId)
- Parameters:
threadId
- The threadId to set.
getStatus
public java.lang.String getStatus()
- Returns:
- Returns the status.
setStatus
public void setStatus(java.lang.String status)
- Parameters:
status
- The status to set.
getIP
public java.lang.String getIP()
- Returns:
- Returns the iP.
setIP
public void setIP(java.lang.String ip)
- Parameters:
ip
- The iP to set.
getTitle
public java.lang.String getTitle()
- Returns:
- Returns the title.
setTitle
public void setTitle(java.lang.String title)
- Parameters:
title
- The title to set.