|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IGroupwareItem
Classes that implement this interface are items in the groupware schema.
| Field Summary | |
|---|---|
static Key |
CATEGORIES
Represents the user defined categories of a groupware item. |
static Key |
DATE_CREATED
Represents the date the item was created by the user. |
static Key |
DATE_LAST_MODIFIED
Represents the date the item was created by the user. |
static Key |
IMPORTANCE
Represents the importance of the item. |
static int |
KEYID_CATEGORIES
The int ID for the CATEGORIES key. |
static int |
KEYID_DATE_CREATED
The int ID for the DATE_CREATED key. |
static int |
KEYID_DATE_LAST_MODIFIED
The int ID for the DATE_LAST_MODIFIED key. |
static int |
KEYID_IMPORTANCE
The int ID for the IMPORTANCE key. |
static int |
KEYID_SIZE
The int ID for the SIZE key. |
static int |
KEYID_SUBJECT
The int ID for the SUBJECT key. |
static Key |
SIZE
Represents the size of the item in bytes. |
static Key |
SUBJECT
Represents the subject of the item. |
| Fields inherited from interface com.compoze.collab.messaging.IMessagingItem |
|---|
BODY, BODY_HTML, KEYID_BODY, KEYID_BODY_HTML |
| Fields inherited from interface com.compoze.collab.IItem |
|---|
CLASS, ID, ITEM_CLASS, KEYID_ID, KEYID_ITEM_CLASS, KEYID_PARENT_ID, MINIMUM_ITEM_KEYS, PARENT_ID |
| Method Summary | |
|---|---|
String |
getBodyHtml()
Gets the HTML body. |
String |
getBodyHtml(boolean bBodyOnly,
IEmbeddedImageListener listener)
Gets the HTML body. |
String[] |
getCategories()
Gets the categories. |
Date |
getDateCreated()
Gets the date the item was created. |
Date |
getDateLastModified()
Gets the date the item was last modified. |
Importance |
getImportance()
Gets the importance. |
String |
getNormalizedSubject()
Gets the normalized subject (for example, the part of the subject after RE: or FW:). |
int |
getSize()
Gets the size of the item, in bytes. |
String |
getSubject()
Gets the subject. |
String |
getSubject(int iMaxLength,
String sPostFix)
Gets a truncated version of the subject. |
String |
getSubjectPrefix()
Gets the subject prefix (for example, RE: or FW:). |
void |
setBodyHtml(String sHtmlBody)
Sets the HTML body. |
void |
setCategories(String[] categories)
Sets the categories. |
void |
setImportance(Importance importance)
Sets the importance. |
void |
setSubject(String sSubject)
Sets the subject. |
| Methods inherited from interface com.compoze.collab.messaging.IMessagingItem |
|---|
getBody, setBody |
| Methods inherited from interface com.compoze.collab.IItem |
|---|
commit, containsKey, containsKey, copyProperties, copyTo, delete, fetchProperties, getAttribute, getEnum, getID, getInputStream, getItemClass, getOutputStream, getParent, getParent, getParentID, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getReader, getRootContainer, getSession, getWriter, isMissing, moveTo, removeAttribute, removeProperty, setAttribute, setProperties, setProperty, setProperty, setProperty |
| Field Detail |
|---|
static final int KEYID_CATEGORIES
int ID for the CATEGORIES key.
static final int KEYID_DATE_CREATED
int ID for the DATE_CREATED key.
static final int KEYID_IMPORTANCE
int ID for the IMPORTANCE key.
static final int KEYID_DATE_LAST_MODIFIED
int ID for the DATE_LAST_MODIFIED key.
static final int KEYID_SIZE
int ID for the SIZE key.
static final int KEYID_SUBJECT
int ID for the SUBJECT key.
static final Key CATEGORIES
static final Key DATE_CREATED
static final Key IMPORTANCE
static final Key DATE_LAST_MODIFIED
static final Key SIZE
static final Key SUBJECT
| Method Detail |
|---|
String getBodyHtml()
throws CollaborationException
getBodyHtml in interface IMessagingItemnull)
CollaborationExceptionIMessagingItem.BODY_HTML
String getBodyHtml(boolean bBodyOnly,
IEmbeddedImageListener listener)
throws CollaborationException
bBodyOnly - if true, only return the part
of the HTML page between the open and close body tags
(useful for embedding in an already existing page)listener - the embedded image listener (if null
then do not process embedded images)
null)
CollaborationException - if there was a problem retrieving the
HTML body of this message.IMessagingItem.BODY_HTML
void setBodyHtml(String sHtmlBody)
throws CollaborationException
setBodyHtml in interface IMessagingItemsHtmlBody - the unescaped HTML body (not null)
CollaborationExceptionIMessagingItem.BODY_HTML
String[] getCategories()
throws CollaborationException
CollaborationException - if there was a problem retrieving the
Categories field for this item.CATEGORIES
void setCategories(String[] categories)
throws CollaborationException
categories - the categories (not null)
CollaborationException - if there was a problem setting the
Categories for this item.CATEGORIES
Date getDateCreated()
throws CollaborationException
CollaborationException - if there was a problem getting the
creation date for this item.DATE_CREATED
Importance getImportance()
throws CollaborationException
null)
CollaborationException - if there was a problem retrieving the
importance for this item.IMPORTANCE
void setImportance(Importance importance)
throws CollaborationException
importance - the importance (not null)
CollaborationException - if there was a problem setting the
importance for this item.IMPORTANCE
Date getDateLastModified()
throws CollaborationException
CollaborationException - if there was a problem getting the
date this item was last modified.DATE_LAST_MODIFIED
int getSize()
throws CollaborationException
CollaborationException - if there was a problem getting the
size of this item.SIZE
String getSubject()
throws CollaborationException
null)
CollaborationException - if there was a problem getting the
subject of this item.SUBJECT
void setSubject(String sSubject)
throws CollaborationException
sSubject - the subject (not null)
CollaborationException - if there was a problem setting the
subject for this item.SUBJECT
String getSubjectPrefix()
throws CollaborationException
RE: or FW:).
null if the subject prefix
could not be matched
CollaborationException - if there was a problem getting the
subject prefix for this item.SUBJECT
String getNormalizedSubject()
throws CollaborationException
RE: or FW:).
CollaborationException - if there was a problem getting the
normalized subject for this item.SUBJECT
String getSubject(int iMaxLength,
String sPostFix)
throws CollaborationException
iMaxLength - the maximum length of the subject with postfixsPostFix - the truncation string (for example
"..."
CollaborationException - if there was a problem getting the
truncated subject for this itemSUBJECT
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||