org.apache.james.mailboxmanager.torque.om
Class MailboxRow

java.lang.Object
  extended by org.apache.torque.om.BaseObject
      extended by org.apache.james.mailboxmanager.torque.om.BaseMailboxRow
          extended by org.apache.james.mailboxmanager.torque.om.MailboxRow
All Implemented Interfaces:
java.io.Serializable, org.apache.torque.om.Persistent

public class MailboxRow
extends BaseMailboxRow
implements org.apache.torque.om.Persistent

The skeleton for this class was autogenerated by Torque on: [Wed Sep 06 08:50:08 CEST 2006] You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.james.mailboxmanager.torque.om.BaseMailboxRow
collMessageRows
 
Fields inherited from class org.apache.torque.om.BaseObject
NEW_ID
 
Constructor Summary
MailboxRow()
           
MailboxRow(java.lang.String string, long uidValidity)
           
 
Method Summary
 MailboxRow consumeNextUid()
           
 int countMessages()
           
 int countMessages(javax.mail.Flags flags, boolean value)
           
 void resetRecent()
           
 
Methods inherited from class org.apache.james.mailboxmanager.torque.om.BaseMailboxRow
addMessageRow, copy, copy, copyInto, copyInto, getByName, getByPeerName, getByPosition, getFieldNames, getLastUid, getMailboxId, getMessageCount, getMessageRows, getMessageRows, getMessageRows, getMessageRows, getMessageRowsJoinMailboxRow, getName, getPeer, getPrimaryKey, getSize, getTableMap, getUidValidity, initMessageRows, save, save, save, setByName, setByPeerName, setByPosition, setLastUid, setMailboxId, setMessageCount, setName, setPrimaryKey, setPrimaryKey, setSize, setUidValidity, toString
 
Methods inherited from class org.apache.torque.om.BaseObject
equals, equals, getLog, hashCode, isModified, isNew, resetModified, setModified, setNew, setPrimaryKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.torque.om.Persistent
getPrimaryKey, isModified, isNew, save, save, save, setModified, setNew, setPrimaryKey, setPrimaryKey
 

Constructor Detail

MailboxRow

public MailboxRow(java.lang.String string,
                  long uidValidity)

MailboxRow

public MailboxRow()
Method Detail

consumeNextUid

public MailboxRow consumeNextUid()
                          throws java.sql.SQLException,
                                 org.apache.torque.TorqueException
Throws:
java.sql.SQLException
org.apache.torque.TorqueException

countMessages

public int countMessages()
                  throws org.apache.torque.TorqueException,
                         com.workingdogs.village.DataSetException
Throws:
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException

countMessages

public int countMessages(javax.mail.Flags flags,
                         boolean value)
                  throws org.apache.torque.TorqueException,
                         com.workingdogs.village.DataSetException
Throws:
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException

resetRecent

public void resetRecent()
                 throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.