com.esri.arcgis.gisclient
Interface IAdminUploadsClient

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

public interface IAdminUploadsClient
extends java.io.Serializable

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

Description: 'Provides access to properties and members 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 IID2362ad5f_c545_4bd8_b538_557a1c5b89f1
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void adminCommit(IUploadItem pUploadItem, ILongArray pPartNumbers)
          Commits a registered upload item.
 void adminDelete(IUploadItem pUploadItem)
          Deletes the upload item.
 ILongArray adminGetPartNumbers(IUploadItem pUploadItem)
          Returns the numbers of the parts that have already been uploaded for the upload item.
 IUploadItem adminRegister(java.lang.String itemName, java.lang.String description)
          Instruct the server to reserve space for a new upload item, to be uploaded in parts.
 IUploadItem adminUploadFile(java.lang.String file, java.lang.String description)
          Uploads a file to the server without breaking it into parts.
 void adminUploadPart(IUploadItem pUploadItem, java.lang.String file, int uploadPartNumber, long offset, int bytesToWrite)
          Uploads a part for the upload item.
 IUploadItem getUploadItem(java.lang.String itemID)
          Returns the upload item with the given itemID.
 IEnumUploadItem getUploadItems()
          Returns all uploaded items.
 

Field Detail

IID2362ad5f_c545_4bd8_b538_557a1c5b89f1

static final int IID2362ad5f_c545_4bd8_b538_557a1c5b89f1
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

adminUploadFile

IUploadItem adminUploadFile(java.lang.String file,
                            java.lang.String description)
                            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)
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.

adminRegister

IUploadItem adminRegister(java.lang.String itemName,
                          java.lang.String description)
                          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)
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.

adminUploadPart

void adminUploadPart(IUploadItem pUploadItem,
                     java.lang.String file,
                     int uploadPartNumber,
                     long offset,
                     int bytesToWrite)
                     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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

adminGetPartNumbers

ILongArray adminGetPartNumbers(IUploadItem pUploadItem)
                               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)
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.

adminCommit

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

Parameters:
pUploadItem - A reference to a com.esri.arcgis.gisclient.IUploadItem (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.

getUploadItems

IEnumUploadItem getUploadItems()
                               throws java.io.IOException,
                                      AutomationException
Returns all uploaded items.

Returns:
A reference to a com.esri.arcgis.gisclient.IEnumUploadItem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUploadItem

IUploadItem getUploadItem(java.lang.String itemID)
                          throws java.io.IOException,
                                 AutomationException
Returns the upload item with the given itemID.

Parameters:
itemID - The itemID (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.

adminDelete

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

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