Compoze Software, Inc.

com.compoze.exchange.webdav
Class ContentClass


java.lang.Object

  |

  +--com.compoze.exchange.webdav.ContentClass


public class ContentClass
extends java.lang.Object

This class provides an extended skeletal implementation that deals specifically with Outlook types, such as folder and message types.


Field Summary
static ContentClass ACTIVITY
          This value represents the content class 'urn:content-classes:activity'.
static ContentClass APPOINTMENT
          This value represents the content class 'urn:content-classes:appointment'.
static ContentClass CALENDAR_FOLDER
          This value represents the content class 'urn:content-classes:calendarfolder'.
static ContentClass CALENDAR_MESSAGE
          This value represents the content class 'urn:content-classes:calendarmessage'.
static ContentClass CONTACT_FOLDER
          This value represents the content class 'urn:content-classes:contactfolder'.
static ContentClass DOCUMENT
          This value represents the content class 'urn:content-classes:document'.
static ContentClass DSN
          This value represents the content class 'urn:content-classes:dsn'.
static ContentClass FOLDER
          This value represents the content class 'urn:content-classes:folder'.
static ContentClass GROUP
          This value represents the content class 'urn:content-classes:group'.
static ContentClass JOURNAL_FOLDER
          This value represents the content class 'urn:content-classes:journalfolder'.
static ContentClass MAIL_FOLDER
          This value represents the content class 'urn:content-classes:mailfolder'.
static ContentClass MDN
          This value represents the content class 'urn:content-classes:mdn'.
static ContentClass MESSAGE
          This value represents the content class 'urn:content-classes:message'.
static ContentClass NOTE
          This value represents the content class 'urn:content-classes:note'.
static ContentClass NOTE_FOLDER
          This value represents the content class 'urn:content-classes:notefolder'.
static ContentClass PERSON
          This value represents the content class 'urn:content-classes:person'.
static ContentClass RECALL_MESSAGE
          This value represents the content class 'urn:content-classes:recallmessage'.
static ContentClass RECALL_REPORT
          This value represents the content class 'urn:content-classes:recallreport'.
static ContentClass REPORT_MESSAGE
          This value represents the content class 'urn:content-classes:reportmessage'.
static ContentClass TASK
          This value represents the content class 'urn:content-classes:task'.
static ContentClass TASK_FOLDER
          This value represents the content class 'urn:content-classes:taskfolder'.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other ContentClass object is "equal to" this one.
static ContentClass get(java.lang.String sName)
          Gets the content class by name.
static java.util.Collection getContentClasses()
          Gets a list of available content classes.
 IItem getInstance(com.compoze.util.webdav.Response30 response, Session session)
           
 IItem getInstance(com.compoze.util.webdav.Response30 response, Session session, Folder parentFolder)
           
 java.lang.String getValue()
          Gets the store value for this content class.
static void main(java.lang.String[] args)
           
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTIVITY


public static ContentClass ACTIVITY
This value represents the content class 'urn:content-classes:activity'.

APPOINTMENT


public static ContentClass APPOINTMENT
This value represents the content class 'urn:content-classes:appointment'.

CALENDAR_MESSAGE


public static ContentClass CALENDAR_MESSAGE
This value represents the content class 'urn:content-classes:calendarmessage'.

DOCUMENT


public static ContentClass DOCUMENT
This value represents the content class 'urn:content-classes:document'.

DSN


public static ContentClass DSN
This value represents the content class 'urn:content-classes:dsn'.

GROUP


public static ContentClass GROUP
This value represents the content class 'urn:content-classes:group'.

MDN


public static ContentClass MDN
This value represents the content class 'urn:content-classes:mdn'.

MESSAGE


public static ContentClass MESSAGE
This value represents the content class 'urn:content-classes:message'.

PERSON


public static ContentClass PERSON
This value represents the content class 'urn:content-classes:person'.

RECALL_MESSAGE


public static ContentClass RECALL_MESSAGE
This value represents the content class 'urn:content-classes:recallmessage'.

RECALL_REPORT


public static ContentClass RECALL_REPORT
This value represents the content class 'urn:content-classes:recallreport'.

REPORT_MESSAGE


public static ContentClass REPORT_MESSAGE
This value represents the content class 'urn:content-classes:reportmessage'.

NOTE


public static ContentClass NOTE
This value represents the content class 'urn:content-classes:note'.

TASK


public static ContentClass TASK
This value represents the content class 'urn:content-classes:task'.

CALENDAR_FOLDER


public static ContentClass CALENDAR_FOLDER
This value represents the content class 'urn:content-classes:calendarfolder'.

CONTACT_FOLDER


public static ContentClass CONTACT_FOLDER
This value represents the content class 'urn:content-classes:contactfolder'.

FOLDER


public static ContentClass FOLDER
This value represents the content class 'urn:content-classes:folder'.

JOURNAL_FOLDER


public static ContentClass JOURNAL_FOLDER
This value represents the content class 'urn:content-classes:journalfolder'.

MAIL_FOLDER


public static ContentClass MAIL_FOLDER
This value represents the content class 'urn:content-classes:mailfolder'.

NOTE_FOLDER


public static ContentClass NOTE_FOLDER
This value represents the content class 'urn:content-classes:notefolder'.

TASK_FOLDER


public static ContentClass TASK_FOLDER
This value represents the content class 'urn:content-classes:taskfolder'.
Method Detail

getValue


public java.lang.String getValue()
Gets the store value for this content class.
Returns:
the store value.

getInstance


public IItem getInstance(com.compoze.util.webdav.Response30 response,
                         Session session)
                  throws ItemLoadException

getInstance


public IItem getInstance(com.compoze.util.webdav.Response30 response,
                         Session session,
                         Folder parentFolder)
                  throws ItemLoadException

get


public static ContentClass get(java.lang.String sName)
Gets the content class by name.
Parameters:
sName - the name of the content class.
Returns:
the matching content class or null if not found.

getContentClasses


public static java.util.Collection getContentClasses()
Gets a list of available content classes.
Returns:
collection of content classes (unmodifiable).

equals


public boolean equals(java.lang.Object o)
Indicates whether some other ContentClass object is "equal to" this one.
Overrides:
equals in class java.lang.Object
Returns:
true if this object is the same as the argument; false otherwise.

toString


public java.lang.String toString()
Returns a string representation of this object.
Overrides:
toString in class java.lang.Object
Returns:
the string representation of the object

main


public static void main(java.lang.String[] args)

Compoze Software, Inc.

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