|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServiceUploadsClient
Provides access to properties and members of the uploads client object.
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(String itemName,
String description,
IAGSServerObjectName pTargetService)
Instruct the server to reserve space for a new upload item, to be uploaded in parts. |
IUploadItem |
serviceUploadFile(String file,
String description,
IAGSServerObjectName pTargetService)
Uploads a file to the server without breaking it into parts. |
void |
serviceUploadPart(IUploadItem pUploadItem,
String file,
int uploadPartNumber,
long offset,
int bytesToWrite,
IAGSServerObjectName pTargetService)
Uploads a part for the upload item. |
Method Detail |
---|
IUploadItem serviceUploadFile(String file, String description, IAGSServerObjectName pTargetService) throws IOException, AutomationException
file
- The file (in)description
- The description (in)pTargetService
- A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IUploadItem serviceRegister(String itemName, String description, IAGSServerObjectName pTargetService) throws IOException, AutomationException
itemName
- The itemName (in)description
- The description (in)pTargetService
- A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void serviceUploadPart(IUploadItem pUploadItem, String file, int uploadPartNumber, long offset, int bytesToWrite, IAGSServerObjectName pTargetService) 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)pTargetService
- A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILongArray serviceGetPartNumbers(IUploadItem pUploadItem, IAGSServerObjectName pTargetService) throws IOException, AutomationException
pUploadItem
- A reference to a com.esri.arcgis.gisclient.IUploadItem (in)pTargetService
- A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void serviceCommit(IUploadItem pUploadItem, IAGSServerObjectName pTargetService, ILongArray pPartNumbers) throws IOException, AutomationException
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void serviceDelete(IUploadItem pUploadItem, IAGSServerObjectName pTargetService) throws IOException, AutomationException
pUploadItem
- A reference to a com.esri.arcgis.gisclient.IUploadItem (in)pTargetService
- A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.long getServiceMaxUploadSizeInBytes(IAGSServerObjectName pTargetSevice) throws IOException, AutomationException
pTargetSevice
- A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (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 |