public class SessionData extends SessionDataStd
GlobalStd
Modifier and Type | Class and Description |
---|---|
class |
SessionData.ConditionalCallback |
class |
SessionData.Report |
class |
SessionData.ReportAsStream |
class |
SessionData.WordAccess |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
action |
java.lang.String |
actionSource |
java.lang.String |
appletCodebase |
java.lang.String |
clientVersion |
java.lang.String |
contextPath |
ToAppletWriter |
curOut |
java.lang.String |
currentConcerning
The second level context criterion at server object construction time: @see Constants#SEARCH_LIST_DETAIL_GUI
|
java.lang.String |
currentConcerningSubLevel
The third level context criterion at server object construction time: @see Constants#SEARCH @see Constants#LIST @see Constants#DETAIL
|
java.lang.String |
currentTitle
The first level context criterion at server object construction time: the tab id or title of a window
|
EntitlementStd |
entitlement |
java.util.Vector<FileStreamTransfer> |
fileStreamTransfers |
java.lang.String |
focusElementId |
int |
generalFontSizeToSet |
int |
generalFontSizeUsed |
java.lang.String |
generalUIFontNameToSet |
IdManager |
idManager |
LoggedInUser |
loggedInUser |
boolean |
logoutRequested |
java.lang.String |
loolAndFeelToSet |
MustMenuBar |
menuBar |
java.lang.String |
newHTMLDialog |
java.util.Vector<SessionData.Report> |
newReports |
java.util.Vector<SessionData.WordAccess> |
newWordAccess |
java.util.Vector<java.lang.String> |
nextOutputs |
java.util.Hashtable<java.lang.String,HTMLDialog> |
openHTMLDialogs |
java.util.Vector<HalfDataComboBox> |
outdatedContentComboBoxes |
ParameterForUserStd |
parameterForUser |
java.util.Vector<ConversationMatter> |
pendingInfosToPresent |
java.util.HashMap<java.lang.String,FileOutputThread> |
pendingOutput |
java.util.HashMap<java.lang.String,StreamProvider> |
pendingStreams |
PopupMenu |
popupMenu |
GeneralizedRequest |
request |
java.util.Vector<ServerProcessControllerFrame> |
serverProcessControllerFrames |
java.lang.String |
servletName |
boolean |
sessionInterfaceIsToBuild |
protected java.util.ArrayList<java.lang.String> |
tabIdsToBuild |
java.lang.String |
tabOrWinIdByApplet
the tab ID/label or window id/title send by applet / identified by request.getParameter
|
java.lang.String |
tempFolderName |
boolean |
terminationRequested |
ProportionalListReportDirectly |
threadToDo |
MustToolBar |
toolBar |
int |
transactionCounter |
boolean |
transformAmp |
java.util.Vector<RemoteUserInterface> |
windows |
language, locale
Constructor and Description |
---|
SessionData()
Constructs a new SessionData object.
|
Modifier and Type | Method and Description |
---|---|
void |
add(FileStreamTransfer fileStreamTransfer) |
void |
add(ServerProcessControllerFrame serverProcessRunner) |
void |
addInfoToPresent(ConversationMatter matter)
Adds a conversation matter to present remotely.
|
void |
addOutdatedContentComboBox(HalfDataComboBox outdatedContentComboBox)
Adds an out-dated content combo box to a queue for a former update of content and remote view.
|
void |
addPendingStream(java.lang.String id,
StreamProvider streamProvider) |
void |
addReportToPresent(java.lang.String reportFileName)
Adds a report to present via temp folder.'
|
void |
addRFIDEventListener(java.lang.String tabId,
RFIDEventListener rfidEventListener,
java.lang.String libraryID) |
void |
addTabIdToBuild(java.lang.String tabId)
Adds a tab ID to the queue of tab IDs to build.
|
void |
callIfTableContentHasBeenChanged(java.lang.String tableName,
Callback callback) |
void |
clearRUIs()
Clears buffer of the remote user interface mirror.
|
void |
delegeteGlobalMessage(java.lang.String message)
Delegates a message to the status label of the applets main window - suitable to inform about results of a process,
e.g. a process which has been initialized by a parameter dialog, which is not available any more after execution.
|
boolean |
deleteSessionTempDirIfExists() |
java.lang.String |
getAppResStr(java.lang.String resourceKey)
Returns a text in the corresponding language according to the locale specific resource bundle.
|
java.sql.Connection |
getConnection()
Returns the connection to use.
|
ConnectionHolder |
getConnectionHolder()
Returns the connection holder to use.
|
RemoteUserInterface |
getCurrentDialog() |
IdManager |
getIdManager()
Returns the IdManager to use.
|
javax.swing.ImageIcon |
getImageIcon(java.lang.String imageIconName)
Returns an image loaded by name from typical images folder, e.g.
|
javax.swing.ImageIcon |
getImageIconIndividual(java.lang.String imagePath)
Returns image icons for path as specified - in opposite to getImageIcon, the image is searched
absolutely respectively below current directory or the code base in case of applets.
|
InterruptibleProcessPool |
getInterruptibleProcessPool() |
RemoteUserInterface |
getPreviousDialogToClose() |
java.lang.String |
getRealPath() |
RFIDEventListener |
getRFIDEventListener(java.lang.String tabId) |
RemoteUserInterface |
getRUI(java.lang.String tabId)
Returns the server mirror of the remote user interface as specified.
|
java.lang.String |
getSessionId() |
java.lang.String |
getSessionTempDir()
Creates the session's temporary directory and returns it.
|
java.lang.String |
getTempDirForClient() |
java.lang.String |
getTopLevelMessage()
Returns the top level message.
|
java.lang.String |
getUserName()
Returns the name of the logged in user or "" if no user is logged in.
|
boolean |
hasGotWordAPI() |
void |
iChangendTableContent(java.lang.String tableName) |
boolean |
isRunningInApplet() |
void |
register(RemoteUserInterface rui) |
void |
remove(FileStreamTransfer fileStreamTransfer) |
void |
remove(ServerProcessControllerFrame serverProcessRunner) |
void |
removeAll() |
void |
removeDataTableAdministration(DataTableAdministration table) |
void |
removeRFIDEventListener(java.lang.String tabId) |
void |
removeTab(java.lang.String tabId)
Sends a command to the client to remove the tab as specified.
|
void |
removeUserInterface(java.lang.String tabId)
Removes the server mirror of the remote user interface.
|
void |
resetTopLevelMessage()
Resets the top level message, which is a good idea after sending it the applet.
|
void |
setConnection(ConnectionHolder connection) |
void |
setCurrentDialog(RemoteUserInterface currentDialog) |
void |
setPreviousDialogToClose(RemoteUserInterface previousDialogToClose) |
void |
setRealPath(java.lang.String realPath) |
void |
setRFIDReadingSuspended(boolean rfidReadingSuspended) |
protected void |
setSessionId(java.lang.String sessionId) |
void |
writeItemId(java.lang.String label,
java.lang.String medArtKb,
java.lang.String libraryID) |
getFrameworkResourceString, getLanguage, getLocale, setLanguage, setLocale
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
recover
public java.lang.String clientVersion
public java.lang.String loolAndFeelToSet
public java.lang.String generalUIFontNameToSet
public int generalFontSizeToSet
public int generalFontSizeUsed
public boolean sessionInterfaceIsToBuild
public java.util.Vector<RemoteUserInterface> windows
public java.util.Vector<FileStreamTransfer> fileStreamTransfers
public java.util.Vector<ServerProcessControllerFrame> serverProcessControllerFrames
public ProportionalListReportDirectly threadToDo
public java.lang.String tabOrWinIdByApplet
protected java.util.ArrayList<java.lang.String> tabIdsToBuild
public java.util.Vector<HalfDataComboBox> outdatedContentComboBoxes
public java.util.Vector<SessionData.Report> newReports
public java.util.HashMap<java.lang.String,FileOutputThread> pendingOutput
public java.util.HashMap<java.lang.String,StreamProvider> pendingStreams
public java.util.Vector<SessionData.WordAccess> newWordAccess
public java.util.Vector<ConversationMatter> pendingInfosToPresent
public java.util.Hashtable<java.lang.String,HTMLDialog> openHTMLDialogs
public java.lang.String newHTMLDialog
public int transactionCounter
public IdManager idManager
public LoggedInUser loggedInUser
public ParameterForUserStd parameterForUser
public boolean transformAmp
public java.lang.String appletCodebase
public java.lang.String servletName
public java.lang.String tempFolderName
public java.lang.String action
public java.lang.String actionSource
public java.lang.String focusElementId
public java.lang.String contextPath
public EntitlementStd entitlement
public MustMenuBar menuBar
public MustToolBar toolBar
public PopupMenu popupMenu
public GeneralizedRequest request
public java.util.Vector<java.lang.String> nextOutputs
public boolean logoutRequested
public boolean terminationRequested
public ToAppletWriter curOut
public java.lang.String currentTitle
public java.lang.String currentConcerning
public java.lang.String currentConcerningSubLevel
public boolean isRunningInApplet()
public void addTabIdToBuild(java.lang.String tabId)
tabId
- the ID of the tab to buildDialogConsequence
public void add(FileStreamTransfer fileStreamTransfer)
public void remove(FileStreamTransfer fileStreamTransfer)
public void add(ServerProcessControllerFrame serverProcessRunner)
public void remove(ServerProcessControllerFrame serverProcessRunner)
public void register(RemoteUserInterface rui)
public void removeDataTableAdministration(DataTableAdministration table)
public void removeAll()
public void addOutdatedContentComboBox(HalfDataComboBox outdatedContentComboBox)
outdatedContentComboBox
- the combo box which is out of date because anyone modified content by adding, changing or removing itemspublic void addPendingStream(java.lang.String id, StreamProvider streamProvider)
public void delegeteGlobalMessage(java.lang.String message)
message
- the message to be presented in the status label of the applets main windowpublic java.lang.String getTopLevelMessage()
public void resetTopLevelMessage()
public void addInfoToPresent(ConversationMatter matter)
matter
- the conversation matter to presentpublic void addReportToPresent(java.lang.String reportFileName)
reportFileName
- public void setRealPath(java.lang.String realPath)
public java.lang.String getRealPath()
protected void setSessionId(java.lang.String sessionId)
public java.lang.String getSessionId()
public java.lang.String getSessionTempDir()
public boolean deleteSessionTempDirIfExists()
public java.lang.String getTempDirForClient()
public boolean hasGotWordAPI()
public void setConnection(ConnectionHolder connection)
public java.sql.Connection getConnection()
public ConnectionHolder getConnectionHolder()
public IdManager getIdManager()
public java.lang.String getUserName()
BackendSessionResources
public void setCurrentDialog(RemoteUserInterface currentDialog)
public RemoteUserInterface getCurrentDialog()
public void setPreviousDialogToClose(RemoteUserInterface previousDialogToClose)
public RemoteUserInterface getPreviousDialogToClose()
public void callIfTableContentHasBeenChanged(java.lang.String tableName, Callback callback)
public void iChangendTableContent(java.lang.String tableName)
public void addRFIDEventListener(java.lang.String tabId, RFIDEventListener rfidEventListener, java.lang.String libraryID)
public void removeRFIDEventListener(java.lang.String tabId)
public RFIDEventListener getRFIDEventListener(java.lang.String tabId)
public void writeItemId(java.lang.String label, java.lang.String medArtKb, java.lang.String libraryID)
public void setRFIDReadingSuspended(boolean rfidReadingSuspended)
public java.lang.String getAppResStr(java.lang.String resourceKey)
AppTextResource
resourceKey
- the key of the resource to retrievepublic javax.swing.ImageIcon getImageIcon(java.lang.String imageIconName)
ImageResource
imageIconName
- the name of image icon to loadpublic javax.swing.ImageIcon getImageIconIndividual(java.lang.String imagePath)
ImageResource
imagePath
- the path of the image file to be loadedpublic InterruptibleProcessPool getInterruptibleProcessPool()
public RemoteUserInterface getRUI(java.lang.String tabId)
tabId
- the ID of the user interface to returnpublic void removeUserInterface(java.lang.String tabId)
tabId
- the ID of the user interface to removepublic void removeTab(java.lang.String tabId)
tabId
- the ID of the tab to removepublic void clearRUIs()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de