All Downloads are FREE. Search and download functionalities are using the official Maven repository.

microsoft.exchange.webservices.data.GetFolderRequestForLoad Maven / Gradle / Ivy

Go to download

The source came from http://archive.msdn.microsoft.com/ewsjavaapi Support for Maven has been added.

There is a newer version: 1.1.5.2
Show newest version
/**************************************************************************
 * copyright file="GetFolderRequestForLoad.java" company="Microsoft"
 *     Copyright (c) Microsoft Corporation.  All rights reserved.
 * 
 * Defines the GetFolderRequestForLoad.java.
 **************************************************************************/
package microsoft.exchange.webservices.data;

/**
 * Represents a GetFolder request specialized to return ServiceResponse.
 * 
 */
final class GetFolderRequestForLoad extends
		GetFolderRequestBase {

	/**
	 * Initializes a new instance of the GetFolderRequestForLoad class.
	 * 
	 * @param exchangeService
	 *            the exchange service
	 * @param throwonerror
	 *            the throwonerror
	 * @throws Exception 
	 */
	protected GetFolderRequestForLoad(ExchangeService exchangeService,
			ServiceErrorHandling throwonerror) throws Exception {
		super(exchangeService, throwonerror);
	}

	/**
	 * Creates the service response.
	 * 
	 * @param service
	 *            The Service
	 * @param responseIndex
	 *            the response index
	 * @return Service response.
	 */
	@Override
	protected ServiceResponse createServiceResponse(ExchangeService service,
			int responseIndex) {
		return new GetFolderResponse(this.getFolderIds()
				.getFolderIdWrapperList(responseIndex).getFolder(), this
				.getPropertySet());
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy