|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.gisclient.UploadsClient
public class UploadsClient
The uploads client object.
Constructor Summary | |
---|---|
UploadsClient()
Constructs a UploadsClient using ArcGIS Engine. |
|
UploadsClient(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. UploadsClient theUploadsClient = (UploadsClient) obj; |
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. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
long |
getServiceMaxUploadSizeInBytes(IAGSServerObjectName pTargetSevice)
Returns the maximum upload size for a service. |
int |
getTimeoutInSecs()
. |
IUploadItem |
getUploadItem(String itemID)
Returns the upload item with the given itemID. |
IEnumUploadItem |
getUploadItems()
Returns all uploaded items. |
int |
hashCode()
the hashcode for this object |
void |
init(IAGSServerConnection pConn)
Initializes the uploads client object. |
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. |
void |
setTimeoutInSecs(int pTimeout)
. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public UploadsClient() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic UploadsClient(Object obj) throws IOException
UploadsClient theUploadsClient = (UploadsClient) obj;
obj
to UploadsClient
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void init(IAGSServerConnection pConn) throws IOException, AutomationException
init
in interface IUploadsClient
pConn
- A reference to a com.esri.arcgis.gisclient.IAGSServerConnection (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTimeoutInSecs(int pTimeout) throws IOException, AutomationException
setTimeoutInSecs
in interface IUploadsClient
pTimeout
- The pTimeout (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTimeoutInSecs() throws IOException, AutomationException
getTimeoutInSecs
in interface IUploadsClient
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUploadItem adminUploadFile(String file, String description) throws IOException, AutomationException
adminUploadFile
in interface IAdminUploadsClient
file
- The file (in)description
- The description (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUploadItem adminRegister(String itemName, String description) throws IOException, AutomationException
adminRegister
in interface IAdminUploadsClient
itemName
- The itemName (in)description
- The description (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void adminUploadPart(IUploadItem pUploadItem, String file, int uploadPartNumber, long offset, int bytesToWrite) throws IOException, AutomationException
adminUploadPart
in interface IAdminUploadsClient
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.public ILongArray adminGetPartNumbers(IUploadItem pUploadItem) throws IOException, AutomationException
adminGetPartNumbers
in interface IAdminUploadsClient
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.public void adminCommit(IUploadItem pUploadItem, ILongArray pPartNumbers) throws IOException, AutomationException
adminCommit
in interface IAdminUploadsClient
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.public IEnumUploadItem getUploadItems() throws IOException, AutomationException
getUploadItems
in interface IAdminUploadsClient
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUploadItem getUploadItem(String itemID) throws IOException, AutomationException
getUploadItem
in interface IAdminUploadsClient
itemID
- The itemID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void adminDelete(IUploadItem pUploadItem) throws IOException, AutomationException
adminDelete
in interface IAdminUploadsClient
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.public IUploadItem serviceUploadFile(String file, String description, IAGSServerObjectName pTargetService) throws IOException, AutomationException
serviceUploadFile
in interface IServiceUploadsClient
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.public IUploadItem serviceRegister(String itemName, String description, IAGSServerObjectName pTargetService) throws IOException, AutomationException
serviceRegister
in interface IServiceUploadsClient
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.public void serviceUploadPart(IUploadItem pUploadItem, String file, int uploadPartNumber, long offset, int bytesToWrite, IAGSServerObjectName pTargetService) throws IOException, AutomationException
serviceUploadPart
in interface IServiceUploadsClient
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.public ILongArray serviceGetPartNumbers(IUploadItem pUploadItem, IAGSServerObjectName pTargetService) throws IOException, AutomationException
serviceGetPartNumbers
in interface IServiceUploadsClient
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.public void serviceCommit(IUploadItem pUploadItem, IAGSServerObjectName pTargetService, ILongArray pPartNumbers) throws IOException, AutomationException
serviceCommit
in interface IServiceUploadsClient
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.public void serviceDelete(IUploadItem pUploadItem, IAGSServerObjectName pTargetService) throws IOException, AutomationException
serviceDelete
in interface IServiceUploadsClient
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.public long getServiceMaxUploadSizeInBytes(IAGSServerObjectName pTargetSevice) throws IOException, AutomationException
getServiceMaxUploadSizeInBytes
in interface IServiceUploadsClient
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 |