Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


oracle.webcenter.content.model.rc
Class ContentListFactory

java.lang.Object
  extended by oracle.webcenter.content.model.rc.ContentListFactory

All Implemented Interfaces:
javax.naming.spi.InitialContextFactory

public class ContentListFactory
extends java.lang.Object
implements javax.naming.spi.InitialContextFactory

This context factory returns a context containing all the available content items for a specified datasource and datasourceType.

It can be used in a resource catalog as follows:

 <customFolder id="doclibCustomFolder"
               factoryClass="oracle.webcenter.content.model.rc.ContentListFactory" />
     <parameters>
        <parameter id="datasource"> myconnection.us.oracle.com#dCollectionID:45535 </parameter>
        <parameter id="datasourceType"> dsTypeFolderContents </parameter>
    </parameters>
 
See Also:
DocLibModelConstants.DATA_SOURCE_MULTI_NODE, DocLibModelConstants.DATA_SOURCE_TYPE_FOLDER_CONTENTS, DocLibModelConstants.DATA_SOURCE_TYPE_QUERY, oracle.webcenter.doclib.model.DATA_SOURCE_TYPE_SINGLE_NODE, DocLibModelConstants.DATA_SOURCE_SCENARIO_RESULTS

Constructor Summary
ContentListFactory()
           

 

Method Summary
 javax.naming.Context getInitialContext(java.util.Hashtable<?,?> env)
          Gets the container context listing all content items for the configured datasource and datasourceType.
 java.util.Collection<ParameterDescriptor> getParameterDescriptors()
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ContentListFactory

public ContentListFactory()

Method Detail

getInitialContext

public javax.naming.Context getInitialContext(java.util.Hashtable<?,?> env)
                                       throws javax.naming.NamingException
Gets the container context listing all content items for the configured datasource and datasourceType.
Specified by:
getInitialContext in interface javax.naming.spi.InitialContextFactory
Parameters:
env - The resource catalog environment
Returns:
The content items context
Throws:
javax.naming.NamingException - If an error occurs

getParameterDescriptors

public java.util.Collection<ParameterDescriptor> getParameterDescriptors()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


Copyright © 2009, 2012, Oracle and/or its affiliates. All rights reserved.