Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
bottomText |
protected java.lang.String |
listCache |
protected int |
listedRowCounter |
protected Invokable |
submitter |
protected java.lang.String |
title |
protected boolean |
wantToBeFinalized |
additionalButtons, backButton, cancelButton, NAME_FOR_BACK_ACTION, NAME_FOR_CANCEL_ACTION, NAME_FOR_CLOSE_ACTION, NAME_FOR_DIALOG_NBR, NAME_FOR_HELP_ACTION, NAME_FOR_LIST_ACTION, NAME_FOR_NEW_ENTRY_ACTION, NAME_FOR_OK_ACTION, okButton, processComplete, sessionData, stackMovement
Constructor and Description |
---|
List(SessionData sessionData)
Constructs a new list.
|
Modifier and Type | Method and Description |
---|---|
void |
fetchValuesFromRequest(GeneralizedRequest request)
Causes the invokable to delegate this function to all embedded markupables
to fetch their current value as edited by the user from the request.
|
java.lang.String |
getBottomText()
Returns the bottom text.
|
java.lang.String |
getListCache()
Returns the list cache.
|
int |
getNbrOfRows()
Returns the number of rows.
|
protected abstract java.lang.String |
getRowString()
Returns the information to be displayed in one row.
|
java.lang.String |
getTitle()
Returns the dialogs's title.
|
void |
init()
Initializes the invokable in order to reuse the component without garbage
from the previous use.
|
boolean |
isListEmpty()
Returns true if the list is empty.
|
protected abstract boolean |
isRowToListAvailable()
Returns true if a row to list is available.
|
void |
process(GeneralizedRequest request)
Processes the user's request.
|
void |
setBottomText(java.lang.String bottomText)
Sets the bottom text.
|
void |
setListCache(java.lang.String newListCache)
Sets the page cache, which should be done by layout classes to avoid
unnecessarily repeated database enquiry.
|
void |
setSubmitter(Invokable submitter)
Informs this invokable, from which previous invokable it is submitted.
|
void |
setTitle(java.lang.String title)
Sets the dialogs's title.
|
protected abstract boolean |
startListFromBeginning()
Induces to start listing form beginning.
|
afterOutput, appendAdditionalButton, beforeOutput, destroy, finalize, free, getAdditionalButtons, getBackButtonTagSequence, getCancelButtonTagSequence, getFooter, getHeader, getHelpContext, getInvokableInAdvance, getOkButtonTagSequence, getScriptToExecute, getScriptToExecuteSequence, getStackMovement, getSubTitle, isCancelable, isPost, isSuitableDialog, setHelpContext, setHelpContext, setMessageToKeep, setMessageToKeepIfNotAlreadySet, setScriptToExecute, setStackMovement, setSubTitle
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSubmission, wantToBeFinalized
protected java.lang.String title
protected java.lang.String bottomText
protected int listedRowCounter
protected java.lang.String listCache
protected Invokable submitter
protected boolean wantToBeFinalized
public List(SessionData sessionData)
sessionData
- the session's data to sharepublic void init()
Dialog
public void setTitle(java.lang.String title)
Dialog
public java.lang.String getTitle()
Dialog
public void setSubmitter(Invokable submitter)
Invokable
submitter
- the invokable that submitted this invokableprotected abstract boolean startListFromBeginning()
protected abstract boolean isRowToListAvailable()
protected abstract java.lang.String getRowString()
public int getNbrOfRows()
public boolean isListEmpty()
public void setBottomText(java.lang.String bottomText)
bottomText
- The the bottom text to setpublic java.lang.String getBottomText()
public java.lang.String getListCache()
public void setListCache(java.lang.String newListCache)
newListCache
- the list cache to remindLayout
public void process(GeneralizedRequest request)
Dialog
public void fetchValuesFromRequest(GeneralizedRequest request)
Dialog
fetchValuesFromRequest
in interface Invokable
fetchValuesFromRequest
in class Dialog
request
- the request from where the values are to be fetchedMarkupable#fetchYourValueFromRequest
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de