|
||||||||
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. |
java.lang.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(java.lang.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 java.lang.Exception
referenceItem
- the reference item
java.lang.Exception
- the exceptionMethod Detail |
---|
public ServiceObjectSchema getSchema()
getSchema
in class ServiceObject
protected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceObject
protected PostItem internalCreate(FolderId parentFolderId, MessageDisposition messageDisposition) throws java.lang.Exception
parentFolderId
- the parent folder idmessageDisposition
- the message disposition
java.lang.Exception
- the exceptionprotected void internalLoad(PropertySet propertySet) throws InvalidOperationException
internalLoad
in class ServiceObject
propertySet
- the property set
InvalidOperationException
- the invalid operation exceptionprotected void internalDelete(DeleteMode deleteMode, SendCancellationsMode sendCancellationsMode, AffectedTaskOccurrence affectedTaskOccurrences) throws InvalidOperationException
internalDelete
in class ServiceObject
deleteMode
- the delete modesendCancellationsMode
- the send cancellations modeaffectedTaskOccurrences
- the affected task occurrences
InvalidOperationException
- the invalid operation exceptionpublic PostItem save() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic PostItem save(FolderId destinationFolderId) throws java.lang.Exception
destinationFolderId
- the destination folder id
java.lang.Exception
- the exceptionpublic PostItem save(WellKnownFolderName destinationFolderName) throws java.lang.Exception
destinationFolderName
- the destination folder name
java.lang.Exception
- the exceptionpublic java.lang.String getSubject() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void setSubject(java.lang.String value) throws java.lang.Exception
value
- the new subject
java.lang.Exception
- the exceptionpublic MessageBody getBody() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void setBody(MessageBody value) throws java.lang.Exception
value
- the new body
java.lang.Exception
- the exceptionpublic MessageBody getBodyPrefix() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void setBodyPrefix(MessageBody value) throws java.lang.Exception
value
- the new body prefix
java.lang.Exception
- the exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |