|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectportlets.compoze.groupware.model.AbstractModel
portlets.compoze.groupware.model.mail.MailModel
portlets.compoze.groupware.model.mail.ReadMailModel
This class represents the data model for the read mail page (read_mail.jsp
).
Field Summary |
Fields inherited from class portlets.compoze.groupware.model.mail.MailModel |
QUICK_VIEW_ALL, QUICK_VIEW_HIGH_PRIORITY, QUICK_VIEW_UNREAD |
Constructor Summary | |
ReadMailModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities,
FeatureGroup featureGroup,
GroupwarePreferences groupwarePrefs,
MailPreferences mailPrefs,
Accounts accounts)
Constructor. |
Method Summary | |
java.lang.String |
getCurrentFolderID()
Gets the the folder id of the folder. |
FolderNavigation |
getFolderNavigation()
Gets the folder navigation. |
Message |
getMessage()
Gets the message. |
int |
getMessageCount()
Gets the message count. |
Pagination |
getPagination()
Gets the pagination. |
portlets.compoze.groupware.controls.provider.Provider |
getProvider()
Gets the provider. |
boolean |
isCommentsSectionAvailable()
Gets true if the comments section should be shown on mail items in the user interface or false otherwise. |
boolean |
isDeleteAvailable()
Gets true if the delete functionality should be shown on mail items in the user interface or false otherwise. |
boolean |
isFirstMessage()
Returns true if the message is absolutely the first message in current user folder or false otherwise. |
boolean |
isFirstMessageInList()
Returns true if the message is the first message in current view or false otherwise. |
boolean |
isForwardAvailable()
Gets true if the forward button should be available in the user interface or false otherwise. |
boolean |
isLastMessage()
Returns true if the message is absolutely the last message in current user folder or false otherwise. |
boolean |
isLastMessageInList()
Returns true if the message is the last message in current view or false otherwise. |
boolean |
isMoveToFolderAvailable()
Gets true if the move to folder functionality should be shown on mail items in the user interface or false otherwise. |
void |
setCurrentFolderID(java.lang.String sCurrentFolderID)
Sets the current folder id of the folder. |
void |
setFolderNavigation(FolderNavigation folderNavigation)
Sets the folder navigation. |
void |
setMessage(Message msg)
Sets the message. |
void |
setMessageCount(int iMessageCount)
Sets the message count. |
void |
setPagination(Pagination pagination)
Sets the pagination. |
void |
setProvider(portlets.compoze.groupware.controls.provider.Provider provider)
Sets the provider. |
Methods inherited from class portlets.compoze.groupware.model.mail.MailModel |
getInboxFolderID, getMailPreferences, setInboxFolderID |
Methods inherited from class portlets.compoze.groupware.model.AbstractModel |
getAccounts, getActualTitle, getFeatureGroup, getGroupwarePreferences, getImAccount, getProviderCapabilities, getTitle, getTitleArgs, getTitleCrumbTrailKeys, isImAvailable, setActualTitle, setImAccount, setImAvailable, setTitle, setTitleArgs, setTitleCrumbTrailKeys |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReadMailModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities, FeatureGroup featureGroup, GroupwarePreferences groupwarePrefs, MailPreferences mailPrefs, Accounts accounts)
capabilities
- the capabilities of the provider (may not be null
)featureGroup
- the feature group (may not be null
)groupwarePrefs
- the groupware preferences (may not be null
)mailPrefs
- the mail preferences (may not be null
)Method Detail |
public void setMessage(Message msg)
msg
- the message (may not be null
)public Message getMessage()
public boolean isCommentsSectionAvailable()
true
if the comments section should be shown on mail items in the user interface or false
otherwisepublic void setMessageCount(int iMessageCount)
iMessageCount
- the message countpublic int getMessageCount()
public boolean isFirstMessage()
true
if the message is absolutely the first message in current user folder or false
otherwise.
true
if the message is absolutely the first message in current user folder or false
otherwisepublic boolean isFirstMessageInList()
true
if the message is the first message in current view or false
otherwise.
true
if the message is the first message in current view or false
otherwisepublic boolean isLastMessage()
true
if the message is absolutely the last message in current user folder or false
otherwise.
true
if the message is absolutely the last message in current user folder or false
otherwisepublic boolean isLastMessageInList()
true
if the message is the last message in current view or false
otherwise.
true
if the message is the last message in current view or false
otherwisepublic void setProvider(portlets.compoze.groupware.controls.provider.Provider provider)
provider
- the provider (may not be null
)public portlets.compoze.groupware.controls.provider.Provider getProvider()
public void setCurrentFolderID(java.lang.String sCurrentFolderID)
sCurrentFolderID
- current folder id (may not be null
)public java.lang.String getCurrentFolderID()
public boolean isMoveToFolderAvailable()
true
if the move to folder funtionality should be shown on mail items in the user interface or false
otherwisepublic boolean isDeleteAvailable()
true
if the delete functionality should be shown on mail items in the user interface or false
otherwisepublic void setPagination(Pagination pagination)
pagination
- the paginationpublic Pagination getPagination()
public FolderNavigation getFolderNavigation()
getFolderNavigation
in class MailModel
public void setFolderNavigation(FolderNavigation folderNavigation)
folderNavigation
- the folder navigation (may not be null
)public boolean isForwardAvailable()
true
if the forward button should be available in the user interface or false
otherwise
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |