|
|||||||||
| 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 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 Exception
referenceItem - the reference item
Exception - the exception| Method Detail |
|---|
protected ServiceObjectSchema getSchema()
getSchema in class ServiceObjectprotected void internalLoad(PropertySet propertySet)
internalLoad in class ServiceObjectpropertySet - the property set
protected void internalDelete(DeleteMode deleteMode,
SendCancellationsMode sendCancellationsMode,
AffectedTaskOccurrence affectedTaskOccurrences)
internalDelete in class ServiceObjectdeleteMode - the delete modesendCancellationsMode - the send cancellations modeaffectedTaskOccurrences - the affected task occurrences
protected List<Item> internalCreate(FolderId destinationFolderId,
MessageDisposition messageDisposition)
throws Exception
destinationFolderId - the destination folder idmessageDisposition - the message disposition
Exception - the exception
public TMessage save(FolderId destinationFolderId)
throws Exception
destinationFolderId - the destination folder id
Exception - the exception
public TMessage save(WellKnownFolderName destinationFolderName)
throws Exception
destinationFolderName - the destination folder name
Exception - the exception
public TMessage save()
throws Exception
Exception - the exception
public void send()
throws Exception
Exception - the exception
public void sendAndSaveCopy(FolderId destinationFolderId)
throws Exception
destinationFolderId - the destination folder id
Exception - the exception
public void sendAndSaveCopy(WellKnownFolderName destinationFolderName)
throws Exception
destinationFolderName - the destination folder name
Exception - the exception
public void sendAndSaveCopy()
throws Exception
Exception - the exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||