org.exoplatform.mail.webui
Class UIMessageList

java.lang.Object
  extended by org.exoplatform.webui.core.UIComponent
      extended by org.exoplatform.webui.core.UIContainer
          extended by org.exoplatform.webui.form.UIForm
              extended by org.exoplatform.mail.webui.UIMessageList

public class UIMessageList
extends org.exoplatform.webui.form.UIForm

Created by The eXo Platform SARL Author : Nam Phung phunghainam@gmail.com Aus 01, 2007 2:48:18 PM


Nested Class Summary
static class UIMessageList.AddAccountActionListener
           
static class UIMessageList.AddContactActionListener
           
static class UIMessageList.AddStarActionListener
           
static class UIMessageList.AddTagActionListener
           
static class UIMessageList.AddTagDnDActionListener
           
static class UIMessageList.ComfirmPasswordActionListener
           
static class UIMessageList.CreateFilterActionListener
           
static class UIMessageList.DeleteActionListener
           
static class UIMessageList.EditDraftActionListener
           
static class UIMessageList.ExportActionListener
           
static class UIMessageList.FirstPageActionListener
           
static class UIMessageList.ForwardActionListener
           
static class UIMessageList.GroupByDateActionListener
           
static class UIMessageList.ImportActionListener
           
static class UIMessageList.LastPageActionListener
           
static class UIMessageList.MarkAsReadActionListener
           
static class UIMessageList.MarkAsUnReadActionListener
           
static class UIMessageList.MoveDirectMessagesActionListener
           
static class UIMessageList.MoveMessagesActionListener
           
static class UIMessageList.NextPageActionListener
           
static class UIMessageList.NotSpamActionListener
           
static class UIMessageList.PreviousPageActionListener
           
static class UIMessageList.PrintActionListener
           
static class UIMessageList.ReadActionListener
           
static class UIMessageList.RefreshActionListener
           
static class UIMessageList.RemoveStarActionListener
           
static class UIMessageList.ReplyActionListener
           
static class UIMessageList.ReplyAllActionListener
           
static class UIMessageList.ReportSpamActionListener
           
static class UIMessageList.SelectMessageActionListener
           
static class UIMessageList.SortActionListener
           
static class UIMessageList.UpdateListActionListener
           
static class UIMessageList.ViewAllActionListener
           
static class UIMessageList.ViewAsConversationActionListener
           
static class UIMessageList.ViewAsListActionListener
           
static class UIMessageList.ViewAsThreadActionListener
           
static class UIMessageList.ViewAttachmentActionListener
           
static class UIMessageList.ViewStarredActionListener
           
static class UIMessageList.ViewUnreadActionListener
           
 
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIContainer.SelectTabActionListener
 
Field Summary
 java.util.LinkedHashMap<java.lang.String,Message> messageList_
           
static int MODE_CONVERSATION
           
static int MODE_GROUP_BY_DATE
           
static int MODE_LIST
           
static int MODE_THREAD
           
static int VIEW_ALL
           
static int VIEW_ATTACHMENT
           
static int VIEW_READ
           
static int VIEW_STARRED
           
static int VIEW_UNREAD
           
static int VIEW_UNSTARRED
           
 int viewing_
           
 int viewMode
           
 
Fields inherited from class org.exoplatform.webui.form.UIForm
ACTION, SUBCOMPONENT_ID
 
Fields inherited from class org.exoplatform.webui.core.UIComponent
config, OBJECTID, UICOMPONENT, uiparent
 
Constructor Summary
UIMessageList()
           
 
Method Summary
 void filterMessage(java.lang.String viewQuery)
           
 java.lang.String getAccountId()
           
 java.util.List<Message> getCheckedMessage()
           
 java.util.List<Message> getCheckedMessage(boolean includeGroupedMsgs)
           
 java.util.List<Folder> getFolders(Message msg)
           
 MessageFilter getMessageFilter()
           
 java.util.List<Message> getMessageList()
           
 MessagePageList getMessagePageList()
           
 java.lang.String getSelectedFolderId()
           
 java.lang.String getSelectedMessageId()
           
 java.lang.String getSelectedTagId()
           
 java.lang.String getSortedBy()
           
 java.util.List<Tag> getTags(Message msg)
           
 java.lang.String getViewQuery()
           
 void init(java.lang.String accountId)
           
 boolean isAscending()
           
 boolean isMessagePreviewRendered()
           
 boolean isShowUnread(Message msg)
           
 void refreshBrowser(java.lang.String accId)
           
 boolean selectedDraftFolder()
           
 boolean selectedSentFolder()
           
 boolean selectedSpamFolder()
           
 void setAscending(boolean b)
           
 void setMessageFilter(MessageFilter msgFilter)
           
 void setMessagePageList(MessagePageList pageList)
           
 void setMessagePageList(MessagePageList pageList, long currentPage)
           
 void setSelectedFolderId(java.lang.String folderId)
           
 void setSelectedMessageId(java.lang.String messageId)
           
 void setSelectedTagId(java.lang.String tagId)
           
 void setSortedBy(java.lang.String sortedBy)
           
 void setViewQuery(java.lang.String view)
           
 void updateList()
           
 void updateList(long page)
           
 
