com.wewebu.ow.server.ecmimpl.cmis.content
Class OwCMISContentElement

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.cmis.content.OwCMISContentElement
All Implemented Interfaces:
com.wewebu.ow.server.ecm.OwContentElement

public class OwCMISContentElement
extends Object
implements com.wewebu.ow.server.ecm.OwContentElement

CMIS implementation of the content element.

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

See Also:
OwContentElement

Constructor Summary
OwCMISContentElement(OwCMISNetwork network_p, org.oasis_open.docs.ns.cmis.messaging._200908.CmisContentStreamType nativObject_p, int pageNumber_p)
           
 
Method Summary
 String getContentFilePath()
           
 Object getContentObject()
           
 int getContentRepresentation()
           
 InputStream getContentStream(OutputStream out_p)
           
 String getContentURL()
           
 String getMIMEParameter()
           
 String getMIMEType()
           
protected  org.oasis_open.docs.ns.cmis.messaging._200908.CmisContentStreamType getNativeType()
           
 int getPageNumber(int pageIndex_p)
           
 boolean isInputStreamNative()
           
 void releaseResources()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwCMISContentElement

public OwCMISContentElement(OwCMISNetwork network_p,
                            org.oasis_open.docs.ns.cmis.messaging._200908.CmisContentStreamType nativObject_p,
                            int pageNumber_p)
Method Detail

getContentFilePath

public String getContentFilePath()
                          throws com.wewebu.ow.server.exceptions.OwException
Specified by:
getContentFilePath in interface com.wewebu.ow.server.ecm.OwContentElement
Throws:
com.wewebu.ow.server.exceptions.OwException

getContentObject

public Object getContentObject()
                        throws com.wewebu.ow.server.exceptions.OwException
Specified by:
getContentObject in interface com.wewebu.ow.server.ecm.OwContentElement
Throws:
com.wewebu.ow.server.exceptions.OwException

getContentRepresentation

public int getContentRepresentation()
                             throws com.wewebu.ow.server.exceptions.OwException
Specified by:
getContentRepresentation in interface com.wewebu.ow.server.ecm.OwContentElement
Throws:
com.wewebu.ow.server.exceptions.OwException

getContentStream

public InputStream getContentStream(OutputStream out_p)
                             throws com.wewebu.ow.server.exceptions.OwException
Specified by:
getContentStream in interface com.wewebu.ow.server.ecm.OwContentElement
Throws:
com.wewebu.ow.server.exceptions.OwException

getContentURL

public String getContentURL()
                     throws com.wewebu.ow.server.exceptions.OwException
Specified by:
getContentURL in interface com.wewebu.ow.server.ecm.OwContentElement
Throws:
com.wewebu.ow.server.exceptions.OwException

getMIMEParameter

public String getMIMEParameter()
                        throws com.wewebu.ow.server.exceptions.OwException
Specified by:
getMIMEParameter in interface com.wewebu.ow.server.ecm.OwContentElement
Throws:
com.wewebu.ow.server.exceptions.OwException

getMIMEType

public String getMIMEType()
                   throws com.wewebu.ow.server.exceptions.OwException
Specified by:
getMIMEType in interface com.wewebu.ow.server.ecm.OwContentElement
Throws:
com.wewebu.ow.server.exceptions.OwException

getPageNumber

public int getPageNumber(int pageIndex_p)
                  throws com.wewebu.ow.server.exceptions.OwException
Specified by:
getPageNumber in interface com.wewebu.ow.server.ecm.OwContentElement
Throws:
com.wewebu.ow.server.exceptions.OwException

isInputStreamNative

public boolean isInputStreamNative()
Specified by:
isInputStreamNative in interface com.wewebu.ow.server.ecm.OwContentElement

releaseResources

public void releaseResources()
Specified by:
releaseResources in interface com.wewebu.ow.server.ecm.OwContentElement

getNativeType

protected org.oasis_open.docs.ns.cmis.messaging._200908.CmisContentStreamType getNativeType()


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.