public class RemoveDocumentsTester
extends java.lang.Object
| Constructor and Description |
|---|
RemoveDocumentsTester() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
static RemoveDocumentsResponse |
removeDocuments(java.lang.String serviceURL,
GCUBEScope scope,
org.apache.axis.types.URI resourceName,
org.apache.axis.types.URI collectionURI,
java.lang.String[] documentNames)
Executes the RemoveDocuments operation
|
public static void main(java.lang.String[] args)
args - 0 - host
1 - port
2 - scope
3 - resourcename
4 - collection
5 - document namepublic static RemoveDocumentsResponse removeDocuments(java.lang.String serviceURL,
GCUBEScope scope,
org.apache.axis.types.URI resourceName,
org.apache.axis.types.URI collectionURI,
java.lang.String[] documentNames)
throws DataResourceUnavailableFaultType,
java.net.MalformedURLException,
java.rmi.RemoteException,
ServiceBusyFaultType,
InvalidResourceNameFaultType,
InvalidCollectionNameFaultType,
NotAuthorizedFaultType
serviceURL - The URL of the data serviceresourceName - The abstract name of the data resourcecollectionURI - The URI of the collection from which documents should be removeddocumentNames - An array of document names that should be removedDataResourceUnavailableFaultTypejava.net.MalformedURLExceptionjava.rmi.RemoteExceptionServiceBusyFaultTypeInvalidResourceNameFaultTypeInvalidCollectionNameFaultTypeNotAuthorizedFaultType