org.alfresco.webservice.repository
Class RepositoryServiceSoapBindingStub

java.lang.Object
  extended by org.apache.axis.client.Stub
      extended by org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub
All Implemented Interfaces:
java.rmi.Remote, javax.xml.rpc.Stub, RepositoryServiceSoapPort

public class RepositoryServiceSoapBindingStub
extends org.apache.axis.client.Stub
implements RepositoryServiceSoapPort


Field Summary
 
Fields inherited from class org.apache.axis.client.Stub
_call, cachedEndpoint, cachedPassword, cachedPortName, cachedProperties, cachedTimeout, cachedUsername, maintainSession, maintainSessionSet, service
 
Fields inherited from interface javax.xml.rpc.Stub
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
RepositoryServiceSoapBindingStub()
           
RepositoryServiceSoapBindingStub(javax.xml.rpc.Service service)
           
RepositoryServiceSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service)
           
 
Method Summary
protected  org.apache.axis.client.Call createCall()
           
 Store createStore(java.lang.String scheme, java.lang.String address)
          Creates a new repository store.
 NodeDefinition[] describe(Predicate items)
          Describes a content resource.
 QueryResult fetchMore(java.lang.String querySession)
          Fetches the next batch of query results.
 Node[] get(Predicate where)
          Gets a resource from the respository.
 Store[] getStores()
          Retrieves a list of stores where content resources are held.
 QueryResult query(Store store, Query query, boolean includeMetaData)
          Executes a query against a store
 QueryResult queryAssociated(Reference node, Association association)
          Executes a query to retrieve associated resources of the specified resource.
 QueryResult queryChildren(Reference node)
          Executes a query to retrieve the children of the specified resource.
 QueryResult queryParents(Reference node)
          Executes a query to retrieve the parents of the specified resource.
 UpdateResult[] update(CML statements)
          Executes a CML script to manipulate the contents of a Repository store.
 
Methods inherited from class org.apache.axis.client.Stub
_createCall, _getCall, _getProperty, _getPropertyNames, _getService, _setProperty, addAttachment, clearAttachments, clearHeaders, extractAttachments, firstCall, getAttachments, getHeader, getHeaders, getPassword, getPortName, getResponseHeader, getResponseHeaders, getResponseHeaders, getTimeout, getUsername, removeProperty, setAttachments, setHeader, setHeader, setMaintainSession, setPassword, setPortName, setPortName, setRequestHeaders, setTimeout, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryServiceSoapBindingStub

public RepositoryServiceSoapBindingStub()
                                 throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

RepositoryServiceSoapBindingStub

public RepositoryServiceSoapBindingStub(java.net.URL endpointURL,
                                        javax.xml.rpc.Service service)
                                 throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault

RepositoryServiceSoapBindingStub

public RepositoryServiceSoapBindingStub(javax.xml.rpc.Service service)
                                 throws org.apache.axis.AxisFault
Throws:
org.apache.axis.AxisFault
Method Detail

createCall

protected org.apache.axis.client.Call createCall()
                                          throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createStore

public Store createStore(java.lang.String scheme,
                         java.lang.String address)
                  throws java.rmi.RemoteException,
                         RepositoryFault
Description copied from interface: RepositoryServiceSoapPort
Creates a new repository store.

Specified by:
createStore in interface RepositoryServiceSoapPort
Throws:
java.rmi.RemoteException
RepositoryFault

getStores

public Store[] getStores()
                  throws java.rmi.RemoteException,
                         RepositoryFault
Retrieves a list of stores where content resources are held.

Specified by:
getStores in interface RepositoryServiceSoapPort
Throws:
java.rmi.RemoteException
RepositoryFault

query

public QueryResult query(Store store,
                         Query query,
                         boolean includeMetaData)
                  throws java.rmi.RemoteException,
                         RepositoryFault
Executes a query against a store

Specified by:
query in interface RepositoryServiceSoapPort
Throws:
java.rmi.RemoteException
RepositoryFault

queryChildren

public QueryResult queryChildren(Reference node)
                          throws java.rmi.RemoteException,
                                 RepositoryFault
Executes a query to retrieve the children of the specified resource.

Specified by:
queryChildren in interface RepositoryServiceSoapPort
Throws:
java.rmi.RemoteException
RepositoryFault

queryParents

public QueryResult queryParents(Reference node)
                         throws java.rmi.RemoteException,
                                RepositoryFault
Executes a query to retrieve the parents of the specified resource.

Specified by:
queryParents in interface RepositoryServiceSoapPort
Throws:
java.rmi.RemoteException
RepositoryFault

queryAssociated

public QueryResult queryAssociated(Reference node,
                                   Association association)
                            throws java.rmi.RemoteException,
                                   RepositoryFault
Executes a query to retrieve associated resources of the specified resource.

Specified by:
queryAssociated in interface RepositoryServiceSoapPort
Throws:
java.rmi.RemoteException
RepositoryFault

fetchMore

public QueryResult fetchMore(java.lang.String querySession)
                      throws java.rmi.RemoteException,
                             RepositoryFault
Fetches the next batch of query results.

Specified by:
fetchMore in interface RepositoryServiceSoapPort
Throws:
java.rmi.RemoteException
RepositoryFault

update

public UpdateResult[] update(CML statements)
                      throws java.rmi.RemoteException,
                             RepositoryFault
Executes a CML script to manipulate the contents of a Repository store.

Specified by:
update in interface RepositoryServiceSoapPort
Throws:
java.rmi.RemoteException
RepositoryFault

describe

public NodeDefinition[] describe(Predicate items)
                          throws java.rmi.RemoteException,
                                 RepositoryFault
Describes a content resource.

Specified by:
describe in interface RepositoryServiceSoapPort
Throws:
java.rmi.RemoteException
RepositoryFault

get

public Node[] get(Predicate where)
           throws java.rmi.RemoteException,
                  RepositoryFault
Gets a resource from the respository.

Specified by:
get in interface RepositoryServiceSoapPort
Throws:
java.rmi.RemoteException
RepositoryFault


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.