microsoft.exchange.webservices.data.core.service.response
Class RemoveFromCalendar

java.lang.Object
  extended by microsoft.exchange.webservices.data.core.service.ServiceObject
      extended by microsoft.exchange.webservices.data.core.service.response.RemoveFromCalendar

public class RemoveFromCalendar
extends ServiceObject

Represents a response object created to remove a calendar item from a meeting cancellation.


Constructor Summary
RemoveFromCalendar(Item referenceItem)
          Initializes a new instance of the RemoveFromCalendar class.
 
Method Summary
 ExchangeVersion getMinimumRequiredServerVersion()
          Gets the minimum required server version.
 ServiceObjectSchema getSchema()
          Internal method to return the schema associated with this type of object.
 List<Item> internalCreate(FolderId parentFolderId, MessageDisposition messageDisposition)
          Create response object.
protected  void internalDelete(DeleteMode deleteMode, SendCancellationsMode sendCancellationsMode, AffectedTaskOccurrence affectedTaskOccurrences)
          Deletes the object.
protected  void internalLoad(PropertySet propertySet)
          Loads the specified set of property on the object.
 
Methods inherited from class microsoft.exchange.webservices.data.core.service.ServiceObject
addServiceObjectChangedEvent, changed, clearChangeLog, clearServiceObjectChangedEvent, getChangeXmlElementName, getDeleteFieldXmlElementName, getExtendedProperties, getId, getIdPropertyDefinition, getIsCustomDateTimeScopingRequired, getIsTimeZoneHeaderRequired, getLoadedPropertyDefinitions, getObjectFromPropertyDefinition, getPropertyBag, getService, getSetFieldXmlElementName, getXmlElementName, getXmlElementNameOverride, isDirty, isNew, load, load, loadFromXml, loadFromXml, removeServiceObjectChangedEvent, schema, setService, throwIfThisIsNew, throwIfThisIsNotNew, tryGetExtendedProperty, tryGetProperty, tryGetProperty, validate, writeToXml, writeToXmlForUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveFromCalendar

public RemoveFromCalendar(Item referenceItem)
                   throws Exception
Initializes a new instance of the RemoveFromCalendar class.

Parameters:
referenceItem - The reference item
Throws:
Exception - the exception
Method Detail

getSchema

public ServiceObjectSchema getSchema()
Internal method to return the schema associated with this type of object.

Specified by:
getSchema in class ServiceObject
Returns:
The schema associated with this type of object.

getMinimumRequiredServerVersion

public ExchangeVersion getMinimumRequiredServerVersion()
Gets the minimum required server version.

Specified by:
getMinimumRequiredServerVersion in class ServiceObject
Returns:
Earliest Exchange version in which this service object type is supported.

internalLoad

protected void internalLoad(PropertySet propertySet)
Loads the specified set of property on the object.

Specified by:
internalLoad in class ServiceObject
Parameters:
propertySet - The property to load.

internalDelete

protected void internalDelete(DeleteMode deleteMode,
                              SendCancellationsMode sendCancellationsMode,
                              AffectedTaskOccurrence affectedTaskOccurrences)
Deletes the object.

Specified by:
internalDelete in class ServiceObject
Parameters:
deleteMode - The deletion mode.
sendCancellationsMode - Indicates whether meeting cancellation messages should be sent.
affectedTaskOccurrences - Indicate which occurrence of a recurring task should be deleted.

internalCreate

public List<Item> internalCreate(FolderId parentFolderId,
                                 MessageDisposition messageDisposition)
                          throws Exception
Create response object.

Parameters:
parentFolderId - The parent folder id.
messageDisposition - The message disposition.
Returns:
A list of item that were created or modified as a results of this operation.
Throws:
Exception - the exception


Copyright © 2012–2015 Microsoft. All rights reserved.