|
|||||||||
| 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.PostReply
public final class PostReply
Represents a reply to a post item.
| Constructor Summary | |
|---|---|
protected |
PostReply(Item referenceItem)
Initializes a new instance of the class. |
| Method Summary | |
|---|---|
MessageBody |
getBody()
Gets the body of the post reply. |
MessageBody |
getBodyPrefix()
Gets the body prefix that should be prepended to the original post item's body. |
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the minimum required server version. |
ServiceObjectSchema |
getSchema()
Internal method to return the schema associated with this type of object. |
String |
getSubject()
Gets the subject of the post reply. |
protected PostItem |
internalCreate(FolderId parentFolderId,
MessageDisposition messageDisposition)
Create a PostItem response. |
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. |
PostItem |
save()
Saves the post reply in the same folder as the original post item. |
PostItem |
save(FolderId destinationFolderId)
Saves the post reply in the same folder as the original post item. |
PostItem |
save(WellKnownFolderName destinationFolderName)
Saves the post reply in a specified folder. |
void |
setBody(MessageBody value)
Sets the body. |
void |
setBodyPrefix(MessageBody value)
Sets the body prefix. |
void |
setSubject(String value)
Sets the subject. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected PostReply(Item referenceItem)
throws Exception
referenceItem - the reference item
Exception - the exception| Method Detail |
|---|
public ServiceObjectSchema getSchema()
getSchema in class ServiceObjectprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion in class ServiceObject
protected PostItem internalCreate(FolderId parentFolderId,
MessageDisposition messageDisposition)
throws Exception
parentFolderId - the parent folder idmessageDisposition - the message disposition
Exception - the exception
protected void internalLoad(PropertySet propertySet)
throws InvalidOperationException
internalLoad in class ServiceObjectpropertySet - the property set
InvalidOperationException - the invalid operation exception
protected void internalDelete(DeleteMode deleteMode,
SendCancellationsMode sendCancellationsMode,
AffectedTaskOccurrence affectedTaskOccurrences)
throws InvalidOperationException
internalDelete in class ServiceObjectdeleteMode - the delete modesendCancellationsMode - the send cancellations modeaffectedTaskOccurrences - the affected task occurrences
InvalidOperationException - the invalid operation exception
public PostItem save()
throws Exception
Exception - the exception
public PostItem save(FolderId destinationFolderId)
throws Exception
destinationFolderId - the destination folder id
Exception - the exception
public PostItem save(WellKnownFolderName destinationFolderName)
throws Exception
destinationFolderName - the destination folder name
Exception - the exception
public String getSubject()
throws Exception
Exception - the exception
public void setSubject(String value)
throws Exception
value - the new subject
Exception - the exception
public MessageBody getBody()
throws Exception
Exception - the exception
public void setBody(MessageBody value)
throws Exception
value - the new body
Exception - the exception
public MessageBody getBodyPrefix()
throws Exception
Exception - the exception
public void setBodyPrefix(MessageBody value)
throws Exception
value - the new body prefix
Exception - the exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||