public class ContentListFactory
extends java.lang.Object
implements javax.naming.spi.InitialContextFactory
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>
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 and Description |
|---|
ContentListFactory() |
| Modifier and Type | Method and Description |
|---|---|
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() |
public javax.naming.Context getInitialContext(java.util.Hashtable<?,?> env)
throws javax.naming.NamingException
getInitialContext in interface javax.naming.spi.InitialContextFactoryenv - The resource catalog environmentjavax.naming.NamingException - If an error occurspublic java.util.Collection<ParameterDescriptor> getParameterDescriptors()