com.wewebu.ow.server.ecmimpl.cmis.content
Class OwCMISContentElementDataSource
java.lang.Object
com.wewebu.ow.server.ecmimpl.cmis.content.OwCMISContentElementDataSource
- All Implemented Interfaces:
- DataSource
public class OwCMISContentElementDataSource
- extends Object
- implements DataSource
OwContentElementDataSource implements the DataSource interface to
transfer content stream in service calls.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATASOURCE_CONTENT_KEY
public static final String DATASOURCE_CONTENT_KEY
- Save a DataSource into the MessageContext to provide Content as SOAP-Attachment
- Since:
- 3.1.0.0
- See Also:
- Constant Field Values
OwCMISContentElementDataSource
public OwCMISContentElementDataSource(com.wewebu.ow.server.ecm.OwContentElement elem_p,
String name_p)
throws com.wewebu.ow.server.exceptions.OwException
- Throws:
com.wewebu.ow.server.exceptions.OwException
OwCMISContentElementDataSource
public OwCMISContentElementDataSource(com.wewebu.ow.server.ecm.OwContentElement elem_p,
String name_p,
String mimeType_p)
throws com.wewebu.ow.server.exceptions.OwException
- Throws:
com.wewebu.ow.server.exceptions.OwException
getContentType
public String getContentType()
- Specified by:
getContentType
in interface DataSource
getInputStream
public InputStream getInputStream()
throws IOException
- Specified by:
getInputStream
in interface DataSource
- Throws:
IOException
getName
public String getName()
- Specified by:
getName
in interface DataSource
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Specified by:
getOutputStream
in interface DataSource
- Throws:
IOException
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.