org.alfresco.webservice.authoring
Class AuthoringServiceSoapBindingStub

java.lang.Object
  extended by org.apache.axis.client.Stub
      extended by org.alfresco.webservice.authoring.AuthoringServiceSoapBindingStub
All Implemented Interfaces:
java.rmi.Remote, javax.xml.rpc.Stub, AuthoringServiceSoapPort

public class AuthoringServiceSoapBindingStub
extends org.apache.axis.client.Stub
implements AuthoringServiceSoapPort


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
AuthoringServiceSoapBindingStub()
           
AuthoringServiceSoapBindingStub(javax.xml.rpc.Service service)
           
AuthoringServiceSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service)
           
 
Method Summary
 CancelCheckoutResult cancelCheckout(Predicate items)
          Cancels the checkout.
 CheckinResult checkin(Predicate items, NamedValue[] comments, boolean keepCheckedOut)
          Checkin a content resource.
 Reference checkinExternal(Reference items, NamedValue[] comments, boolean keepCheckedOut, ContentFormat format, byte[] content)
          Checkin an external content resource thus replacing the existing working content.
 CheckoutResult checkout(Predicate items, ParentReference destination)
          Checkout a content resource for editing.
protected  org.apache.axis.client.Call createCall()
           
 VersionResult createVersion(Predicate items, NamedValue[] comments, boolean versionChildren)
          Create a snapshot of the specified node(s) in the version store.
 VersionHistory deleteAllVersions(Reference node)
          Delete all snapshot versions of the specified node.
 LockStatus[] getLockStatus(Predicate items)
          Gets the lock status of the specified nodes.
 VersionHistory getVersionHistory(Reference node)
          Gets the version history for the specfied node.
 Reference[] lock(Predicate items, boolean lockChildren, LockTypeEnum lockType)
          Locks a content resource.
 void revertVersion(Reference node, java.lang.String versionLabel)
          Revert a node to the snapshot of the specified version.
 Reference[] unlock(Predicate items, boolean unlockChildren)
          Unlocks a content resource.
 
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

AuthoringServiceSoapBindingStub

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

AuthoringServiceSoapBindingStub

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

AuthoringServiceSoapBindingStub

public AuthoringServiceSoapBindingStub(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

checkout

public CheckoutResult checkout(Predicate items,
                               ParentReference destination)
                        throws java.rmi.RemoteException,
                               AuthoringFault
Checkout a content resource for editing.

Specified by:
checkout in interface AuthoringServiceSoapPort
Throws:
java.rmi.RemoteException
AuthoringFault

checkin

public CheckinResult checkin(Predicate items,
                             NamedValue[] comments,
                             boolean keepCheckedOut)
                      throws java.rmi.RemoteException,
                             AuthoringFault
Checkin a content resource.

Specified by:
checkin in interface AuthoringServiceSoapPort
Throws:
java.rmi.RemoteException
AuthoringFault

checkinExternal

public Reference checkinExternal(Reference items,
                                 NamedValue[] comments,
                                 boolean keepCheckedOut,
                                 ContentFormat format,
                                 byte[] content)
                          throws java.rmi.RemoteException,
                                 AuthoringFault
Checkin an external content resource thus replacing the existing working content.

Specified by:
checkinExternal in interface AuthoringServiceSoapPort
Throws:
java.rmi.RemoteException
AuthoringFault

cancelCheckout

public CancelCheckoutResult cancelCheckout(Predicate items)
                                    throws java.rmi.RemoteException,
                                           AuthoringFault
Cancels the checkout.

Specified by:
cancelCheckout in interface AuthoringServiceSoapPort
Throws:
java.rmi.RemoteException
AuthoringFault

lock

public Reference[] lock(Predicate items,
                        boolean lockChildren,
                        LockTypeEnum lockType)
                 throws java.rmi.RemoteException,
                        AuthoringFault
Locks a content resource.

Specified by:
lock in interface AuthoringServiceSoapPort
Throws:
java.rmi.RemoteException
AuthoringFault

unlock

public Reference[] unlock(Predicate items,
                          boolean unlockChildren)
                   throws java.rmi.RemoteException,
                          AuthoringFault
Unlocks a content resource.

Specified by:
unlock in interface AuthoringServiceSoapPort
Throws:
java.rmi.RemoteException
AuthoringFault

getLockStatus

public LockStatus[] getLockStatus(Predicate items)
                           throws java.rmi.RemoteException,
                                  AuthoringFault
Gets the lock status of the specified nodes.

Specified by:
getLockStatus in interface AuthoringServiceSoapPort
Throws:
java.rmi.RemoteException
AuthoringFault

createVersion

public VersionResult createVersion(Predicate items,
                                   NamedValue[] comments,
                                   boolean versionChildren)
                            throws java.rmi.RemoteException,
                                   AuthoringFault
Create a snapshot of the specified node(s) in the version store.

Specified by:
createVersion in interface AuthoringServiceSoapPort
Throws:
java.rmi.RemoteException
AuthoringFault

getVersionHistory

public VersionHistory getVersionHistory(Reference node)
                                 throws java.rmi.RemoteException,
                                        AuthoringFault
Gets the version history for the specfied node.

Specified by:
getVersionHistory in interface AuthoringServiceSoapPort
Throws:
java.rmi.RemoteException
AuthoringFault

revertVersion

public void revertVersion(Reference node,
                          java.lang.String versionLabel)
                   throws java.rmi.RemoteException,
                          AuthoringFault
Revert a node to the snapshot of the specified version.

Specified by:
revertVersion in interface AuthoringServiceSoapPort
Throws:
java.rmi.RemoteException
AuthoringFault

deleteAllVersions

public VersionHistory deleteAllVersions(Reference node)
                                 throws java.rmi.RemoteException,
                                        AuthoringFault
Delete all snapshot versions of the specified node.

Specified by:
deleteAllVersions in interface AuthoringServiceSoapPort
Throws:
java.rmi.RemoteException
AuthoringFault


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