|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.7.0) E15995-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.webcenter.doclib.model.rc.DefaultFolderContextFactory
public class DefaultFolderContextFactory
This context factory returns an initial context corresponding to the folder for the current space (i.e., the Group Space folder). If the current space is the personal space, the current user's personal folder is returned.
This factory can be used in a resource catalog as follows:
<customFolder id="doclibGroupDocuments" factoryClass="oracle.webcenter.doclib.model.rc.DefaultFolderContextFactory" />
Constructor Summary | |
---|---|
DefaultFolderContextFactory() |
Method Summary | |
---|---|
javax.naming.Context |
getInitialContext(java.util.Hashtable<?,?> env) Gets the context corresponding to the default folder for the current Space. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFolderContextFactory()
Method Detail |
---|
public javax.naming.Context getInitialContext(java.util.Hashtable<?,?> env) throws javax.naming.NamingException
getInitialContext
in interface javax.naming.spi.InitialContextFactory
env
- The resource catalog environmentnull
if the documents service is not configured or not provisioned in the current space.javax.naming.NamingException
- if an error occurs.
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.7.0) E15995-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |