|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--jdc.java.lang.Object
|
+--com.jdc.app.mvc.Model
Model processes the user request, i.e. it is the Model in a Model-View-Controller (MVC) framework. Handles to the following implicit objects are provided to simpify usage by classes extending this class: session - The current user session object. user - The current user profile object
| Field Summary | |
protected CurrencyHelper |
currency
A Currency helper object. |
protected Locale |
locale
The current Locale object. |
protected Application.Logger |
log
An application logger object. |
protected DecimalHelper |
number
A Number helper object. |
protected StringHelper |
string
A String helper object. |
protected TimestampHelper |
timestamp
A Timestamp helper object. |
static String |
USER
The identifier for the user object in the session. |
static String |
VIEW
The identifier for the view object in the request. |
| Constructor Summary | |
protected |
Model()
Constructs a new Model object. |
protected |
Model(Locale locale)
Constructs a new Model object for the specified Locale. |
| Method Summary | |
Locale |
getLocale()
Returns the current Locale object. |
void |
setLocale(Locale locale)
Sets (overrides) the current Locale to the specified user Locale. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String USER
public static final String VIEW
protected Locale locale
Locale object.
protected final StringHelper string
String helper object.
protected final DecimalHelper number
Number helper object.
protected final CurrencyHelper currency
Currency helper object.
protected final TimestampHelper timestamp
Timestamp helper object.
protected final Application.Logger log
| Constructor Detail |
protected Model()
Model object.
protected Model(Locale locale)
Model object for the specified Locale.
| Method Detail |
public Locale getLocale()
Locale object.
Locale object.public void setLocale(Locale locale)
Locale to the specified user Locale.
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||