microsoft.exchange.webservices.data.core.service.folder
Class TasksFolder

java.lang.Object
  extended by microsoft.exchange.webservices.data.core.service.ServiceObject
      extended by microsoft.exchange.webservices.data.core.service.folder.Folder
          extended by microsoft.exchange.webservices.data.core.service.folder.TasksFolder

public class TasksFolder
extends Folder

Represents a folder containing task item.


Constructor Summary
TasksFolder(ExchangeService service)
          Initializes an unsaved local instance of the class.
 
Method Summary
static TasksFolder bind(ExchangeService service, FolderId id)
          Binds to an existing tasks folder and loads its first class property.
static TasksFolder bind(ExchangeService service, FolderId id, PropertySet propertySet)
          Binds to an existing tasks folder and loads the specified set of property.
static TasksFolder bind(ExchangeService service, WellKnownFolderName name)
          Binds to an existing tasks folder and loads its first class property.
static TasksFolder bind(ExchangeService service, WellKnownFolderName name, PropertySet propertySet)
          Binds to an existing tasks folder and loads specified set of property.
 ExchangeVersion getMinimumRequiredServerVersion()
          Gets the minimum required server version.
 
Methods inherited from class microsoft.exchange.webservices.data.core.service.folder.Folder
copy, copy, delete, empty, findFolders, findFolders, findItems, findItems, findItems, findItems, findItems, findItems, getChangeXmlElementName, getChildFolderCount, getDeleteFieldXmlElementName, getDisplayName, getEffectiveRights, getExtendedProperties, getExtendedPropertiesForService, getFolderClass, getId, getIdPropertyDefinition, getManagedFolderInformation, getParentFolderId, getPermissions, getSchema, getSetFieldXmlElementName, getTotalCount, getUnreadCount, internalDelete, internalLoad, move, move, removeExtendedProperty, save, save, setDisplayName, setExtendedProperty, setFolderClass, update, validate
 
Methods inherited from class microsoft.exchange.webservices.data.core.service.ServiceObject
addServiceObjectChangedEvent, changed, clearChangeLog, clearServiceObjectChangedEvent, getIsCustomDateTimeScopingRequired, getIsTimeZoneHeaderRequired, getLoadedPropertyDefinitions, getObjectFromPropertyDefinition, getPropertyBag, getService, 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

TasksFolder

public TasksFolder(ExchangeService service)
            throws Exception
Initializes an unsaved local instance of the class.

Parameters:
service - the service
Throws:
Exception - the exception
Method Detail

bind

public static TasksFolder bind(ExchangeService service,
                               FolderId id,
                               PropertySet propertySet)
                        throws Exception
Binds to an existing tasks folder and loads the specified set of property. Calling this method results in a call to EWS.

Parameters:
service - the service
id - the id
propertySet - the property set
Returns:
A TasksFolder instance representing the task folder corresponding to the specified Id.
Throws:
Exception - the exception

bind

public static TasksFolder bind(ExchangeService service,
                               FolderId id)
                        throws Exception
Binds to an existing tasks folder and loads its first class property. Calling this method results in a call to EWS.

Parameters:
service - the service
id - the id
Returns:
A TasksFolder instance representing the task folder corresponding to the specified Id.
Throws:
Exception - the exception

bind

public static TasksFolder bind(ExchangeService service,
                               WellKnownFolderName name,
                               PropertySet propertySet)
                        throws Exception
Binds to an existing tasks folder and loads specified set of property. Calling this method results in a call to EWS.

Parameters:
service - the service
name - the name
propertySet - the property set
Returns:
A TasksFolder instance representing the tasks folder with the specified name.
Throws:
Exception - the exception

bind

public static TasksFolder bind(ExchangeService service,
                               WellKnownFolderName name)
                        throws Exception
Binds to an existing tasks folder and loads its first class property. Calling this method results in a call to EWS.

Parameters:
service - the service
name - the name
Returns:
A TasksFolder instance representing the tasks folder with the specified name.
Throws:
Exception - the exception

getMinimumRequiredServerVersion

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

Overrides:
getMinimumRequiredServerVersion in class Folder
Returns:
Earliest Exchange version in which this service object type is supported.


Copyright © 2012–2015 Microsoft. All rights reserved.