org.openanzo.server.web
Class RepositoryWebService

java.lang.Object
  extended by org.openanzo.server.web.RepositoryWebService

public class RepositoryWebService
extends java.lang.Object

Web Service front end for the model service.

Author:
Joe Betz, Matthew Roy ( mroy@cambridgesemantics.com )

Constructor Summary
RepositoryWebService()
          Create RepositoryWebService
 
Method Summary
 org.apache.axis.message.SOAPBodyElement[] addInferredObject(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Add an inferred object
 org.apache.axis.message.SOAPBodyElement[] addInferredProperty(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Add an inferred property
 org.apache.axis.message.SOAPBodyElement[] authenticateUser(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Authenticate a user
 org.apache.axis.message.SOAPBodyElement[] findStatements(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Find statements on the server
 org.apache.axis.message.SOAPBodyElement[] getMetadataGraphUri(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Get the metadata graph's URI for a graph
 org.apache.axis.message.SOAPBodyElement[] getNamedGraphRevision(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Get a revision of a NamedGraph
 org.apache.axis.message.SOAPBodyElement[] getRolesForUser(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Get the Roles for a user
 org.apache.axis.message.SOAPBodyElement[] getSize(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Get the size of a NamedGraph on the server
 org.apache.axis.message.SOAPBodyElement[] getStoredNamedGraphs(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Get the list of stored NamedGraphs
 org.apache.axis.message.SOAPBodyElement[] getUsersForGraph(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Get Users for a graph
 org.apache.axis.message.SOAPBodyElement[] query(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Execute a query
 org.apache.axis.message.SOAPBodyElement[] queryIndex(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Execute a query on the index
 org.apache.axis.message.SOAPBodyElement[] replicate(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Replicate with the server
 org.apache.axis.message.SOAPBodyElement[] reset(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Reset the server
 org.apache.axis.message.SOAPBodyElement[] update(org.apache.axis.message.SOAPBodyElement[] bodyElements)
          Update the server
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryWebService

public RepositoryWebService()
Create RepositoryWebService

Method Detail

query

public org.apache.axis.message.SOAPBodyElement[] query(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                throws org.apache.axis.AxisFault
Execute a query

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault

getNamedGraphRevision

public org.apache.axis.message.SOAPBodyElement[] getNamedGraphRevision(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                                throws org.apache.axis.AxisFault
Get a revision of a NamedGraph

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault

reset

public org.apache.axis.message.SOAPBodyElement[] reset(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                throws org.apache.axis.AxisFault
Reset the server

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault

update

public org.apache.axis.message.SOAPBodyElement[] update(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                 throws org.apache.axis.AxisFault
Update the server

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault

findStatements

public org.apache.axis.message.SOAPBodyElement[] findStatements(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                         throws org.apache.axis.AxisFault
Find statements on the server

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault

getSize

public org.apache.axis.message.SOAPBodyElement[] getSize(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                  throws org.apache.axis.AxisFault
Get the size of a NamedGraph on the server

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault

authenticateUser

public org.apache.axis.message.SOAPBodyElement[] authenticateUser(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                           throws org.apache.axis.AxisFault
Authenticate a user

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault

getUsersForGraph

public org.apache.axis.message.SOAPBodyElement[] getUsersForGraph(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                           throws org.apache.axis.AxisFault
Get Users for a graph

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault

getRolesForUser

public org.apache.axis.message.SOAPBodyElement[] getRolesForUser(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                          throws org.apache.axis.AxisFault
Get the Roles for a user

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault

getStoredNamedGraphs

public org.apache.axis.message.SOAPBodyElement[] getStoredNamedGraphs(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                               throws org.apache.axis.AxisFault
Get the list of stored NamedGraphs

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault

getMetadataGraphUri

public org.apache.axis.message.SOAPBodyElement[] getMetadataGraphUri(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                              throws org.apache.axis.AxisFault
Get the metadata graph's URI for a graph

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault

replicate

public org.apache.axis.message.SOAPBodyElement[] replicate(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                    throws org.apache.axis.AxisFault
Replicate with the server

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault

queryIndex

public org.apache.axis.message.SOAPBodyElement[] queryIndex(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                     throws org.apache.axis.AxisFault
Execute a query on the index

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault

addInferredProperty

public org.apache.axis.message.SOAPBodyElement[] addInferredProperty(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                              throws org.apache.axis.AxisFault
Add an inferred property

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault

addInferredObject

public org.apache.axis.message.SOAPBodyElement[] addInferredObject(org.apache.axis.message.SOAPBodyElement[] bodyElements)
                                                            throws org.apache.axis.AxisFault
Add an inferred object

Parameters:
bodyElements - soap element containing request
Returns:
response to call
Throws:
org.apache.axis.AxisFault


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.