org.alfresco.webservice.content
Interface ContentServiceSoapPort

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
ContentServiceSoapBindingStub

public interface ContentServiceSoapPort
extends java.rmi.Remote


Method Summary
 Content[] clear(Predicate items, java.lang.String property)
          Clears content from the repository.
 Content[] read(Predicate items, java.lang.String property)
          Retrieves content from the repository.
 Content transform(Reference source, java.lang.String property, Reference destinationReference, java.lang.String destinationProperty, ContentFormat destinationFormat)
          Transforms content from one mimetype to another.
 Content write(Reference node, java.lang.String property, byte[] content, ContentFormat format)
          Writes content to the repository.
 Content writeWithAttachment(Reference node, java.lang.String property, ContentFormat format)
          Writes the attached content into the repository.
 

Method Detail

read

Content[] read(Predicate items,
               java.lang.String property)
               throws java.rmi.RemoteException,
                      ContentFault
Retrieves content from the repository.

Throws:
java.rmi.RemoteException
ContentFault

write

Content write(Reference node,
              java.lang.String property,
              byte[] content,
              ContentFormat format)
              throws java.rmi.RemoteException,
                     ContentFault
Writes content to the repository.

Throws:
java.rmi.RemoteException
ContentFault

writeWithAttachment

Content writeWithAttachment(Reference node,
                            java.lang.String property,
                            ContentFormat format)
                            throws java.rmi.RemoteException,
                                   ContentFault
Writes the attached content into the repository.

Throws:
java.rmi.RemoteException
ContentFault

clear

Content[] clear(Predicate items,
                java.lang.String property)
                throws java.rmi.RemoteException,
                       ContentFault
Clears content from the repository.

Throws:
java.rmi.RemoteException
ContentFault

transform

Content transform(Reference source,
                  java.lang.String property,
                  Reference destinationReference,
                  java.lang.String destinationProperty,
                  ContentFormat destinationFormat)
                  throws java.rmi.RemoteException,
                         ContentFault
Transforms content from one mimetype to another.

Throws:
java.rmi.RemoteException
ContentFault


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