|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BizContext
Interface for application input data.
This interface is passed to Biz implementations to allow for context-specific information to get passed into the Biz layer.
| Nested Class Summary | |
|---|---|
static class |
BizContext.Feature
An enumeration of features supported by the application. |
| Method Summary | |
|---|---|
User |
getActingUser()
Get the acting user. |
magoffin.matt.xweb.util.AppContextSupport |
getAppContextSupport()
Get the application context. |
java.lang.Object |
getAttribute(java.lang.String key)
Get an attribute value. |
java.util.Locale |
getLocale()
Get the Locale to use for messages, etc. |
boolean |
isFeatureEnabled(BizContext.Feature feature)
Test if a feature is enabled. |
void |
setAttribute(java.lang.String key,
java.lang.Object value)
Set an attribute value. |
| Method Detail |
|---|
User getActingUser()
boolean isFeatureEnabled(BizContext.Feature feature)
feature - the feature to test
magoffin.matt.xweb.util.AppContextSupport getAppContextSupport()
java.util.Locale getLocale()
java.lang.Object getAttribute(java.lang.String key)
key - the attribute key
void setAttribute(java.lang.String key,
java.lang.Object value)
key - the attribute keyvalue - the attribute value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||