|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.sql.conn.SQLSessionContextImpl
public class SQLSessionContextImpl
| Field Summary | |
|---|---|
private SchemaDescriptor |
currentDefaultSchema
|
private java.lang.String |
currentRole
|
private java.lang.String |
currentUser
|
| Constructor Summary | |
|---|---|
SQLSessionContextImpl(SchemaDescriptor sd,
java.lang.String currentUser)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCurrentUser()
Get the SQL current user of this SQL connection context |
SchemaDescriptor |
getDefaultSchema()
Get the schema of this SQL connection context |
java.lang.String |
getRole()
Get the SQL role of this SQL connection context |
void |
setDefaultSchema(SchemaDescriptor sd)
Set the schema of this SQL connection context |
void |
setRole(java.lang.String role)
Set the SQL role of this SQL connection context |
void |
setUser(java.lang.String user)
Set the SQL current user of this SQL connection context |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String currentUser
private java.lang.String currentRole
private SchemaDescriptor currentDefaultSchema
| Constructor Detail |
|---|
public SQLSessionContextImpl(SchemaDescriptor sd,
java.lang.String currentUser)
| Method Detail |
|---|
public void setRole(java.lang.String role)
SQLSessionContext
setRole in interface SQLSessionContextpublic java.lang.String getRole()
SQLSessionContext
getRole in interface SQLSessionContextpublic void setUser(java.lang.String user)
SQLSessionContext
setUser in interface SQLSessionContextpublic java.lang.String getCurrentUser()
SQLSessionContext
getCurrentUser in interface SQLSessionContextpublic void setDefaultSchema(SchemaDescriptor sd)
SQLSessionContext
setDefaultSchema in interface SQLSessionContextpublic SchemaDescriptor getDefaultSchema()
SQLSessionContext
getDefaultSchema in interface SQLSessionContext
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||