| 
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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 | |
 java.lang.String | 
getBodyHtml()
Gets the HTML body.  | 
 java.lang.String | 
getBodyHtml(boolean bBodyOnly,
            IEmbeddedImageListener listener)
Gets the HTML body.  | 
 java.lang.String[] | 
getCategories()
Gets the categories.  | 
 java.util.Date | 
getDateCreated()
Gets the date the item was created.  | 
 java.util.Date | 
getDateLastModified()
Gets the date the item was last modified.  | 
 Importance | 
getImportance()
Gets the importance.  | 
 java.lang.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.  | 
 java.lang.String | 
getSubject()
Gets the subject.  | 
 java.lang.String | 
getSubject(int iMaxLength,
           java.lang.String sPostFix)
Gets a truncated version of the subject.  | 
 java.lang.String | 
getSubjectPrefix()
Gets the subject prefix (for example, RE: or FW:). | 
 void | 
setBodyHtml(java.lang.String sHtmlBody)
Sets the HTML body.  | 
 void | 
setCategories(java.lang.String[] categories)
Sets the categories.  | 
 void | 
setImportance(Importance importance)
Sets the importance.  | 
 void | 
setSubject(java.lang.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 | 
public static final int KEYID_CATEGORIES
int ID for the CATEGORIES key.public static final int KEYID_DATE_CREATED
int ID for the DATE_CREATED key.public static final int KEYID_IMPORTANCE
int ID for the IMPORTANCE key.public static final int KEYID_DATE_LAST_MODIFIED
int ID for the DATE_LAST_MODIFIED key.public static final int KEYID_SIZE
int ID for the SIZE key.public static final int KEYID_SUBJECT
int ID for the SUBJECT key.public static final Key CATEGORIES
public static final Key DATE_CREATED
public static final Key IMPORTANCE
public static final Key DATE_LAST_MODIFIED
public static final Key SIZE
public static final Key SUBJECT
| Method Detail | 
public java.lang.String getBodyHtml()
                             throws CollaborationException
getBodyHtml in interface IMessagingItemnull)IMessagingItem.BODY_HTML
public java.lang.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
public void setBodyHtml(java.lang.String sHtmlBody)
                 throws CollaborationException
setBodyHtml in interface IMessagingItemsHtmlBody - the unescaped HTML body (not null)IMessagingItem.BODY_HTML
public java.lang.String[] getCategories()
                                 throws CollaborationException
CollaborationException - if there was a problem retrieving the
              Categories field for this item.CATEGORIES
public void setCategories(java.lang.String[] categories)
                   throws CollaborationException
categories - the categories (not null)CollaborationException - if there was a problem setting the
              Categories for this item.CATEGORIES
public java.util.Date getDateCreated()
                              throws CollaborationException
CollaborationException - if there was a problem getting the 
              creation date for this item.DATE_CREATED
public Importance getImportance()
                         throws CollaborationException
null)CollaborationException - if there was a problem retrieving the
              importance for this item.IMPORTANCE
public void setImportance(Importance importance)
                   throws CollaborationException
importance - the importance (not null)CollaborationException - if there was a problem setting the
              importance for this item.IMPORTANCE
public java.util.Date getDateLastModified()
                                   throws CollaborationException
CollaborationException - if there was a problem getting the 
              date this item was last modified.DATE_LAST_MODIFIED
public int getSize()
            throws CollaborationException
CollaborationException - if there was a problem getting the
              size of this item.SIZE
public java.lang.String getSubject()
                            throws CollaborationException
null)CollaborationException - if there was a problem getting the  
              subject of this item.SUBJECT
public void setSubject(java.lang.String sSubject)
                throws CollaborationException
sSubject - the subject (not null)CollaborationException - if there was a problem setting the  
              subject for this item.SUBJECT
public java.lang.String getSubjectPrefix()
                                  throws CollaborationException
RE: or FW:).null if the subject prefix
		could not be matchedCollaborationException - if there was a problem getting the
              subject prefix for this item.SUBJECT
public java.lang.String getNormalizedSubject()
                                      throws CollaborationException
RE: or FW:).CollaborationException - if there was a problem getting the
              normalized subject for this item.SUBJECT
public java.lang.String getSubject(int iMaxLength,
                                   java.lang.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
  | 
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||