|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--portlets.compoze.groupware.pref.AbstractPreferences | +--portlets.compoze.groupware.pref.MailPreferences
This class represents the user configurables settings for the 'Mail' feature.
For changes to be committed, the update
method must be called.
FeatureGroup.Feature.MAIL
, Serialized FormInner Class Summary | |
static class |
MailPreferences.MessageOrdering
This class represents the message ordering. |
static class |
MailPreferences.Replying
This class represents handling of original message when replying. |
static class |
MailPreferences.Signature
This class represents a message signature. |
static class |
MailPreferences.UnreadStyle
This class represents the unread message display style. |
static class |
MailPreferences.Warnings
This class represents warnings for users when sending messages. |
Field Summary | |
static int |
DEFAULT_NUMBER_OF_MESSAGES_PER_PAGE
|
Constructor Summary | |
MailPreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper,
java.lang.String sInstanceLabel)
Constructor. |
Method Summary | |
boolean |
getEmailCommaSeparator()
Gets the comma separator flag. |
static java.lang.String |
getMessageDateString(java.util.Date messageDate,
java.util.TimeZone timeZone,
java.util.Locale locale)
Gets the localized message date string. |
MailPreferences.MessageOrdering |
getMessageOrdering()
Gets the messaging order. |
int |
getNumberOfMessagesPerPage()
Gets the number of messages per page. |
MailPreferences.Replying |
getReplying()
Gets the replying rule. |
boolean |
getSaveInSent()
Gets the save in sent flag. |
boolean |
getShowFolderNavigationTree()
Gets the show folder navigation tree flag. |
MailPreferences.Signature |
getSignature()
Gets the signature. |
MailPreferences.UnreadStyle |
getUnreadStyle()
Gets the unread style. |
MailPreferences.Warnings |
getWarnings()
Gets the warnings rule. |
void |
setEmailCommaSeparator(boolean bFlag)
Sets the comma separator flag. |
void |
setMessageOrdering(MailPreferences.MessageOrdering msg)
Sets the messaging order. |
void |
setNumberOfMessagesPerPage(int iNum)
Sets the number of messages per page. |
void |
setReplying(MailPreferences.Replying replyRule)
Sets the replying rule. |
void |
setSaveInSent(boolean bFlag)
Sets the save in sent flag. |
void |
setShowFolderNavigationTree(boolean bFlag)
Sets the show folder navigation tree flag. |
void |
setSignature(MailPreferences.Signature sig)
Sets the signature. |
void |
setUnreadStyle(MailPreferences.UnreadStyle unreadStyle)
Sets the unread style. |
void |
setWarnings(MailPreferences.Warnings warn)
Sets the warnings rule. |
Methods inherited from class portlets.compoze.groupware.pref.AbstractPreferences |
getInstanceLabel, getPreference, setPreference, setPreference, setPreference, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEFAULT_NUMBER_OF_MESSAGES_PER_PAGE
Constructor Detail |
public MailPreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper, java.lang.String sInstanceLabel) throws GroupwareException
userProfileWrapper
- the user profile (may not be null
)Method Detail |
public int getNumberOfMessagesPerPage()
public static java.lang.String getMessageDateString(java.util.Date messageDate, java.util.TimeZone timeZone, java.util.Locale locale)
messageDate
- the message datetimeZone
- the time zonelocale
- the localepublic void setNumberOfMessagesPerPage(int iNum)
iNum
- the number of messages per page (must be > 0)public MailPreferences.UnreadStyle getUnreadStyle()
public void setUnreadStyle(MailPreferences.UnreadStyle unreadStyle)
unreadStyle
- the unread style (may not be null
)public boolean getSaveInSent()
true
to save in sent; false
otherwisepublic void setSaveInSent(boolean bFlag)
bFlag
- true
to save in sent; false
otherwisepublic boolean getEmailCommaSeparator()
true
to set comma as email separator; false
otherwisepublic void setEmailCommaSeparator(boolean bFlag)
bFlag
- true
to set comma as email separator; false
otherwisepublic boolean getShowFolderNavigationTree()
true
to show folder navigation tree; false
otherwisepublic void setShowFolderNavigationTree(boolean bFlag)
bFlag
- true
to show folder navigation tree; false
otherwisepublic MailPreferences.Signature getSignature()
public void setSignature(MailPreferences.Signature sig)
sig
- the signature (may not be null
)public MailPreferences.Replying getReplying()
public void setReplying(MailPreferences.Replying replyRule)
replyRule
- the reply rule (may not be null
)public MailPreferences.Warnings getWarnings()
public void setWarnings(MailPreferences.Warnings warn)
warn
- the warnings rule (may not be null
)public MailPreferences.MessageOrdering getMessageOrdering()
public void setMessageOrdering(MailPreferences.MessageOrdering msg)
msg
- the messaging order (may not be null
)
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |