|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use UserContext | |
|---|---|
| velosurf.context | Contains all classes that can be accessed from inside a Velocity template. |
| velosurf.model | Classes linked to the data model : entities, attributes and actions Package Specification |
| velosurf.web | Contains the velocity-tools version of the Velosurf tool, plus an http query parameter parser tool. |
| Uses of UserContext in velosurf.context |
|---|
| Fields in velosurf.context declared as UserContext | |
|---|---|
protected UserContext |
AttributeReference.userContext
user context |
protected UserContext |
DBReference.userContext
a reference to the user context |
protected UserContext |
RowIterator.userContext
user context |
protected UserContext |
EntityReference.userContext
user context to give to created instances |
| Fields in velosurf.context with type parameters of type UserContext | |
|---|---|
protected java.lang.ThreadLocal<UserContext> |
Instance.userContext
thread-local user context |
| Methods in velosurf.context with parameters of type UserContext | |
|---|---|
protected void |
DBReference.init(Database db,
UserContext userContext)
protected initialization method |
protected void |
Instance.setUserContext(UserContext userContext)
set this instance user context (thread local) |
void |
RowIterator.setUserContext(UserContext context)
set the localizer to be used to build instances |
| Constructors in velosurf.context with parameters of type UserContext | |
|---|---|
AttributeReference(ReadOnlyMap readOnlyMap,
Attribute attribute,
UserContext usrCtx)
Constructor for attributes |
|
DBReference(Database db,
UserContext userContext)
Constructs a new database reference |
|
EntityReference(Entity entity,
UserContext userContext)
Builds a new EntityReference. |
|
| Uses of UserContext in velosurf.model |
|---|
| Methods in velosurf.model with parameters of type UserContext | |
|---|---|
boolean |
Entity.validate(ReadOnlyMap row,
UserContext userContext)
validate a set of values |
| Uses of UserContext in velosurf.web |
|---|
| Methods in velosurf.web with parameters of type UserContext | |
|---|---|
static DBReference |
VelosurfTool.getDefaultInstance(javax.servlet.ServletContext servletContext,
UserContext userContext)
returns a db reference on the existing Database for the default config file and servlet context, or null if an error occurs. |
static DBReference |
VelosurfTool.getDefaultInstance(UserContext userContext)
returns a db reference the existing Database for the default config file, or null if it does not already exist. |
static DBReference |
VelosurfTool.getInstance(java.lang.String configFile,
javax.servlet.ServletContext servletContext,
UserContext userContext)
returns a db reference on the existing Database for the specified config file and servlet context, or null if an error occurs. |
static DBReference |
VelosurfTool.getInstance(java.lang.String configFile,
UserContext userContext)
returns a db reference on the existing Database for the specified config file, or null if it isn't already open. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||