com.esri.arcgis.gisclient
Interface IServiceUploadsClient

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IServiceUploadsClientProxy, UploadsClient

public interface IServiceUploadsClient
extends java.io.Serializable

COM Interface 'IServiceUploadsClient'. Generated 3/19/2015 1:21:01 PM from 'C:\ArcGIS\COM\esriGISClient.olb'

Description: 'Provides access to properties and members of the uploads client object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDddcbdaac_b932_4279_a2c1_5a151632b793
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 long getServiceMaxUploadSizeInBytes(IAGSServerObjectName pTargetSevice)
          Returns the maximum upload size for a service.
 void serviceCommit(IUploadItem pUploadItem, IAGSServerObjectName pTargetService, ILongArray pPartNumbers)
          Commits a registered upload item.
 void serviceDelete(IUploadItem pUploadItem, IAGSServerObjectName pTargetService)
          Deletes the upload item.
 ILongArray serviceGetPartNumbers(IUploadItem pUploadItem, IAGSServerObjectName pTargetService)
          Returns the numbers of the parts that have already been uploaded for the upload item.
 IUploadItem serviceRegister(java.lang.String itemName, java.lang.String description, IAGSServerObjectName pTargetService)
          Instruct the server to reserve space for a new upload item, to be uploaded in parts.
 IUploadItem serviceUploadFile(java.lang.String file, java.lang.String description, IAGSServerObjectName pTargetService)
          Uploads a file to the server without breaking it into parts.
 void serviceUploadPart(IUploadItem pUploadItem, java.lang.String file, int uploadPartNumber, long offset, int bytesToWrite, IAGSServerObjectName pTargetService)
          Uploads a part for the upload item.
 

Field Detail

IIDddcbdaac_b932_4279_a2c1_5a151632b793

static final int IIDddcbdaac_b932_4279_a2c1_5a151632b793
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

serviceUploadFile

IUploadItem serviceUploadFile(java.lang.String file,
                              java.lang.String description,
                              IAGSServerObjectName pTargetService)
                              throws java.io.IOException,
                                     AutomationException
Uploads a file to the server without breaking it into parts.

Parameters:
file - The file (in)
description - The description (in)
pTargetService - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
Returns:
A reference to a com.esri.arcgis.gisclient.IUploadItem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serviceRegister

IUploadItem serviceRegister(java.lang.String itemName,
                            java.lang.String description,
                            IAGSServerObjectName pTargetService)
                            throws java.io.IOException,
                                   AutomationException
Instruct the server to reserve space for a new upload item, to be uploaded in parts.

Parameters:
itemName - The itemName (in)
description - The description (in)
pTargetService - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
Returns:
A reference to a com.esri.arcgis.gisclient.IUploadItem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serviceUploadPart

void serviceUploadPart(IUploadItem pUploadItem,
                       java.lang.String file,
                       int uploadPartNumber,
                       long offset,
                       int bytesToWrite,
                       IAGSServerObjectName pTargetService)
                       throws java.io.IOException,
                              AutomationException
Uploads a part for the upload item.

Parameters:
pUploadItem - A reference to a com.esri.arcgis.gisclient.IUploadItem (in)
file - The file (in)
uploadPartNumber - The uploadPartNumber (in)
offset - Unsigned 64-bit int (in)
bytesToWrite - The bytesToWrite (in)
pTargetService - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serviceGetPartNumbers

ILongArray serviceGetPartNumbers(IUploadItem pUploadItem,
                                 IAGSServerObjectName pTargetService)
                                 throws java.io.IOException,
                                        AutomationException
Returns the numbers of the parts that have already been uploaded for the upload item.

Parameters:
pUploadItem - A reference to a com.esri.arcgis.gisclient.IUploadItem (in)
pTargetService - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
Returns:
A reference to a com.esri.arcgis.system.ILongArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serviceCommit

void serviceCommit(IUploadItem pUploadItem,
                   IAGSServerObjectName pTargetService,
                   ILongArray pPartNumbers)
                   throws java.io.IOException,
                          AutomationException
Commits a registered upload item.

Parameters:
pUploadItem - A reference to a com.esri.arcgis.gisclient.IUploadItem (in)
pTargetService - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
pPartNumbers - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serviceDelete

void serviceDelete(IUploadItem pUploadItem,
                   IAGSServerObjectName pTargetService)
                   throws java.io.IOException,
                          AutomationException
Deletes the upload item.

Parameters:
pUploadItem - A reference to a com.esri.arcgis.gisclient.IUploadItem (in)
pTargetService - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getServiceMaxUploadSizeInBytes

long getServiceMaxUploadSizeInBytes(IAGSServerObjectName pTargetSevice)
                                    throws java.io.IOException,
                                           AutomationException
Returns the maximum upload size for a service.

Parameters:
pTargetSevice - A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
Returns:
Unsigned 64-bit int
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.