Compoze Software, Inc.

portlets.compoze.groupware.model.home
Class MailHomeModel

java.lang.Object
  extended byportlets.compoze.groupware.model.AbstractModel
      extended byportlets.compoze.groupware.model.home.HomeModel
          extended byportlets.compoze.groupware.model.home.MailHomeModel
All Implemented Interfaces:
java.io.Serializable

public class MailHomeModel
extends HomeModel
implements java.io.Serializable

This class represents the data model for the mail home page (mail.jsp).

See Also:
Serialized Form

Constructor Summary
MailHomeModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities, FeatureGroup featureGroup, GroupwarePreferences groupwarePrefs, HomePreferences homePrefs, MailPreferences mailPrefs, Accounts accounts)
          Constructor.
 
Method Summary
 Folder getFolder()
          Gets the folder.
 int getFolderType()
          Gets the folder type.
 MailPreferences getMailPreferences()
          Gets the mail preferences.
 java.util.List getMessages()
          Gets the messages.
 Pagination getPagination()
          Gets the pagination.
 void setFolder(Folder folder)
          Sets the folder.
 void setFolderType(int iFolderType)
          Sets the folder type.
 void setMessages(java.util.List msgs)
          Sets the messages.
 void setMessages(Message[] messages)
          Sets the messages.
 void setPagination(Pagination pagination)
          Sets the pagination.
 
Methods inherited from class portlets.compoze.groupware.model.home.HomeModel
getDateString, getFeature, getHomePreferences, getTimeString, isOnlyOneFeatureAvailable
 
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

MailHomeModel

public MailHomeModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities,
                     FeatureGroup featureGroup,
                     GroupwarePreferences groupwarePrefs,
                     HomePreferences homePrefs,
                     MailPreferences mailPrefs,
                     Accounts accounts)
Constructor.

Parameters:
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)
homePrefs - the home preferences (may not be null)
mailPrefs - the mail preferences (may not be null)
Method Detail

getMailPreferences

public MailPreferences getMailPreferences()
Gets the mail preferences.

Returns:
the mail preferences

setMessages

public void setMessages(java.util.List msgs)
Sets the messages.

See Also:
Message

setMessages

public void setMessages(Message[] messages)
Sets the messages.

Parameters:
messages - an array of messages (may not be null)

getMessages

public java.util.List getMessages()
Gets the messages.

Returns:
a list of Message objects
See Also:
Message

getFolder

public Folder getFolder()
Gets the folder.

Returns:
the folder

setFolder

public void setFolder(Folder folder)
Sets the folder.

Parameters:
folder - the folder (may not be null)

setFolderType

public void setFolderType(int iFolderType)
Sets the folder type.

Parameters:
iFolderType - the folder type

getFolderType

public int getFolderType()
Gets the folder type.

Returns:
the the folder type

setPagination

public void setPagination(Pagination pagination)
Sets the pagination.

Parameters:
pagination - the pagination

getPagination

public Pagination getPagination()
Gets the pagination.

Returns:
the pagination

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.