Changes since
the last release

com.ebay.sdk.call
Class ExtendSiteHostedPicturesCall

java.lang.Object
  extended by com.ebay.sdk.ApiCall
      extended by com.ebay.sdk.call.ExtendSiteHostedPicturesCall

public class ExtendSiteHostedPicturesCall
extends ApiCall

Wrapper class of the ExtendSiteHostedPictures call of eBay SOAP API.

Title: SOAP API wrapper library.

Description: Contains wrapper classes for eBay SOAP APIs.

Copyright: Copyright (c) 2009

Company: eBay Inc.


Input property: PictureURL - The URL of the image hosted by eBay Picture Services. This URL is returned in the SiteHostedPictureDetails.FullURL field of the UploadSiteHostedPictures response.
Input property: ExtensionInDays - The number of days by which to extend the expiration date for the specified image.
Output property: ReturnedPictureURL - The URL of the site-hosted picture whose expiration date was extended through the ExtendSiteHostedPictures call. This field will be returned if the expiration date of the site-hosted picture was successfully extended.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
ExtendSiteHostedPicturesCall()
          Constructor.
ExtendSiteHostedPicturesCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 java.lang.String[] extendSiteHostedPictures()
          By default, unpublished pictures uploaded to eBay Picture Services (EPS) via the UploadSiteHostedPictures call will be kept on the server for five days before being purged.
 java.lang.Integer getExtensionInDays()
          Gets the ExtendSiteHostedPicturesRequestType.extensionInDays.
 java.lang.String[] getPictureURL()
          Gets the ExtendSiteHostedPicturesRequestType.pictureURL.
 java.lang.String[] getReturnedPictureURL()
          Valid after executing the API.
 void setExtensionInDays(java.lang.Integer extensionInDays)
          Sets the ExtendSiteHostedPicturesRequestType.extensionInDays.
 void setPictureURL(java.lang.String[] pictureURL)
          Sets the ExtendSiteHostedPicturesRequestType.pictureURL.
 
Methods inherited from class com.ebay.sdk.ApiCall
addDetailLevel, addSendRequestListener, execute, executeByApiName, getApiContext, getApiException, getBotBlock, getCallRetry, getDetailLevel, getEnableCompression, getEndUserIP, getErrorHandling, getInvocationID, getMessageID, getOutputSelector, getRequestXml, getResponseObject, getResponseXml, getSite, getWarningLevel, hasError, hasWarning, isEnableoAuthTokenHTTPHeader, removeSendRequestListener, setApiContext, setBotBlock, setCallRetry, setDetailLevel, setEnableCompression, setEnableoAuthTokenHTTPHeader, setEndUserIP, setErrorHandling, setInvocationID, setMessageID, setOutputSelector, setSite, setWarningLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendSiteHostedPicturesCall

public ExtendSiteHostedPicturesCall()
Constructor.


ExtendSiteHostedPicturesCall

public ExtendSiteHostedPicturesCall(ApiContext apiContext)
Constructor.

Parameters:
apiContext - The ApiContext object to be used to make the call.
Method Detail

extendSiteHostedPictures

public java.lang.String[] extendSiteHostedPictures()
                                            throws ApiException,
                                                   SdkException,
                                                   java.lang.Exception
By default, unpublished pictures uploaded to eBay Picture Services (EPS) via the UploadSiteHostedPictures call will be kept on the server for five days before being purged. The ExtendSiteHostedPictures call is used to extend this expiration date by the number of days specified in the call. This restricted call gives approved sellers the ability to extend the default expiration date of pictures uploaded to EPS but not immediately published in an eBay listing.

Returns:
The String[] object.
Throws:
ApiException
SdkException
java.lang.Exception

getExtensionInDays

public java.lang.Integer getExtensionInDays()
Gets the ExtendSiteHostedPicturesRequestType.extensionInDays.

Returns:
Integer

setExtensionInDays

public void setExtensionInDays(java.lang.Integer extensionInDays)
Sets the ExtendSiteHostedPicturesRequestType.extensionInDays.

Parameters:
extensionInDays - Integer

getPictureURL

public java.lang.String[] getPictureURL()
Gets the ExtendSiteHostedPicturesRequestType.pictureURL.

Returns:
String[]

setPictureURL

public void setPictureURL(java.lang.String[] pictureURL)
Sets the ExtendSiteHostedPicturesRequestType.pictureURL.

Parameters:
pictureURL - String[]

getReturnedPictureURL

public java.lang.String[] getReturnedPictureURL()
Valid after executing the API. Gets the returned ExtendSiteHostedPicturesResponseType.returnedPictureURL.

Returns:
String[]

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.