|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmicrosoft.exchange.webservices.data.ServiceObject
microsoft.exchange.webservices.data.ResponseObject<TMessage>
TMessage
- the generic typepublic abstract class ResponseObject<TMessage extends EmailMessage>
The Class ResponseObject.
Constructor Summary | |
---|---|
protected |
ResponseObject(Item referenceItem)
Initializes a new instance of the class. |
Method Summary | |
---|---|
protected ServiceObjectSchema |
getSchema()
Internal method to return the schema associated with this type of object. |
protected java.util.List<Item> |
internalCreate(FolderId destinationFolderId,
MessageDisposition messageDisposition)
Create the response object. |
protected void |
internalDelete(DeleteMode deleteMode,
SendCancellationsMode sendCancellationsMode,
AffectedTaskOccurrence affectedTaskOccurrences)
Deletes the object. |
protected void |
internalLoad(PropertySet propertySet)
Loads the specified set of properties on the object. |
TMessage |
save()
Saves the response in the Drafts folder. |
TMessage |
save(FolderId destinationFolderId)
Saves the response in the specified folder. |
TMessage |
save(WellKnownFolderName destinationFolderName)
Saves the response in the specified folder. |
void |
send()
Sends this response without saving a copy. |
void |
sendAndSaveCopy()
Sends this response and saves a copy in the Sent Items folder. |
void |
sendAndSaveCopy(FolderId destinationFolderId)
Sends this response and saves a copy in the specified folder. |
void |
sendAndSaveCopy(WellKnownFolderName destinationFolderName)
Sends this response and saves a copy in the specified folder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ResponseObject(Item referenceItem) throws java.lang.Exception
referenceItem
- the reference item
java.lang.Exception
- the exceptionMethod Detail |
---|
protected ServiceObjectSchema getSchema()
getSchema
in class ServiceObject
protected void internalLoad(PropertySet propertySet)
internalLoad
in class ServiceObject
propertySet
- the property setprotected void internalDelete(DeleteMode deleteMode, SendCancellationsMode sendCancellationsMode, AffectedTaskOccurrence affectedTaskOccurrences)
internalDelete
in class ServiceObject
deleteMode
- the delete modesendCancellationsMode
- the send cancellations modeaffectedTaskOccurrences
- the affected task occurrencesprotected java.util.List<Item> internalCreate(FolderId destinationFolderId, MessageDisposition messageDisposition) throws java.lang.Exception
destinationFolderId
- the destination folder idmessageDisposition
- the message disposition
java.lang.Exception
- the exceptionpublic TMessage save(FolderId destinationFolderId) throws java.lang.Exception
destinationFolderId
- the destination folder id
java.lang.Exception
- the exceptionpublic TMessage save(WellKnownFolderName destinationFolderName) throws java.lang.Exception
destinationFolderName
- the destination folder name
java.lang.Exception
- the exceptionpublic TMessage save() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void send() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void sendAndSaveCopy(FolderId destinationFolderId) throws java.lang.Exception
destinationFolderId
- the destination folder id
java.lang.Exception
- the exceptionpublic void sendAndSaveCopy(WellKnownFolderName destinationFolderName) throws java.lang.Exception
destinationFolderName
- the destination folder name
java.lang.Exception
- the exceptionpublic void sendAndSaveCopy() throws java.lang.Exception
java.lang.Exception
- the exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |