|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.gisclient.UploadsClient
public class UploadsClient
COM Class 'UploadsClient'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriGISClient.olb'
Description '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 |
---|
Fields inherited from interface com.esri.arcgis.gisclient.IUploadsClient |
---|
IID, IIDedb37aff_c199_4063_ab1f_fe936d5b5fd0, xxDummy |
Fields inherited from interface com.esri.arcgis.gisclient.IAdminUploadsClient |
---|
IID, IID2362ad5f_c545_4bd8_b538_557a1c5b89f1, xxDummy |
Fields inherited from interface com.esri.arcgis.gisclient.IServiceUploadsClient |
---|
IID, IIDddcbdaac_b932_4279_a2c1_5a151632b793, xxDummy |
Constructor Summary | |
---|---|
UploadsClient()
Constructs a UploadsClient using ArcGIS Engine. |
|
UploadsClient(java.lang.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(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. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
long |
getServiceMaxUploadSizeInBytes(IAGSServerObjectName pTargetSevice)
Returns the maximum upload size for a service. |
int |
getTimeoutInSecs()
. |
IUploadItem |
getUploadItem(java.lang.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 |
release()
Release a UploadsClient. |
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. |
void |
setTimeoutInSecs(int pTimeout)
. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UploadsClient() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic UploadsClient(java.lang.Object obj) throws java.io.IOException
UploadsClient theUploadsClient = (UploadsClient) obj;
obj
to UploadsClient
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void init(IAGSServerConnection pConn) throws java.io.IOException, AutomationException
init
in interface IUploadsClient
pConn
- A reference to a com.esri.arcgis.gisclient.IAGSServerConnection (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTimeoutInSecs(int pTimeout) throws java.io.IOException, AutomationException
setTimeoutInSecs
in interface IUploadsClient
pTimeout
- The pTimeout (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getTimeoutInSecs() throws java.io.IOException, AutomationException
getTimeoutInSecs
in interface IUploadsClient
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUploadItem adminUploadFile(java.lang.String file, java.lang.String description) throws java.io.IOException, AutomationException
adminUploadFile
in interface IAdminUploadsClient
file
- The file (in)description
- The description (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUploadItem adminRegister(java.lang.String itemName, java.lang.String description) throws java.io.IOException, AutomationException
adminRegister
in interface IAdminUploadsClient
itemName
- The itemName (in)description
- The description (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void adminUploadPart(IUploadItem pUploadItem, java.lang.String file, int uploadPartNumber, long offset, int bytesToWrite) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILongArray adminGetPartNumbers(IUploadItem pUploadItem) throws java.io.IOException, AutomationException
adminGetPartNumbers
in interface IAdminUploadsClient
pUploadItem
- A reference to a com.esri.arcgis.gisclient.IUploadItem (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void adminCommit(IUploadItem pUploadItem, ILongArray pPartNumbers) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumUploadItem getUploadItems() throws java.io.IOException, AutomationException
getUploadItems
in interface IAdminUploadsClient
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUploadItem getUploadItem(java.lang.String itemID) throws java.io.IOException, AutomationException
getUploadItem
in interface IAdminUploadsClient
itemID
- The itemID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void adminDelete(IUploadItem pUploadItem) throws java.io.IOException, AutomationException
adminDelete
in interface IAdminUploadsClient
pUploadItem
- A reference to a com.esri.arcgis.gisclient.IUploadItem (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUploadItem serviceUploadFile(java.lang.String file, java.lang.String description, IAGSServerObjectName pTargetService) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUploadItem serviceRegister(java.lang.String itemName, java.lang.String description, IAGSServerObjectName pTargetService) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serviceUploadPart(IUploadItem pUploadItem, java.lang.String file, int uploadPartNumber, long offset, int bytesToWrite, IAGSServerObjectName pTargetService) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILongArray serviceGetPartNumbers(IUploadItem pUploadItem, IAGSServerObjectName pTargetService) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serviceCommit(IUploadItem pUploadItem, IAGSServerObjectName pTargetService, ILongArray pPartNumbers) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serviceDelete(IUploadItem pUploadItem, IAGSServerObjectName pTargetService) throws java.io.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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public long getServiceMaxUploadSizeInBytes(IAGSServerObjectName pTargetSevice) throws java.io.IOException, AutomationException
getServiceMaxUploadSizeInBytes
in interface IServiceUploadsClient
pTargetSevice
- A reference to a com.esri.arcgis.gisclient.IAGSServerObjectName (in)
java.io.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 |