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

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.cmis.content.OwCMISStandardContentConverter
All Implemented Interfaces:
OwCMISContentConveter

public class OwCMISStandardContentConverter
extends Object
implements OwCMISContentConveter

OwCMISStandardContentConverter. Helper class to convert the OwContentCollection to a CMIS specific CmisContentStreamType.

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


Constructor Summary
OwCMISStandardContentConverter()
           
 
Method Summary
 org.oasis_open.docs.ns.cmis.messaging._200908.CmisContentStreamType createCmisContentStream(com.wewebu.ow.server.ecm.OwContentCollection contentCollection_p)
          Creates a CmisContentStreamType using the first OwContentElement of type OwContentCollection.CONTENT_TYPE_DOCUMENT.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwCMISStandardContentConverter

public OwCMISStandardContentConverter()
Method Detail

createCmisContentStream

public org.oasis_open.docs.ns.cmis.messaging._200908.CmisContentStreamType createCmisContentStream(com.wewebu.ow.server.ecm.OwContentCollection contentCollection_p)
                                                                                            throws com.wewebu.ow.server.exceptions.OwException
Description copied from interface: OwCMISContentConveter
Creates a CmisContentStreamType using the first OwContentElement of type OwContentCollection.CONTENT_TYPE_DOCUMENT.

Specified by:
createCmisContentStream in interface OwCMISContentConveter
Parameters:
contentCollection_p - OwContentCollection where to retrieve the OwContentElement
Returns:
CmisContentStreamType
Throws:
com.wewebu.ow.server.exceptions.OwException - if problem occurs, retrieving the OwContentElement or OwContentElement-metadata


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.