ePOST API

rice.email.proxy.web
Class WebState

java.lang.Object
  extended by rice.email.proxy.web.WebState

public class WebState
extends java.lang.Object


Field Summary
protected  MailFolder currentFolder
           
protected  int currentMessageUID
           
protected  User user
           
protected  UserManager userManager
           
 
Constructor Summary
WebState(UserManager userManager)
           
 
Method Summary
 MailFolder getCurrentFolder()
           
 int getCurrentMessageUID()
           
 java.lang.String getPassword(java.lang.String username)
           
 User getUser()
           
 User getUser(java.lang.String username)
           
 void setCurrentFolder(java.lang.String name)
           
 void setCurrentMessageUID(int uid)
           
 void setUser(User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

user

protected User user

currentFolder

protected MailFolder currentFolder

currentMessageUID

protected int currentMessageUID

userManager

protected UserManager userManager
Constructor Detail

WebState

public WebState(UserManager userManager)
Method Detail

getUser

public User getUser()

getCurrentFolder

public MailFolder getCurrentFolder()

getCurrentMessageUID

public int getCurrentMessageUID()

setCurrentMessageUID

public void setCurrentMessageUID(int uid)

setCurrentFolder

public void setCurrentFolder(java.lang.String name)
                      throws UserException,
                             MailboxException
Throws:
UserException
MailboxException

setUser

public void setUser(User user)
             throws UserException,
                    MailboxException
Throws:
UserException
MailboxException

getUser

public User getUser(java.lang.String username)
             throws UserException
Throws:
UserException

getPassword

public java.lang.String getPassword(java.lang.String username)
                             throws UserException
Throws:
UserException

ePOST API

Copyright © 2001-2005 - Rice Pastry.