public class ContentWebService extends AbstractWebService implements ContentServiceSoapPort
contentService, dictionaryService, namespaceService, nodeService, querySessionCache, searchService, serviceRegistry| Constructor and Description |
|---|
ContentWebService() |
| Modifier and Type | Method and Description |
|---|---|
Content[] |
clear(Predicate items,
String property)
Clears content from the repository.
|
Content[] |
read(Predicate items,
String property)
Retrieves content from the repository.
|
Content |
transform(Reference source,
String property,
Reference destinationReference,
String destinationProperty,
ContentFormat destinationFormat)
Transforms content from one node and mimetype to another node and mimetype
|
Content |
write(Reference node,
String property,
byte[] content,
ContentFormat format)
Writes content to the repository.
|
Content |
writeWithAttachment(Reference node,
String property,
ContentFormat format)
Writes the attached content into the repository.
|
setContentService, setDictionaryService, setNamespaceService, setNodeService, setQuerySessionCache, setSearchService, setServiceRegistrypublic Content[] read(Predicate items, String property) throws RemoteException, ContentFault
ContentServiceSoapPortread in interface ContentServiceSoapPortRemoteExceptionContentFaultorg.alfresco.repo.webservice.content.ContentServiceSoapPort#read(org.alfresco.repo.webservice.types.Reference)public Content write(Reference node, String property, byte[] content, ContentFormat format) throws RemoteException, ContentFault
ContentServiceSoapPortwrite in interface ContentServiceSoapPortRemoteExceptionContentFaultorg.alfresco.repo.webservice.content.ContentServiceSoapPort#write(org.alfresco.repo.webservice.types.Reference,
byte[])public Content writeWithAttachment(Reference node, String property, ContentFormat format) throws RemoteException, ContentFault
ContentServiceSoapPortwriteWithAttachment in interface ContentServiceSoapPortRemoteExceptionContentFaultorg.alfresco.repo.webservice.content.ContentServiceSoapPort#writeWithAttachments(org.alfresco.repo.webservice.types.Reference[], java.lang.String[], org.alfresco.repo.webservice.types.ContentFormat[])public Content[] clear(Predicate items, String property) throws RemoteException, ContentFault
ContentServiceSoapPortclear in interface ContentServiceSoapPortRemoteExceptionContentFaultContentServiceSoapPort.clear(org.alfresco.repo.webservice.types.Predicate,
java.lang.String)public Content transform(Reference source, String property, Reference destinationReference, String destinationProperty, ContentFormat destinationFormat) throws RemoteException, ContentFault
transform in interface ContentServiceSoapPortRemoteExceptionContentFaultContentServiceSoapPort.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–2014 Alfresco Software. All rights reserved.