U
- type of AppUser
public interface RequiredPage<U extends AppUser>
FormResult
s are
added as request attributes by ServletFormResultVisitor
andare checked to prevent loops.
Composite
s in the AppUserFactory
can add these if they implement RequiredPageProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AM_REQUIRED_PAGE_ATTR |
static java.lang.String |
REQUIRED_PAGE_RETURN_ATTR |
static java.lang.String |
REQUIRED_PAGES_ATTR |
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
getNotifyText(U person)
If a notification email is being sent (possibly triggered
by a different required page).
|
FormResult |
getPage(SessionService<U> user)
What page should be shown
|
default BaseFilter<U> |
notifiable(SessionService<U> sess)
Filter for people who should be notified by email of a message
(e.g.
|
boolean |
required(SessionService<U> user)
Does this required page need to be shown now
|
static final java.lang.String AM_REQUIRED_PAGE_ATTR
static final java.lang.String REQUIRED_PAGES_ATTR
static final java.lang.String REQUIRED_PAGE_RETURN_ATTR
boolean required(SessionService<U> user)
user
- FormResult getPage(SessionService<U> user)
user
- default BaseFilter<U> notifiable(SessionService<U> sess)
sess
- default java.lang.String getNotifyText(U person)
person
-