com.solidstategroup.action.webmail
Class BaseWebMailAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.solidstategroup.webwork.BaseAction
          extended by com.solidstategroup.webwork.PagingAction
              extended by com.solidstategroup.action.webmail.BaseWebMailAction
All Implemented Interfaces:
com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.Preparable, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
AccountAction, AddressBookAction, FolderAction, MessageAction

public class BaseWebMailAction
extends com.solidstategroup.webwork.PagingAction
implements com.opensymphony.xwork.Preparable

BaseWebMailAction

See Also:
Serialized Form

Field Summary
protected  java.lang.String action
           
protected  Folder folder
           
static java.lang.String WEB_MAIL_ACCOUNT
           
protected  Account webMailAccount
           
 
Fields inherited from class com.solidstategroup.webwork.PagingAction
pageNumber, results, resultsPerPage, resultsTotal
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
BaseWebMailAction()
           
 
Method Summary
 java.lang.String getAction()
           
 Folder getFolder()
           
 Account getWebMailAccount()
           
 void prepare()
           
 java.lang.String retrieveAccount()
          Pulls back the account for the logged in user
protected  void setAccountInSession()
           
 void setAction(java.lang.String action)
           
 void setFolder(Folder folder)
           
 void setWebMailAccount(Account webMailAccount)
           
 void validate()
           
 
Methods inherited from class com.solidstategroup.webwork.PagingAction
copyToResults, getIndexStart, getNumberOfPages, getPageNumber, getPages, getResults, getResultsPerPage, getResultsTotal, getShowingEnd, getShowingStart, isNextPage, isPrevPage, setPageNumber, setResults, setResultsPerPage, setResultsTotal
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clone, doDefault, doInput, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

folder

protected Folder folder

action

protected java.lang.String action

webMailAccount

protected Account webMailAccount

WEB_MAIL_ACCOUNT

public static final java.lang.String WEB_MAIL_ACCOUNT
See Also:
Constant Field Values
Constructor Detail

BaseWebMailAction

public BaseWebMailAction()
Method Detail

prepare

public void prepare()
             throws java.lang.Exception
Specified by:
prepare in interface com.opensymphony.xwork.Preparable
Throws:
java.lang.Exception

validate

public void validate()
Specified by:
validate in interface com.opensymphony.xwork.Validateable
Overrides:
validate in class com.opensymphony.xwork.ActionSupport

retrieveAccount

public java.lang.String retrieveAccount()
Pulls back the account for the logged in user


setAccountInSession

protected void setAccountInSession()

getWebMailAccount

public Account getWebMailAccount()

setWebMailAccount

public void setWebMailAccount(Account webMailAccount)

getAction

public java.lang.String getAction()

setAction

public void setAction(java.lang.String action)

getFolder

public Folder getFolder()

setFolder

public void setFolder(Folder folder)