Class RemoveFromCalendar
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.service.ServiceObject
-
- 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
Constructors Constructor Description RemoveFromCalendar(Item referenceItem)Initializes a new instance of the RemoveFromCalendar class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExchangeVersiongetMinimumRequiredServerVersion()Gets the minimum required server version.ServiceObjectSchemagetSchema()Internal method to return the schema associated with this type of object.List<Item>internalCreate(FolderId parentFolderId, MessageDisposition messageDisposition)Create response object.protected voidinternalDelete(DeleteMode deleteMode, SendCancellationsMode sendCancellationsMode, AffectedTaskOccurrence affectedTaskOccurrences)Deletes the object.protected voidinternalLoad(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
-
-
-
-
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:
getSchemain classServiceObject- Returns:
- The schema associated with this type of object.
-
getMinimumRequiredServerVersion
public ExchangeVersion getMinimumRequiredServerVersion()
Gets the minimum required server version.- Specified by:
getMinimumRequiredServerVersionin classServiceObject- 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:
internalLoadin classServiceObject- Parameters:
propertySet- The property to load.
-
internalDelete
protected void internalDelete(DeleteMode deleteMode, SendCancellationsMode sendCancellationsMode, AffectedTaskOccurrence affectedTaskOccurrences)
Deletes the object.- Specified by:
internalDeletein classServiceObject- 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
-
-