|
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.model.AbstractModel
|
+--portlets.compoze.groupware.model.DialogModel
|
+--portlets.compoze.groupware.model.AttachmentsModel
This class represents the data model for the attachments dialog page.
| Field Summary | |
static java.lang.String |
ATTACHMENT_NAME_SEPARATOR
|
| Fields inherited from class portlets.compoze.groupware.model.DialogModel |
DIALOG_SESSION_ATTRIBUTE |
| Constructor Summary | |
AttachmentsModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities,
GroupwarePreferences groupwarePrefs,
java.lang.String sSkinPath)
Constructor. |
|
| Method Summary | |
AttachmentInfo[] |
getAttachmentInfoArray()
Gets the attachment info array. |
static java.lang.String |
getAttachmentNames(AttachmentInfo[] info)
Gets the attachment names. |
static java.lang.String |
getAttachmentNames(AttachmentInfo[] info,
java.lang.String sDelim)
Gets the attachment names. |
java.lang.String[] |
getErrorMessageArgs()
Gets the error message arguments. |
java.lang.String |
getErrorMessageName()
Gets the error message name. |
java.util.Locale |
getLocale()
Gets the locale. |
long |
getMaximumAttachmentSize()
Gets the maximum attachment size (in kilobytes). |
java.lang.String |
getMessageID()
Gets the message ID. |
void |
setAttachmentInfoArray(AttachmentInfo[] info)
Sets the attachment info array. |
void |
setErrorMessageArgs(java.lang.String[] args)
Sets the error message arguments. |
void |
setErrorMessageName(java.lang.String sErrorMessageName)
Sets the error message name. |
void |
setLocale(java.util.Locale locale)
Sets the locale. |
void |
setMaximumAttachmentSize(long lMaxAttachmentSize)
Sets the maximum attachment size (in kilobytes). |
void |
setMessageID(java.lang.String sMessageID)
Sets the message ID. |
| Methods inherited from class portlets.compoze.groupware.model.DialogModel |
getCompozeCSS, getCompozeImages, getCurrentSkinPath |
| 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 |
| Field Detail |
public static final java.lang.String ATTACHMENT_NAME_SEPARATOR
| Constructor Detail |
public AttachmentsModel(portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities,
GroupwarePreferences groupwarePrefs,
java.lang.String sSkinPath)
capabilities - the capabilities of the provider (may not be null)groupwarePrefs - the groupware preferences (may not be null)sSkinPath - the skin path (may not be null)| Method Detail |
public java.lang.String getErrorMessageName()
null for no errorpublic void setErrorMessageName(java.lang.String sErrorMessageName)
sErrorMessageName - the error message name or null for no errorpublic java.lang.String[] getErrorMessageArgs()
null for nonegetErrorMessageName()public void setErrorMessageArgs(java.lang.String[] args)
args - the error message arguments or null for nonegetErrorMessageName()public void setAttachmentInfoArray(AttachmentInfo[] info)
info - the attachment info array (may not be null)public AttachmentInfo[] getAttachmentInfoArray()
public static java.lang.String getAttachmentNames(AttachmentInfo[] info)
info - the attachment infoATTACHMENT_NAME_SEPARATOR
public static java.lang.String getAttachmentNames(AttachmentInfo[] info,
java.lang.String sDelim)
info - the attachment infosDelim - the attachment name delimiterpublic java.lang.String getMessageID()
public void setMessageID(java.lang.String sMessageID)
sMessageID - the message IDpublic long getMaximumAttachmentSize()
public void setMaximumAttachmentSize(long lMaxAttachmentSize)
iSize - the maximum attachment size (in kilobytes)public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
locale - the locale
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||