|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAdminUploadsClient
Provides access to properties and members the uploads client object.
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(String itemName,
String description)
Instruct the server to reserve space for a new upload item, to be uploaded in parts. |
IUploadItem |
adminUploadFile(String file,
String description)
Uploads a file to the server without breaking it into parts. |
void |
adminUploadPart(IUploadItem pUploadItem,
String file,
int uploadPartNumber,
long offset,
int bytesToWrite)
Uploads a part for the upload item. |
IUploadItem |
getUploadItem(String itemID)
Returns the upload item with the given itemID. |
IEnumUploadItem |
getUploadItems()
Returns all uploaded items. |
Method Detail |
---|
IUploadItem adminUploadFile(String file, String description) throws IOException, AutomationException
file
- The file (in)description
- The description (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IUploadItem adminRegister(String itemName, String description) throws IOException, AutomationException
itemName
- The itemName (in)description
- The description (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void adminUploadPart(IUploadItem pUploadItem, String file, int uploadPartNumber, long offset, int bytesToWrite) throws IOException, AutomationException
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILongArray adminGetPartNumbers(IUploadItem pUploadItem) throws IOException, AutomationException
pUploadItem
- A reference to a com.esri.arcgis.gisclient.IUploadItem (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void adminCommit(IUploadItem pUploadItem, ILongArray pPartNumbers) throws IOException, AutomationException
pUploadItem
- A reference to a com.esri.arcgis.gisclient.IUploadItem (in)pPartNumbers
- A reference to a com.esri.arcgis.system.ILongArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumUploadItem getUploadItems() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IUploadItem getUploadItem(String itemID) throws IOException, AutomationException
itemID
- The itemID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void adminDelete(IUploadItem pUploadItem) throws IOException, AutomationException
pUploadItem
- A reference to a com.esri.arcgis.gisclient.IUploadItem (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |