|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
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.RidcConnection
public class RidcConnection
Field Summary | |
---|---|
static String |
CONNECTION_URL_KEY |
static String |
IDC_CONNECTION_KEY_PREFIX |
Constructor Summary | |
---|---|
RidcConnection() Default Constructor. |
|
RidcConnection(Reference ref) Constructor that takes in a jndi reference. |
|
RidcConnection(String connectionName, Reference reference) |
Method Summary | |
---|---|
static RidcConnection |
create(Reference ref, Name name, Context nameCtx, Hashtable<?,?> environment) Create an an IdcConnection from the given reference using the given name, context and environment properties. |
boolean |
equals(Object o) |
String |
getAppid(String credentialsLabel, CredentialsType credentialsType) |
Map<String,String> |
getConfigProperties() Get the configuration properties of the IDC Connection. |
String |
getConnectionName() |
String |
getConnectionUrl() |
static String |
getFieldNameForAppid(String credentialsLabel, CredentialsType credentialsType) |
static String |
getFieldNameForPassword(String credentialsLabel, CredentialsType credentialsType) |
static String |
getFieldNameForUserName(String credentialsLabel, CredentialsType credentialsType) |
String |
getPassword(String credentialsLabel, CredentialsType credentialsType) |
String |
getProperty(String name) Retrieve a property value by name |
Reference |
getReference() |
int |
getSocketTimeout() |
String |
getUserName(String credentialsLabel, CredentialsType credentialsType) |
int |
hashCode() |
boolean |
isNewConnection() Is this a new connection or an already existing one? |
void |
setAppid(String credentialsLabel, CredentialsType credentialsType, String appid) |
void |
setConfigParameters(Map<String,String> configParams) Set the configuration parameters of the IDC Connection. |
void |
setConnectionName(String connectionName) |
void |
setConnectionUrl(String connectionUrl) |
void |
setPassword(String credentialsLabel, CredentialsType credentialsType, String password) |
void |
setProperty(String name, String value) Set a property name and value |
void |
setSocketTimeout(int timeout) |
void |
setUserName(String credentialsLabel, CredentialsType credentialsType, String name) |
String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String IDC_CONNECTION_KEY_PREFIX
public static final String CONNECTION_URL_KEY
Constructor Detail |
---|
public RidcConnection()
public RidcConnection(String connectionName, Reference reference)
public RidcConnection(Reference ref)
ref
- jndi reference the IdcConnection object will be created from.Method Detail |
---|
public static RidcConnection create(Reference ref, Name name, Context nameCtx, Hashtable<?,?> environment)
ref
- a jndi reference object.name
- jndi name.nameCtx
- jndi name context.environment
- environment property hashtable.public Reference getReference() throws NamingException
getReference
in interface Referenceable
NamingException
public String getConnectionName()
public void setConnectionName(String connectionName)
public boolean isNewConnection()
public void setConfigParameters(Map<String,String> configParams)
configParams
- a map containing configuration properties.public Map<String,String> getConfigProperties()
public String getProperty(String name)
name
- the property namepublic void setProperty(String name, String value)
name
- the property namevalue
- the property valuepublic String getConnectionUrl()
public void setConnectionUrl(String connectionUrl)
public int getSocketTimeout()
public void setSocketTimeout(int timeout)
public void setUserName(String credentialsLabel, CredentialsType credentialsType, String name)
public String getUserName(String credentialsLabel, CredentialsType credentialsType)
public void setPassword(String credentialsLabel, CredentialsType credentialsType, String password)
public String getPassword(String credentialsLabel, CredentialsType credentialsType)
public void setAppid(String credentialsLabel, CredentialsType credentialsType, String appid)
public String getAppid(String credentialsLabel, CredentialsType credentialsType)
public static String getFieldNameForUserName(String credentialsLabel, CredentialsType credentialsType)
public static String getFieldNameForPassword(String credentialsLabel, CredentialsType credentialsType)
public static String getFieldNameForAppid(String credentialsLabel, CredentialsType credentialsType)
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |