|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sandev.ui.structs.SandUIStruct
public class SandUIStruct
A display independent model of screen transitions.
Provides main entry points (top level screens), default display templates, unauthenticated (public) access definitions, default security and locale information.
A SandUI consists of one or more display screens, which in turn contain links to other screens. These screens, and the links between them, are used to model transitions at the application (screen flow) level. This is related to, but distinguished from the workflow (business process management) level. Where the user flow of control involves significant branching logic, multiple operations within a single application, operations across multiple applications, or other processing beyond the scope of screenflow, it is strongly recommended that the application UI(s) be further wrapped and driven through an appropriate workflow interface.
Localization of a SandUI follows the standard Locale
model (language_country_variant), with optional constraints on the set of
allowed values. If no constraints are specified, the locale is determined
by the execution environment. See the locale* fields and the
Locale class (in the J2SE) for details.
| Field Summary | |
|---|---|
protected int |
defaultSecurity
The default interface display transmission security. |
protected java.lang.String |
defaultTemplate
The default rendering transformation template name. |
protected java.lang.String[] |
entryPoints
The names of the screens which are top level entry points. |
protected java.lang.String |
errorTemplate
Transformation template for the error display. |
protected int |
initialDisplay
If no public user is specified, then this indicates which initial display should be used. |
protected java.lang.String[] |
localeCountries
If empty, then all countries are implicitely supported in this UI. |
protected java.lang.String[] |
localeLanguages
If empty, then all languages are implicitly supported in this UI. |
protected java.lang.String[] |
localeVariants
If empty, then all variants are implicitely supported in this UI. |
protected java.lang.String |
loginTemplate
Transformation template for the login display. |
protected java.lang.String |
name
A name identifying this instance. |
protected long |
publicAuthUserID
If the specified value resolves to an AuthUser, then anyone can access the application as that AuthUser. |
protected ScreenStruct[] |
screens
The screens defined for this UI. |
protected java.lang.String |
welcomeTemplate
Transformation template for the welcome screen. |
| Constructor Summary | |
|---|---|
SandUIStruct()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
protected java.lang.String defaultTemplate
protected int defaultSecurity
For direct displays (such as a typical GUI app) this value may
be irrelevant.
enumerated constant values:
NORMAL("normal") = 0SECURE("secure") = 1protected long publicAuthUserID
protected java.lang.String welcomeTemplate
protected int initialDisplay
enumerated constant values:
WELCOME("welcome screen") = 0LOGIN("login form") = 1protected java.lang.String loginTemplate
protected java.lang.String errorTemplate
Note that the error display must still happen even if template
transformation fails.
protected java.lang.String[] entryPoints
protected ScreenStruct[] screens
protected java.lang.String[] localeLanguages
Array entry values are lower-case, two-letter codes as defined
by
ISO-639.
protected java.lang.String[] localeCountries
The country choices may be constrained by the language choice.
Array entry values are upper-case, two-letter codes as defined by
ISO-3166.
protected java.lang.String[] localeVariants
Variant values are as defined in the java.util.Locale
| Constructor Detail |
|---|
public SandUIStruct()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||