Methods inherited from class org.exoplatform.webui.form.UIForm
addUIComponentInput, addUIFormInput, addUIFormInput, begin, end, event, event, event, getActions, getLabel, getLabel, getSubmitAction, getUIComponentName, getUIFormCheckBoxInput, getUIFormDateTimeInput, getUIFormInputInfo, getUIFormSelectBox, getUIFormTextAreaInput, getUIInput, getUIStringInput, invokeGetBindingBean, invokeSetBindingBean, isMultipart, processRender, renderField, renderField, reset, setActions, setMultiPart, setSubmitAction, url
 
Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentById, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChildren, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypes, visit
 
Methods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, createEvent, createUIComponent, createUIComponent, createUIComponent, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processAction, processDecode, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibbling, url, url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODE_LIST

public static final int MODE_LIST
See Also:
Constant Field Values

MODE_THREAD

public static final int MODE_THREAD
See Also:
Constant Field Values

MODE_CONVERSATION

public static final int MODE_CONVERSATION
See Also:
Constant Field Values

MODE_GROUP_BY_DATE

public static final int MODE_GROUP_BY_DATE
See Also:
Constant Field Values

VIEW_ALL

public static final int VIEW_ALL
See Also:
Constant Field Values

VIEW_STARRED

public static final int VIEW_STARRED
See Also:
Constant Field Values

VIEW_UNSTARRED

public static final int VIEW_UNSTARRED
See Also:
Constant Field Values

VIEW_UNREAD

public static final int VIEW_UNREAD
See Also:
Constant Field Values

VIEW_READ

public static final int VIEW_READ
See Also:
Constant Field Values

VIEW_ATTACHMENT

public static final int VIEW_ATTACHMENT
See Also:
Constant Field Values

viewMode

public int viewMode

viewing_

public int viewing_

messageList_

public java.util.LinkedHashMap<java.lang.String,Message> messageList_
Constructor Detail

UIMessageList

public UIMessageList()
              throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

init

public void init(java.lang.String accountId)
          throws java.lang.Exception
Throws:
java.lang.Exception

isMessagePreviewRendered

public boolean isMessagePreviewRendered()

refreshBrowser

public void refreshBrowser(java.lang.String accId)
                    throws java.lang.Exception
Throws:
java.lang.Exception

getAccountId

public java.lang.String getAccountId()

getSelectedMessageId

public java.lang.String getSelectedMessageId()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

setSelectedMessageId

public void setSelectedMessageId(java.lang.String messageId)

getSelectedFolderId

public java.lang.String getSelectedFolderId()

setSelectedFolderId

public void setSelectedFolderId(java.lang.String folderId)

getSelectedTagId

public java.lang.String getSelectedTagId()

setSelectedTagId

public void setSelectedTagId(java.lang.String tagId)

selectedSpamFolder

public boolean selectedSpamFolder()
                           throws java.lang.Exception
Throws:
java.lang.Exception

selectedDraftFolder

public boolean selectedDraftFolder()
                            throws java.lang.Exception
Throws:
java.lang.Exception

selectedSentFolder

public boolean selectedSentFolder()
                           throws java.lang.Exception
Throws:
java.lang.Exception

getViewQuery

public java.lang.String getViewQuery()

setViewQuery

public void setViewQuery(java.lang.String view)

getMessageFilter

public MessageFilter getMessageFilter()

setMessageFilter

public void setMessageFilter(MessageFilter msgFilter)

getSortedBy

public java.lang.String getSortedBy()

setSortedBy

public void setSortedBy(java.lang.String sortedBy)

isAscending

public boolean isAscending()

setAscending

public void setAscending(boolean b)

getMessagePageList

public MessagePageList getMessagePageList()

getMessageList

public java.util.List<Message> getMessageList()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

setMessagePageList

public void setMessagePageList(MessagePageList pageList)
                        throws java.lang.Exception
Throws:
java.lang.Exception

setMessagePageList

public void setMessagePageList(MessagePageList pageList,
                               long currentPage)
                        throws java.lang.Exception
Throws:
java.lang.Exception

updateList

public void updateList()
                throws java.lang.Exception
Throws:
java.lang.Exception

updateList

public void updateList(long page)
                throws java.lang.Exception
Throws:
java.lang.Exception

getCheckedMessage

public java.util.List<Message> getCheckedMessage()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

getCheckedMessage

public java.util.List<Message> getCheckedMessage(boolean includeGroupedMsgs)
                                          throws java.lang.Exception
Throws:
java.lang.Exception

getTags

public java.util.List<Tag> getTags(Message msg)
                            throws java.lang.Exception
Throws:
java.lang.Exception

getFolders

public java.util.List<Folder> getFolders(Message msg)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

isShowUnread

public boolean isShowUnread(Message msg)
                     throws java.lang.Exception
Throws:
java.lang.Exception

filterMessage

public void filterMessage(java.lang.String viewQuery)
                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2012 eXo Platform SAS. All Rights Reserved.