|
Oracle Discussions Java API Reference 10g Release 1 (10.1.2) B25496-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.discussions.sdk.TdStoreManager
Entry point for all oracle discussions APIs. The TdStoreManager is used by callers to acquire an instance of a TdStore and interact with the store boards. Each TdStore is associated with a message store where discusssion message will be saved under facilities and boards.
Oracle discussions elements names have been changed in the webui compared to that of sdk portion. The existing names to the new names mapping is as shown.
Sample code snippet illustrating the usage of TdStoreManager
//Create a discussions initial context. TdInitialContext tdic = new TdInitialContext(mEnv); //Create an instance of store manager. TdStoreManager s_tdStoreMgr = TdStoreManager.createInstance(tdic); //Retrieve store factory from the store manager. TdStoreFactory s_tdsf = s_tdStoreMgr.getTdStoreFactory();
TdStore
, TdUserFactory
, CacheManager
Method Summary | |
void |
close() Closes the resources associated with this store manager. |
static TdStoreManager |
createInstance(TdInitialContext tdic) Returns a new instance of the TdStoreManager initialized with the supplied initial context parameters. |
TdStoreFactory |
getTdStoreFactory() Returns a TdStoreFactory configured for a discussions store. |
TdStoreFactory |
getTdStoreFactory(java.lang.String midtierInstance) Returns a TdStoreFactory configured for a Discussions Store based on the supplied domain. |
static java.lang.String |
getVersion() Returns the Discussions product version used by this sdk. |
static java.lang.String |
getVersion(boolean bFullVersion) Returns the full Discussions product version used by this sdk including the build time. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static TdStoreManager createInstance(TdInitialContext tdic) throws TdException
tdic
- Discussions initial Contextpublic TdStoreFactory getTdStoreFactory() throws TdException
public TdStoreFactory getTdStoreFactory(java.lang.String midtierInstance) throws TdException
midtierInstance
- Discussions instance namepublic void close() throws TdException
Also resets teh boolean flag indicating that the resources will have to be initialized again when the first user logs in.
public static java.lang.String getVersion()
public static java.lang.String getVersion(boolean bFullVersion)
|
Oracle Discussions Java API Reference 10g Release 1 (10.1.2) B25496-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |