|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.portal.ivs.cg.ConnectionProperties
public class ConnectionProperties
The class that represents connection properties. This class helps the user
set the required properties to establish a connection to a back-end system.
The locale and user properties are mandatory, while
logLevel and logPath properties are optional and
are used only when running JDBC queries over the connection.
The log is active only if logPath is set.
| Field Summary | |
|---|---|
static String |
JDBC_DRIVER_LOG_LEVEL_MSG_AND_EXCEPTIONS
A constant that indicates a JDBC driver log level that prints messages and exceptions to the log. |
static String |
JDBC_DRIVER_LOG_LEVEL_MSG_ONLY
A constant that indicates a JDBC driver log level that prints only messages to the log. |
| Constructor Summary | |
|---|---|
ConnectionProperties()
Deprecated. use ConnectionProperties(Locale,IPrincipal) |
|
ConnectionProperties(Locale locale,
com.sap.security.api.IPrincipal user)
Sets the connection properties for a user. |
|
| Method Summary | |
|---|---|
Locale |
getLocale()
Gets the locale for the connection. |
String |
getLogLevel()
Gets the JDBC driver log level. |
String |
getLogPath()
Gets the JDBC driver log path. |
com.sap.security.api.IPrincipal |
getUser()
Gets the user for the connection. |
void |
setLocale(Locale locale)
Sets the locale for the connection. |
void |
setLogLevel(String logLevel)
Sets the JDBC driver logLevel. |
void |
setLogPath(String logPath)
Sets the JDBC driver logPath. |
void |
setUser(com.sap.security.api.IPrincipal user)
Sets the user for the connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String JDBC_DRIVER_LOG_LEVEL_MSG_ONLY
public static final String JDBC_DRIVER_LOG_LEVEL_MSG_AND_EXCEPTIONS
| Constructor Detail |
|---|
public ConnectionProperties(Locale locale,
com.sap.security.api.IPrincipal user)
locale - the locale for the connectionuser - the user for the connectionpublic ConnectionProperties()
ConnectionProperties(Locale,IPrincipal)
| Method Detail |
|---|
public Locale getLocale()
public com.sap.security.api.IPrincipal getUser()
public void setLocale(Locale locale)
locale - a localepublic void setUser(com.sap.security.api.IPrincipal user)
user - a userpublic String getLogLevel()
public String getLogPath()
public void setLogLevel(String logLevel)
JDBC_DRIVER_LOG_LEVEL_MSG_ONLY and
JDBC_DRIVER_LOG_LEVEL_MSG_AND_EXCEPTIONS.
logLevel - the JDBC driver logLevelpublic void setLogPath(String logPath)
logPath - the logPath| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-CONNECTIVITY
|
[sap.com] tc/ep/connectivity/api
|
api
|
EP-VC-CON
|
[sap.com] EP-CONNECTIVITY
|
[sap.com] tc/ep/connectivity/lib/api
|
api
|
EP-VC-CON
|
[sap.com] EP-CONNECTIVITY
|
[sap.com]
|
api
|
EP-VC-CON
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||