com.wewebu.ow.server.ecmimpl.opencmis.content
Class OwCMISContentCollection

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.opencmis.content.OwCMISContentCollection
All Implemented Interfaces:
com.wewebu.ow.server.ecm.OwContentCollection

public class OwCMISContentCollection
extends Object
implements com.wewebu.ow.server.ecm.OwContentCollection

Simple content collection implementation, based on org.apache.chemistry.opencmis.client.api.Document object.

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


Field Summary
 
Fields inherited from interface com.wewebu.ow.server.ecm.OwContentCollection
CONTENT_REPRESENTATION_TYPE_NONE, CONTENT_REPRESENTATION_TYPE_OBJECT, CONTENT_REPRESENTATION_TYPE_STREAM, CONTENT_REPRESENTATION_TYPE_URL, CONTENT_REPRESENTATION_TYPE_USER_START, CONTENT_TYPE_ANNOTATION, CONTENT_TYPE_DOCUMENT, CONTENT_TYPE_SECURITY, CONTENT_TYPE_USER_START
 
Constructor Summary
OwCMISContentCollection(org.apache.chemistry.opencmis.client.api.TransientDocument document)
           
 
Method Summary
 com.wewebu.ow.server.ecm.OwContentElement getContentElement(int iContentType_p, int iPage_p)
           
 Collection<Integer> getContentTypes()
           
protected  org.apache.chemistry.opencmis.client.api.TransientDocument getNativeObject()
          Reference to current native object.
 int getPageCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwCMISContentCollection

public OwCMISContentCollection(org.apache.chemistry.opencmis.client.api.TransientDocument document)
Method Detail

getContentElement

public com.wewebu.ow.server.ecm.OwContentElement getContentElement(int iContentType_p,
                                                                   int iPage_p)
                                                            throws Exception
Specified by:
getContentElement in interface com.wewebu.ow.server.ecm.OwContentCollection
Throws:
Exception

getPageCount

public int getPageCount()
                 throws Exception
Specified by:
getPageCount in interface com.wewebu.ow.server.ecm.OwContentCollection
Throws:
Exception

getContentTypes

public Collection<Integer> getContentTypes()
                                    throws Exception
Specified by:
getContentTypes in interface com.wewebu.ow.server.ecm.OwContentCollection
Throws:
Exception

getNativeObject

protected org.apache.chemistry.opencmis.client.api.TransientDocument getNativeObject()
Reference to current native object.

Returns:
Document


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.