public class SyncFolderItemsRequest extends MultiResponseServiceRequest<SyncFolderItemsResponse>
Constructor and Description |
---|
SyncFolderItemsRequest(ExchangeService service)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
protected SyncFolderItemsResponse |
createServiceResponse(ExchangeService service,
int responseIndex)
Creates service response.
|
protected int |
getExpectedResponseMessageCount()
Gets the expected response message count.
|
ItemIdWrapperList |
getIgnoredItemIds()
Gets the list of ignored item ids.
|
int |
getMaxChangesReturned()
Gets the maximum number of changes returned by SyncFolderItems.
|
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the request version.
|
PropertySet |
getPropertySet()
Gets or sets the property set.
|
protected String |
getResponseMessageXmlElementName()
Gets the name of the response message XML element.
|
protected String |
getResponseXmlElementName()
Gets the name of the response XML element.
|
FolderId |
getSyncFolderId()
Gets the sync folder id.
|
SyncFolderItemsScope |
getSyncScope()
Gets the scope of the sync.
|
String |
getSyncState()
Gets the state of the sync.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
setMaxChangesReturned(int maxChangesReturned)
Sets the max changes returned.
|
void |
setPropertySet(PropertySet propertySet)
Sets the property set.
|
void |
setSyncFolderId(FolderId syncFolderId)
Sets the sync folder id.
|
void |
setSyncScope(SyncFolderItemsScope syncScope)
Sets the sync scope.
|
void |
setSyncState(String syncState)
Sets the sync state.
|
protected void |
validate()
Validates request.
|
protected void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes XML elements.
|
endExecute, execute, getErrorHandlingMode, parseResponse
beginExecute, endInternalExecute, internalExecute
buildEwsHttpPoolingWebRequest, buildEwsHttpWebRequest, getEwsHttpWebResponse, getResponseStream, getService, processWebException, readPreamble, readResponse, readResponse, readSoapFault, throwIfNotSupportedByRequestedServerVersion, traceResponse, validateAndEmitRequest, writeAttributesToXml, writeBodyToXml, writeToXml
public SyncFolderItemsRequest(ExchangeService service) throws Exception
service
- the serviceException
protected SyncFolderItemsResponse createServiceResponse(ExchangeService service, int responseIndex)
createServiceResponse
in class MultiResponseServiceRequest<SyncFolderItemsResponse>
service
- the serviceresponseIndex
- the response indexprotected int getExpectedResponseMessageCount()
getExpectedResponseMessageCount
in class MultiResponseServiceRequest<SyncFolderItemsResponse>
public String getXmlElementName()
getXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<SyncFolderItemsResponse>>
protected String getResponseXmlElementName()
getResponseXmlElementName
in class ServiceRequestBase<ServiceResponseCollection<SyncFolderItemsResponse>>
protected String getResponseMessageXmlElementName()
getResponseMessageXmlElementName
in class MultiResponseServiceRequest<SyncFolderItemsResponse>
protected void validate() throws Exception
validate
in class ServiceRequestBase<ServiceResponseCollection<SyncFolderItemsResponse>>
Exception
- the exceptionprotected void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ServiceRequestBase<ServiceResponseCollection<SyncFolderItemsResponse>>
writer
- the writerException
- the exceptionprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class ServiceRequestBase<ServiceResponseCollection<SyncFolderItemsResponse>>
public PropertySet getPropertySet()
public void setPropertySet(PropertySet propertySet)
propertySet
- the new property setpublic FolderId getSyncFolderId()
public void setSyncFolderId(FolderId syncFolderId)
syncFolderId
- the new sync folder idpublic SyncFolderItemsScope getSyncScope()
public void setSyncScope(SyncFolderItemsScope syncScope)
syncScope
- the new sync scopepublic String getSyncState()
public void setSyncState(String syncState)
syncState
- the new sync statepublic ItemIdWrapperList getIgnoredItemIds()
public int getMaxChangesReturned()
public void setMaxChangesReturned(int maxChangesReturned) throws ArgumentException
maxChangesReturned
- the new max changes returnedArgumentException
- the argument exceptionCopyright © 2012–2015 Microsoft. All rights reserved.