|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.stellent.ridc.convenience.adf.connection.AdfConnectionFacade
public class AdfConnectionFacade
| Nested Class Summary | |
|---|---|
class |
AdfConnectionFacade.ResultTestConnectionContains boolean for test's success, and a message from the test |
| Field Summary | |
|---|---|
protected RidcMxBeanManager |
m_beanManager |
protected String |
m_connectionName |
protected IdcClient |
m_idcClient |
protected IdcClientManager |
m_idcClientManager |
protected RidcConnection |
m_ridcConnection |
| Constructor Summary | |
|---|---|
AdfConnectionFacade(String connectionName) |
|
| Method Summary | |
|---|---|
protected void |
fetchConnection()fetches information from connections.xml using the ADFContext |
Map<String,String> |
getCredentialsFields(String credentialsLabel)Gets a map of the fields for the credentials label |
Set<String> |
getCredentialsLabels()Get all the credentials labels available |
CredentialsType |
getCredentialsType(String credentialsLabel)Gets the first credentials type that matches the credentials label. |
IdcClient |
getIdcClient()Return an IdcClient object from the ADF context. |
RidcConnection |
getRidcConnection() |
Credentials |
getUserCredentials(String credentialsLabel)Return a Credentials object from the ADF context's connections information |
void |
registerConnectionMBean()Registers connection mbean in the em console, if not already there |
AdfConnectionFacade.ResultTestConnection |
testConnection(String credentialsLabel)Test a credentials label for connectivity to content server |
void |
unregisterConnectionMBean()un-registers connection mbean in the em console |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected RidcMxBeanManager m_beanManager
protected String m_connectionName
protected IdcClientManager m_idcClientManager
protected RidcConnection m_ridcConnection
protected IdcClient m_idcClient
| Constructor Detail |
|---|
public AdfConnectionFacade(String connectionName)
| Method Detail |
|---|
public IdcClient getIdcClient()
throws IdcClientException
ExceptionIdcClientException
public Credentials getUserCredentials(String credentialsLabel)
throws IdcClientException
credentialsLabel - Label of credentials in connections.xml "label.type.fieldname = fieldvalue"IdcClientExceptionpublic AdfConnectionFacade.ResultTestConnection testConnection(String credentialsLabel)
credentialsLabel - credentials label in connections.xml "label.type.fieldname = fieldvalue"
public Set<String> getCredentialsLabels()
throws IdcClientException
IdcClientException
public RidcConnection getRidcConnection()
throws IdcClientException
IdcClientException
protected void fetchConnection()
throws IdcClientException
IdcClientException
public CredentialsType getCredentialsType(String credentialsLabel)
throws IdcClientException
credentialsLabel - credentials label in connections.xml "label.type.fieldname = fieldvalue"IdcClientException
public Map<String,String> getCredentialsFields(String credentialsLabel)
throws IdcClientException
credentialsLabel - credentials label in connections.xml "label.type.fieldname = fieldvalue"IdcClientException
public void registerConnectionMBean()
throws IdcClientException
IdcClientException
public void unregisterConnectionMBean()
throws IdcClientException
IdcClientException
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||