|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.core.service.ServiceObject
microsoft.exchange.webservices.data.core.service.item.Item
microsoft.exchange.webservices.data.core.service.item.PostItem
public final class PostItem
Represents a post item. Properties available on post item are defined in the PostItemSchema class.
| Constructor Summary | |
|---|---|
PostItem(ExchangeService service)
Initializes an unsaved local instance of PostItem.To bind to an existing post item, use PostItem.Bind() instead. |
|
PostItem(ItemAttachment parentAttachment)
Initializes a new instance of the class. |
|
| Method Summary | |
|---|---|
static PostItem |
bind(ExchangeService service,
ItemId id)
Binds to an existing post item and loads its first class property. |
static PostItem |
bind(ExchangeService service,
ItemId id,
PropertySet propertySet)
Binds to an existing post item and loads the specified set of property. |
ResponseMessage |
createForward()
Creates a forward response to the post item. |
PostReply |
createPostReply()
Creates a post reply to this post item. |
ResponseMessage |
createReply(boolean replyAll)
Creates a e-mail reply response to the post item. |
void |
forward(MessageBody bodyPrefix,
EmailAddress... toRecipients)
Forwards the post item. |
void |
forward(MessageBody bodyPrefix,
Iterable<EmailAddress> toRecipients)
Forwards the post item. |
byte[] |
getConversationIndex()
Gets the conversation index of the post item. |
String |
getConversationTopic()
Gets the conversation topic of the post item. |
EmailAddress |
getFrom()
Gets the "on behalf" poster of the post item. |
String |
getInternetMessageId()
Gets the Internet message Id of the post item. |
Boolean |
getIsRead()
Gets a value indicating whether the post item is read. |
ExchangeVersion |
getMinimumRequiredServerVersion()
Internal method to return the schema associated with this type of object. |
Date |
getPostedTime()
Gets the the date and time when the post item was posted. |
String |
getReferences()
Gets the references of the post item. |
ServiceObjectSchema |
getSchema()
Internal method to return the schema associated with this type of object. |
EmailAddress |
getSender()
Gets the sender (poster) of the post item. |
void |
postReply(MessageBody bodyPrefix)
Posts a reply to this post item. |
void |
reply(MessageBody bodyPrefix,
boolean replyAll)
Replies to the post item. |
void |
setFrom(EmailAddress value)
Sets the from. |
void |
setIsRead(Boolean value)
Sets the checks if is read. |
void |
setIsRead(String value)
Sets the checks if is read. |
void |
setSender(EmailAddress value)
Sets the sender. |
| Methods inherited from class microsoft.exchange.webservices.data.core.service.ServiceObject |
|---|
addServiceObjectChangedEvent, changed, clearChangeLog, clearServiceObjectChangedEvent, getChangeXmlElementName, getDeleteFieldXmlElementName, getIsCustomDateTimeScopingRequired, getLoadedPropertyDefinitions, getObjectFromPropertyDefinition, getPropertyBag, getService, getSetFieldXmlElementName, getXmlElementName, getXmlElementNameOverride, isDirty, isNew, load, load, loadFromXml, loadFromXml, removeServiceObjectChangedEvent, schema, setService, throwIfThisIsNew, throwIfThisIsNotNew, tryGetExtendedProperty, tryGetProperty, tryGetProperty, writeToXml, writeToXmlForUpdate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PostItem(ExchangeService service)
throws Exception
service - the service
Exception - the exception
public PostItem(ItemAttachment parentAttachment)
throws Exception
parentAttachment - the parent attachment
Exception - the exception| Method Detail |
|---|
public static PostItem bind(ExchangeService service,
ItemId id,
PropertySet propertySet)
throws Exception
service - the serviceid - the idpropertySet - the property set
Exception - the exception
public static PostItem bind(ExchangeService service,
ItemId id)
throws Exception
service - the serviceid - the id
Exception - the exceptionpublic ServiceObjectSchema getSchema()
getSchema in class Itempublic ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion in class Item
public PostReply createPostReply()
throws Exception
Exception - the exception
public void postReply(MessageBody bodyPrefix)
throws Exception
bodyPrefix - the body prefix
Exception - the exception
public ResponseMessage createReply(boolean replyAll)
throws Exception
replyAll - the reply all
Exception - the exception
public void reply(MessageBody bodyPrefix,
boolean replyAll)
throws Exception
bodyPrefix - the body prefixreplyAll - the reply all
Exception - the exception
public ResponseMessage createForward()
throws Exception
Exception - the exception
public void forward(MessageBody bodyPrefix,
EmailAddress... toRecipients)
throws Exception
bodyPrefix - the body prefixtoRecipients - the to recipients
Exception - the exception
public void forward(MessageBody bodyPrefix,
Iterable<EmailAddress> toRecipients)
throws Exception
bodyPrefix - the body prefixtoRecipients - the to recipients
Exception - the exception
public byte[] getConversationIndex()
throws ServiceLocalException
ServiceLocalException - the service local exception
public String getConversationTopic()
throws ServiceLocalException
ServiceLocalException - the service local exception
public EmailAddress getFrom()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setFrom(EmailAddress value)
throws Exception
value - the new from
Exception - the exception
public String getInternetMessageId()
throws ServiceLocalException
ServiceLocalException - the service local exception
public Boolean getIsRead()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setIsRead(Boolean value)
throws Exception
value - the new checks if is read
Exception - the exception
public Date getPostedTime()
throws ServiceLocalException
ServiceLocalException - the service local exception
public String getReferences()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setIsRead(String value)
throws Exception
value - the new checks if is read
Exception - the exception
public EmailAddress getSender()
throws ServiceLocalException
ServiceLocalException - the service local exception
public void setSender(EmailAddress value)
throws Exception
value - the new sender
Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||