public class ClientContext extends Object implements Serializable
| Constructor and Description |
|---|
ClientContext()
Default constructor.
|
ClientContext(ClientContext ctx,
boolean deepCopy)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationName() |
String |
getDatabaseContext() |
boolean |
getDebug()
Determines if the debug property is true.
|
Object |
getParam(Object key)
Returns a given parameter (or
null if not found). |
String |
getUserId()
Access method for the userId property.
|
void |
setApplicationName(String applicationName)
Set the application name to be used.
|
void |
setDatabaseContext(String databaseContext)
Set the
databaseContext to be used. |
void |
setDebug(boolean aDebug)
Sets the value of the debug property.
|
void |
setParam(Object key,
Object value)
Set new value of a parameter.
|
void |
setUserId(String aUserId)
Sets the value of the userId property.
|
public ClientContext()
public ClientContext(ClientContext ctx, boolean deepCopy)
ctx - the ClientContext to copydeepCopy - true if a deep copy is wanted, i.e. create a copy of the
params Mappublic String getUserId()
public void setUserId(String aUserId)
aUserId - the new value of the userId propertypublic boolean getDebug()
true if the debug property is truepublic void setDebug(boolean aDebug)
aDebug - the new value of the debug propertypublic void setParam(Object key, Object value)
key - Parameter ID.value - Parameter value.public Object getParam(Object key)
null if not found).key - Parameter ID.public String getDatabaseContext()
databaseContextpublic void setDatabaseContext(String databaseContext)
databaseContext to be used.databaseContext - (missing javadoc)public void setApplicationName(String applicationName)
applicationName - Application namepublic String getApplicationName()
Copyright © 2006–2020 Esito AS. All rights reserved.