public abstract class AbstractDataList extends ListRemoteUserInterface
Modifier and Type | Field and Description |
---|---|
protected java.util.Vector<MustButton> |
additionalButtons |
protected SearchListDetailGroup |
group |
protected java.util.Vector<de.must.appletserver.AbstractDataList.ShortIdentifiedDetail> |
inUse |
protected java.util.Vector<Identifier> |
itemsToRemoveInApplet |
protected Identifier |
lastSelectionIdentifier |
protected java.util.Vector<de.must.appletserver.AbstractDataList.ShortIdentifiedDetail> |
pendingDeleteConfirmation |
BUILD_STATUS_COMPLETE_BUILD_NECESSARY, BUILD_STATUS_EMPTY_LIST_TO_BUILD, BUILD_STATUS_NEW_SELECT, BUILD_STATUS_NOTHING_TO_DO, BUILD_STATUS_UPDATE, buildStatus, identifiers, sqlSyntaxError
appearanceModifiablePool, appellation, buildDone, confirmationMatter, contextInfo, dependencies, infoMatter, isToRenew, popupBuilders, presentMessageInDialogIfRepeated, remoteContents, remoteContentsExceptionallyToSetValues, sessionData
Constructor and Description |
---|
AbstractDataList(SessionData sessionData,
ContextInfo contextInfo) |
AbstractDataList(SessionData sessionData,
FreeCenterGroup group) |
AbstractDataList(SessionData sessionData,
SearchListDetailGroup group)
Constructs a new data list.
|
Modifier and Type | Method and Description |
---|---|
protected InsertedButton |
addButton(java.lang.String label) |
protected InsertedButton |
addButton(java.lang.String label,
int index) |
protected InsertedButton |
addButton(java.lang.String imageName,
java.lang.String fallbackLabel) |
protected InsertedButton |
addButton(java.lang.String imageName,
java.lang.String fallbackLabel,
int index) |
protected void |
deleteButtonAction() |
void |
destroy()
Don't wait until garbage collector removed weak reference.
|
void |
fetchValuesFromRequest(GeneralizedRequest request) |
protected abstract java.util.Vector<java.lang.String> |
getDetailInfo(Identifier identifier) |
protected java.lang.String |
getElaboratedWhereCondition()
Returns the where condition.
|
protected DataObject |
getListDataObject() |
protected abstract int |
getNbrOfRowsPerHostContact()
Specifies the number of rows that should be listed by one host contact.
|
protected abstract java.lang.String |
getOrderByFields()
Returns the fields to be used for the order by clause, separated by comma
as usual in SQL statements.
|
protected java.lang.String |
getSelectionFields()
Returns the fields to be selected, separated by comma as usual in SQL statements.
|
protected java.lang.String |
getWhereCondition()
Returns the where condition for the select statement to process the inquiry.
|
boolean |
hasSqlSyntaxError()
Returns true if there is an SQL syntax error.
|
boolean |
isShowhits()
Returns the showhits.
|
void |
process(GeneralizedRequest request) |
void |
setShowhits(boolean showhits)
Sets the showhits.
|
getSelectedIdentifiers
addDependency, addDependency, associateDefaultButtonToInputField, buildRemoteView, free, getAppellation, getAppResStr, getConcerning, getContextInfo, getElementID, getInstance, getMessageSetSize, getTabId, getTabLabel, getTranslation, hasVeto, isVisible, register, register, registerRemotable, setAppellation, setElementID, setMessage, setMessageToKeep, setMessageToKeep, setMessageToKeep, setMessageToKeep, setMessageToKeep, setSoundToPlay, setTitle, setToolTipText, setToRenewToTrue, setVisible
protected SearchListDetailGroup group
protected java.util.Vector<MustButton> additionalButtons
protected Identifier lastSelectionIdentifier
protected java.util.Vector<de.must.appletserver.AbstractDataList.ShortIdentifiedDetail> inUse
protected java.util.Vector<de.must.appletserver.AbstractDataList.ShortIdentifiedDetail> pendingDeleteConfirmation
protected java.util.Vector<Identifier> itemsToRemoveInApplet
public AbstractDataList(SessionData sessionData, SearchListDetailGroup group)
sessionData
- the session's data to sharepublic AbstractDataList(SessionData sessionData, FreeCenterGroup group)
public AbstractDataList(SessionData sessionData, ContextInfo contextInfo)
protected InsertedButton addButton(java.lang.String label)
protected InsertedButton addButton(java.lang.String label, int index)
protected InsertedButton addButton(java.lang.String imageName, java.lang.String fallbackLabel)
protected InsertedButton addButton(java.lang.String imageName, java.lang.String fallbackLabel, int index)
public void setShowhits(boolean showhits)
showhits
- The showhits to setpublic boolean isShowhits()
protected DataObject getListDataObject()
protected java.lang.String getSelectionFields()
return DbField1, DbField2, DbField3;
protected java.lang.String getWhereCondition()
Search
for samples
how this may be implemented. In the simplest case it looks like
return DbFieldName like '%" + UIfield.getText() + "%'";
Search.getWhereCondition()
protected abstract java.lang.String getOrderByFields()
protected abstract int getNbrOfRowsPerHostContact()
public boolean hasSqlSyntaxError()
public void fetchValuesFromRequest(GeneralizedRequest request)
fetchValuesFromRequest
in interface Remotable
fetchValuesFromRequest
in class ListRemoteUserInterface
public void process(GeneralizedRequest request)
protected void deleteButtonAction()
protected abstract java.util.Vector<java.lang.String> getDetailInfo(Identifier identifier)
protected java.lang.String getElaboratedWhereCondition()
public void destroy()
Remotable
destroy
in interface Remotable
destroy
in class RemoteUserInterface
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de