org.alfresco.repo.webservice.content
Class ContentWebService

java.lang.Object
  extended by org.alfresco.repo.webservice.AbstractWebService
      extended by org.alfresco.repo.webservice.content.ContentWebService
All Implemented Interfaces:
java.rmi.Remote, org.alfresco.repo.webservice.content.ContentServiceSoapPort

public class ContentWebService
extends AbstractWebService
implements org.alfresco.repo.webservice.content.ContentServiceSoapPort

Web service implementation of the ContentService. The WSDL for this service can be accessed from http://localhost:8080/alfresco/wsdl/content-service.wsdl


Field Summary
 
Fields inherited from class org.alfresco.repo.webservice.AbstractWebService
contentService, dictionaryService, namespaceService, nodeService, querySessionCache, searchService, serviceRegistry
 
Constructor Summary
ContentWebService()
           
 
Method Summary
 org.alfresco.repo.webservice.content.Content[] clear(org.alfresco.repo.webservice.types.Predicate items, java.lang.String property)
           
 org.alfresco.repo.webservice.content.Content[] read(org.alfresco.repo.webservice.types.Predicate items, java.lang.String property)
           
 org.alfresco.repo.webservice.content.Content transform(org.alfresco.repo.webservice.types.Reference source, java.lang.String property, org.alfresco.repo.webservice.types.Reference destinationReference, java.lang.String destinationProperty, org.alfresco.repo.webservice.types.ContentFormat destinationFormat)
          Transforms content from one node and mimetype to another node and mimetype
 org.alfresco.repo.webservice.content.Content write(org.alfresco.repo.webservice.types.Reference node, java.lang.String property, byte[] content, org.alfresco.repo.webservice.types.ContentFormat format)
           
 org.alfresco.repo.webservice.content.Content writeWithAttachment(org.alfresco.repo.webservice.types.Reference node, java.lang.String property, org.alfresco.repo.webservice.types.ContentFormat format)
           
 
Methods inherited from class org.alfresco.repo.webservice.AbstractWebService
setContentService, setDictionaryService, setNamespaceService, setNodeService, setQuerySessionCache, setSearchService, setServiceRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentWebService

public ContentWebService()
Method Detail

read

public org.alfresco.repo.webservice.content.Content[] read(org.alfresco.repo.webservice.types.Predicate items,
                                                           java.lang.String property)
                                                    throws java.rmi.RemoteException,
                                                           org.alfresco.repo.webservice.content.ContentFault
Specified by:
read in interface org.alfresco.repo.webservice.content.ContentServiceSoapPort
Throws:
java.rmi.RemoteException
org.alfresco.repo.webservice.content.ContentFault
See Also:
org.alfresco.repo.webservice.content.ContentServiceSoapPort#read(org.alfresco.repo.webservice.types.Reference)

write

public org.alfresco.repo.webservice.content.Content write(org.alfresco.repo.webservice.types.Reference node,
                                                          java.lang.String property,
                                                          byte[] content,
                                                          org.alfresco.repo.webservice.types.ContentFormat format)
                                                   throws java.rmi.RemoteException,
                                                          org.alfresco.repo.webservice.content.ContentFault
Specified by:
write in interface org.alfresco.repo.webservice.content.ContentServiceSoapPort
Throws:
java.rmi.RemoteException
org.alfresco.repo.webservice.content.ContentFault
See Also:
org.alfresco.repo.webservice.content.ContentServiceSoapPort#write(org.alfresco.repo.webservice.types.Reference, byte[])

writeWithAttachment

public org.alfresco.repo.webservice.content.Content writeWithAttachment(org.alfresco.repo.webservice.types.Reference node,
                                                                        java.lang.String property,
                                                                        org.alfresco.repo.webservice.types.ContentFormat format)
                                                                 throws java.rmi.RemoteException,
                                                                        org.alfresco.repo.webservice.content.ContentFault
Specified by:
writeWithAttachment in interface org.alfresco.repo.webservice.content.ContentServiceSoapPort
Throws:
java.rmi.RemoteException
org.alfresco.repo.webservice.content.ContentFault
See Also:
org.alfresco.repo.webservice.content.ContentServiceSoapPort#writeWithAttachments(org.alfresco.repo.webservice.types.Reference[], java.lang.String[], org.alfresco.repo.webservice.types.ContentFormat[])

clear

public org.alfresco.repo.webservice.content.Content[] clear(org.alfresco.repo.webservice.types.Predicate items,
                                                            java.lang.String property)
                                                     throws java.rmi.RemoteException,
                                                            org.alfresco.repo.webservice.content.ContentFault
Specified by:
clear in interface org.alfresco.repo.webservice.content.ContentServiceSoapPort
Throws:
java.rmi.RemoteException
org.alfresco.repo.webservice.content.ContentFault
See Also:
ContentServiceSoapPort.clear(org.alfresco.repo.webservice.types.Predicate, java.lang.String)

transform

public org.alfresco.repo.webservice.content.Content transform(org.alfresco.repo.webservice.types.Reference source,
                                                              java.lang.String property,
                                                              org.alfresco.repo.webservice.types.Reference destinationReference,
                                                              java.lang.String destinationProperty,
                                                              org.alfresco.repo.webservice.types.ContentFormat destinationFormat)
                                                       throws java.rmi.RemoteException,
                                                              org.alfresco.repo.webservice.content.ContentFault
Transforms content from one node and mimetype to another node and mimetype

Specified by:
transform in interface org.alfresco.repo.webservice.content.ContentServiceSoapPort
Throws:
java.rmi.RemoteException
org.alfresco.repo.webservice.content.ContentFault
See Also:
ContentServiceSoapPort.transform(org.alfresco.repo.webservice.types.Reference, java.lang.String, org.alfresco.repo.webservice.types.Reference, java.lang.String, org.alfresco.repo.webservice.types.ContentFormat)


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