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