org.mmbase.applications.mmbob
Class Mailbox

java.lang.Object
  extended by org.mmbase.applications.mmbob.Mailbox

public class Mailbox
extends Object

Author:
Daniel Ockeloen

Constructor Summary
Mailbox(Node node, Poster parent)
          Constructor
 
Method Summary
 int getId()
          get the MMBase objectnumber of the mailbox
 int getMessageCount()
          get message count of this mailbox
 int getMessageNewCount()
          get message count unread of this mailbox
 int getMessageUnreadCount()
          get message count unread of this mailbox
 String getName()
          get the name of the mailbox
 Node getNode()
          get the mailbox-node
 void readStats()
           
 boolean remove()
          remove the mailbox
 void signalMailboxChange()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mailbox

public Mailbox(Node node,
               Poster parent)
Constructor

Parameters:
node - mailbox
parent - poster
Method Detail

getName

public String getName()
get the name of the mailbox

Returns:
name of the mailbox

getMessageCount

public int getMessageCount()
get message count of this mailbox

Returns:
number of messages in this mailbox

getMessageUnreadCount

public int getMessageUnreadCount()
get message count unread of this mailbox

Returns:
number of unread messages in this mailbox

getMessageNewCount

public int getMessageNewCount()
get message count unread of this mailbox

Returns:
number of unread messages in this mailbox

getId

public int getId()
get the MMBase objectnumber of the mailbox

Returns:
MMBase objectnumber of the mailbox

remove

public boolean remove()
remove the mailbox

Returns:
true if the remove succeeded, false if it threw an exception.

getNode

public Node getNode()
get the mailbox-node

Returns:
mailbox

signalMailboxChange

public void signalMailboxChange()

readStats

public void readStats()


MMBase 2.0-SNAPSHOT - null