public class Application
extends java.lang.Object
implements java.awt.datatransfer.ClipboardOwner, org.joty.common.ApplMessenger, org.joty.app.JotyApplication
Application
provides initialization of the main functionalities:
detects the mode of running (desktop or web), manages the user's
authentication, builds the asset of the application by loading data from the
configuration file/s and from the user's home directory, loads the language
vector depending on the choice made by the user, loads rarely changing data
into memory from the database and keeps them in Application.LiteralStruct
objects.
Furthermore it exposes a large set of methods for presenting the user with framework and application messages and for getting simple input, keeps track of the currently opened dialogs and of the state of the application main frame.
Offers methods for accessing the database server by hiding all is needed to manage different assets derived by running in desktop or web mode and in 'accessor' or 'non accessor' mode.
Modifier and Type | Class and Description |
---|---|
class |
Application.ClauseContribution |
class |
Application.JotyTransaction
Provides a way to concentrate on the execution body of a transaction
implementing the exec method.
|
class |
Application.LiteralStruct |
class |
Application.MacAppListenerInvocationHandler
It is the invocation target of the proxy class defined in the
manageMacOSenvironment method. |
static interface |
Application.PasswordValidator |
class |
Application.ValuesContainer
It is the vehicle for values identified by the selection made by the user
in the context of the opening of identity selector dialog.
|
Modifier and Type | Field and Description |
---|---|
static java.awt.Cursor |
defCursor |
static java.lang.String |
INTEGER_MASK_VALID_CHARS |
org.joty.common.CaselessStringKeyMap<java.util.HashMap<java.lang.Long,java.lang.String>> |
m_2L_literalMap
Associates a name of a LiteralStruct object with a map that holds
association between id values and LiteralStruct object names.
|
org.joty.access.Accessor |
m_accessor |
boolean |
m_accessorMode |
java.util.Stack<JotyDialog> |
m_activationStack |
boolean |
m_alreadyCertDeletionOffered |
static Application |
m_app |
int |
m_applicationDefaultFontSize |
java.lang.String |
m_applicationLink |
java.util.Map<java.lang.String,java.lang.String> |
m_applicationPreferences |
javax.swing.ImageIcon |
m_appLogo |
protected javax.swing.JMenu |
m_authMenu |
java.lang.String |
m_author |
static java.awt.datatransfer.Clipboard |
m_clipboard |
boolean |
m_committedClose |
static org.joty.app.Common |
m_common |
org.joty.common.ConfigFile |
m_configExtension |
protected java.lang.String |
m_configuredUser |
boolean |
m_connected |
java.lang.String |
m_copyrightYears |
boolean |
m_currDnDcanDrop |
Table.JotyJTable |
m_currDnDjtable |
boolean |
m_currDnDsourceIsDrainEnabled |
JotyDB |
m_db |
org.joty.access.DbManager |
m_dbManager |
static boolean |
m_debug |
JotyDialog |
m_definingDialog |
static boolean |
m_deskTracing |
java.util.Map<java.lang.String,java.lang.String> |
m_dialogMainSortInfos |
boolean |
m_dialogOpeningAsValueSelector |
boolean |
m_dialogsAreToBeForcedOnTop |
boolean |
m_dialogsDesignedOnMac |
boolean |
m_DnDdrainIn |
boolean |
m_dragDrainDropped |
boolean |
m_dragDrainTriggerOn |
org.joty.common.ErrorCarrier |
m_errorCarrier |
boolean |
m_exitByMenu |
protected javax.swing.JMenu |
m_fileMenu |
JotyFrame |
m_frame |
static java.awt.Container |
m_frontMostContainer |
protected javax.swing.JMenu |
m_helpMenu |
java.util.Vector<java.awt.Image> |
m_iconImages |
boolean |
m_insideDataDialogs |
java.lang.String |
m_JotyDesignLog |
java.lang.String |
m_JotyDeskLog |
javax.swing.ImageIcon |
m_jotyLogo |
long |
m_justSelectedValue |
java.lang.String |
m_ksFileName |
java.lang.String |
m_ksPath |
boolean |
m_macOs |
protected static java.lang.Object |
m_macOSXapp |
javax.swing.JMenuBar |
m_menuBar |
javax.swing.JCheckBoxMenuItem |
m_mntmEnableTooltips |
javax.swing.JCheckBoxMenuItem |
m_mntmSetFrame |
java.lang.String |
m_msgDataDefExpectedAsEntry |
java.lang.String |
m_name |
boolean |
m_oldLoggingActivation |
java.lang.String |
m_openDlgCurrentDir |
org.joty.common.CaselessStringKeyMap<JotyDialog> |
m_openedDialogs |
org.joty.common.ParamContext |
m_paramContext |
Application.PasswordValidator |
m_passwordValidator |
java.util.Random |
m_random |
org.joty.common.CaselessStringKeyMap<java.util.HashSet<java.lang.String>> |
m_refreshMap |
boolean |
m_remoteAccessor
If true the
Accessor object lives within the Joty Server instead of in the Application object. |
org.joty.common.ReportManager |
m_reportManager |
java.util.Vector<java.lang.String> |
m_returnedValues |
java.awt.Dimension |
m_screenSize |
static boolean |
m_settingBound |
java.lang.String |
m_startPath |
protected javax.swing.JMenu |
m_toolsMenu |
java.lang.String |
m_userHomeDataDir |
org.joty.common.Utilities.Stocker |
m_userRoles |
Application.ValuesContainer |
m_valuesContainer |
java.lang.String |
m_versionString |
protected javax.swing.JMenu |
m_viewMenu |
WebClient |
m_webClient |
boolean |
m_webMode |
org.joty.common.ParamContext |
m_webTransPrmContext |
java.util.Map<java.lang.String,java.awt.Point> |
m_windowsLocations |
javax.swing.JMenu |
m_windowsMenu |
static java.lang.String |
MSG_ListNotDef |
static java.awt.Cursor |
waitCursor |
Constructor and Description |
---|
Application()
It is the only constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
abortJobs()
may be overridden for implementing actions upon initialization failure.
|
boolean |
accessorExecute(java.lang.String literal) |
boolean |
accessorExecute(java.lang.String literal,
org.joty.common.ParamContext paramContext)
creates a
BasicPostStatement hosting an sql statement and a
substitution literal (for dbms names obfuscation purposes) and executes
it in terms of the Joty technology. |
org.joty.common.BasicPostStatement |
accessorMethodPostStatement(java.lang.String method,
java.lang.Integer returnedValuePos,
java.lang.Integer returnedValuesQty)
Creates a
BasicPostStatement object hosting the name and the
parameters of a method that will be invoked outside of the client
context. |
org.joty.access.PostStatement |
accessorPostStatement(JotyDialog dialog,
int panelIdx,
java.lang.String termName,
org.joty.common.ParamContext prmParamContext)
It is the core method for the creation of a
BasicPostStatement object. |
org.joty.access.PostStatement |
accessorPostStatement(java.lang.String dialogName,
int panelIdx,
java.lang.String termName,
org.joty.common.ParamContext paramContext,
java.lang.String mode)
It does the job for
accessorPostStatement(JotyDialog, int, String, ParamContext)
but allows also to be called without the living instance of the JotyDialog , addressing
freely a resource within the implemented Accessor object, indeed. |
static javax.swing.JMenuItem |
addItemToMenu(javax.swing.JComponent menu,
java.lang.String string,
java.awt.event.ActionListener actionListener) |
static javax.swing.JMenuItem |
addItemToMenu(javax.swing.JComponent menu,
java.lang.String string,
java.awt.event.ActionListener actionListener,
javax.swing.JMenuItem instancedItem) |
static javax.swing.JMenuItem |
addItemToMenu(javax.swing.JComponent menu,
java.lang.String string,
javax.swing.JMenuItem instancedItem) |
static javax.swing.JMenuItem |
addLangItemToMenu(javax.swing.JComponent menu,
java.lang.String string,
java.awt.event.ActionListener actionListener) |
static javax.swing.JMenuItem |
addLangItemToMenu(javax.swing.JComponent menu,
java.lang.String string,
java.awt.event.ActionListener actionListener,
javax.swing.JMenuItem instancedItem) |
static javax.swing.JMenuItem |
addLangItemToMenu(javax.swing.JComponent menu,
java.lang.String string,
javax.swing.JMenuItem instancedItem) |
void |
addToolTipRowToComponent(javax.swing.JComponent comp,
java.lang.String text) |
void |
afterReportRender(java.lang.String location) |
static void |
appInit() |
void |
ASSERT(boolean predicate) |
protected boolean |
authenticate() |
boolean |
authenticate(boolean forLostSession)
Manages the interaction with the user during his use of the
LoginDialog for authentication purposes and holds the
m_secure member set to true during the process. |
void |
beforeReportRender() |
void |
beginTrans() |
void |
beginWaitCursor() |
static boolean |
beginWaitPossibleCursor() |
org.joty.access.BirtManager |
birtManager()
Returns the current instance of the
BirtManager class. |
protected void |
buildAppMenuBar() |
void |
buildLiteralStruct(java.lang.String tabName,
java.lang.String keyField,
java.lang.String literalField,
Application.LiteralStruct literalStruct,
org.joty.app.LiteralsCollection.LiteralStructParams prmDescrParms)
|
void |
buildLiteralStruct(java.lang.String tabName,
java.lang.String keyField,
java.lang.String literalField,
java.lang.String name)
|
void |
buildLiteralStruct(java.lang.String tabName,
java.lang.String keyField,
java.lang.String literalField,
java.lang.String name,
org.joty.app.LiteralsCollection.LiteralStructParams prmDescrParms)
|
void |
buildLiteralStructMain(java.lang.String tabName,
java.lang.String keyField,
java.lang.String literalField,
java.lang.String name,
Application.LiteralStruct paramLiteralStruct,
org.joty.app.LiteralsCollection.LiteralStructParams prmLsParams)
Prepares and invokes
loadDataIntoLiteralStruct . |
protected void |
buildMenuBarComponent()
Build all the menus general purpose menus (that is those ones offered by
the Joty framework) without adding them to the menu bar, so the
application developer can chose to add them or not, to improve them or to
completely newly design them.
|
void |
buildSet(JotyDataBuffer set,
java.lang.String literal,
java.lang.String sqlStmnt)
Checks if the passed
JotyDataBuffer object is already present in
the map m_setMap . |
static void |
center(java.awt.Window window,
int width,
int height) |
static java.awt.Point |
centeredWindowHandle(int width,
int height)
Uses its overridden flavor to get the top-left corner for centering,
within the screen, the window the dimensions of which are passed as
parameters.
|
static java.awt.Point |
centeredWindowHandle(int windowWidth,
int windowHeight,
int containerWidth,
int containerHeght)
Returns the top-left corner position of a sized window located inside a
sized container such that the window is centered within the container
|
void |
checkForegroundObject()
Called on closure of a
JotyDialog object the method bring to
front the second last activated object, holding by the stack
m_activationStack member. |
boolean |
checkRoleForExecution(java.lang.String role) |
static void |
checkWBE(java.awt.Container container)
Checks if design mode is on and creates the log file if it still doesn't
exist.
|
void |
clearReturnStatus()
Used in desktop client mode, it clears data structures adopted for
accessing the database server through the application
Accessor
object, instantiated locally indeed. |
boolean |
closeAllWindows() |
void |
closeContainer(java.awt.Window container) |
void |
closeInfoDialog() |
void |
closeInfoDialog(boolean waitCursor) |
java.lang.String |
codedTabName(java.lang.String tabName)
A concise functional method to provide a place holder for the obfuscation
of a database table name, to be used in sql expressions, the behavior of
which is conditioned by the availability of the name itself as parameter.
|
void |
commitTrans() |
void |
constraintViolationMsg(boolean onUpdate,
org.joty.app.JotyException jotyException) |
org.joty.data.JotyDate |
createDate() |
javax.swing.text.MaskFormatter |
createFormatter(int dataType,
boolean isCurrency,
int len)
Creates a
MaskFormatter object to be used with the
JotyTextField class. |
org.joty.access.PostStatement |
createLiteralSubstPostStatement(java.lang.String literalName)
Creates a
PostStatement object for a literal substitution to be
operated on an sql statement provided later to the object |
UsersPanel |
createUserPanel() |
org.joty.data.WrappedField |
createWrappedField() |
protected boolean |
dbmsAuthentication()
Tries to access the database instance for the application through the
jdbc layer .
|
boolean |
debug() |
void |
debugMsg(java.lang.String msg) |
boolean |
designTime() |
protected boolean |
doFurtherJobs()
If the password must be changed because of settings on the user account
about first login or if password validity is expired, this method opens
the new password acquisition dialog.
|
boolean |
doSetPassword(java.lang.String userName,
java.lang.String newPwd)
Delegates the BasicAccessor object to set the password by means of a
there stored method.
|
protected void |
enableRoleToReport(java.lang.String reportName,
java.lang.String roleName)
Enable a role to launch a report.
|
void |
endApp() |
void |
endWaitCursor() |
static void |
endWaitPossibleCursor() |
boolean |
executeSQL(java.lang.String stmt) |
boolean |
executeSQL(java.lang.String stmt,
java.lang.String autoID) |
boolean |
executeSQL(java.lang.String stmt,
java.lang.String autoID,
org.joty.common.BasicPostStatement contextPostStatement)
|
void |
exit() |
void |
exitByMenu() |
protected void |
exitMsg() |
void |
firstChanceKeyStore() |
protected java.lang.Object[] |
getBirtRenderTypes() |
void |
getClipboard() |
java.lang.String |
getClipboardContents() |
org.joty.common.ICommon |
getCommon() |
java.lang.String |
getDateMask() |
java.lang.String |
getDateTimeMask() |
static JotyDialog |
getDialog(java.awt.Component component)
Returns the container
JotyDialog |
java.lang.String |
getDialogClassFullName(java.lang.String className)
If
className contain a simple name the method builds the fully
qualified name of the class using the current package else the same value of the argument is returned. |
static java.lang.String |
getInputFromUser(java.awt.Container container,
java.lang.String text)
See its override
getInputFromUser(Container , String , Object[], Object) |
static java.lang.String |
getInputFromUser(java.awt.Container container,
java.lang.String text,
java.lang.Object[] selectionValues,
java.lang.Object initialSelectionValue)
Opens the standard input dialog to get one choice from the user.
|
java.lang.String |
getKeyStoreType() |
long |
getNextId(DataAccessPanel dPanel) |
JotyDialog |
getOpenedDialog(java.lang.String className) |
JotyDialog |
getOpenedDialog(java.lang.String className,
boolean silent) |
java.lang.String |
getServerUrl() |
org.joty.web.AbstractWebClient |
getWebClient() |
java.awt.Image |
image(java.lang.String fileName) |
javax.swing.ImageIcon |
imageIcon(java.lang.String fileName) |
void |
incrementRetValIndex() |
boolean |
inDbTransaction() |
boolean |
infoDialogIsVisible() |
static void |
informationMsg(java.awt.Container container,
java.lang.String text) |
static void |
informationMsg(java.lang.String text) |
static void |
informationMsg(java.lang.String text,
java.lang.Object[] objects)
Presents informational message to he user by means of an optionally
parameterized format string.
|
boolean |
init(java.lang.String name,
java.lang.String version,
java.lang.String servletName,
java.lang.String webClientClass)
Initializes the
Application instance. |
boolean |
insideDataDialogs(java.awt.Point point) |
void |
insideResize(java.awt.Dimension target,
java.awt.image.BufferedImage srcImg,
java.awt.Component container) |
org.joty.app.LiteralsCollection |
instantiateLiteralsCollection(org.joty.common.JotyMessenger jotyMessanger) |
boolean |
invokeAccessMethod(org.joty.common.BasicPostStatement postStatement) |
protected boolean |
isDateExpired()
|
boolean |
isDesignTime() |
void |
jotyMessage(java.lang.Exception e) |
void |
jotyMessage(java.lang.String text) |
void |
jotyMessage(java.lang.Throwable t) |
void |
JotyMsg(java.lang.Object object,
java.lang.String text)
This method is used for presenting a message to the developer of the Joty
application.
|
void |
jotyWarning(java.lang.String text) |
java.lang.String |
keyStorePath() |
static void |
langInformationMsg(java.lang.String literal) |
static void |
langInformationMsg(java.lang.String literal,
java.lang.Object[] objects)
Like
informationMsg(String , Object[]) but, instead of text, it
accepts the literal that identifies the actual text within the
jotyLang.xml file. |
java.lang.String |
languageItem(java.lang.String literal,
org.joty.common.ConfigFile langCF) |
static void |
langWarningMsg(java.lang.String literal) |
static void |
langWarningMsg(java.lang.String literal,
java.lang.Object[] objects)
Like
langInformationMsg(String , Object[]) but for a warning
message. |
static boolean |
langYesNoQuestion(java.lang.String literal) |
static boolean |
langYesNoQuestion(java.lang.String literal,
java.awt.Container container) |
static boolean |
langYesNoQuestion(java.lang.String literal,
java.awt.Container container,
java.lang.Object[] objects)
Like
langInformationMsg(String , Object[]) but for presenting a
question and getting an answer from the user. |
void |
launchReport(java.lang.String name,
java.lang.String renderType) |
void |
launchReport(java.lang.String name,
java.lang.String renderType,
boolean twoProcesses) |
void |
launchReport(java.lang.String name,
java.lang.String renderType,
boolean twoProcesses,
java.awt.Container container) |
protected void |
loadData() |
void |
loadDataIntoLiteralStruct(java.lang.String tabName,
java.lang.String keyField,
java.lang.String literalField,
Application.LiteralStruct literalsCollection,
org.joty.app.LiteralsCollection.LiteralStructParams lsParams)
Loads in memory, in a convenient data structure ( a
LiteralStruct
object ) a set of records of type {long id, String description}. |
void |
loadDescriptions()
It is invoked by the framework and typically must be overridden in the
Joty application project (in the descendant of the
Application
class) in order to load in memory all almost static data that is desired
to access to without accessing the server. |
protected void |
loadUserRoles()
Loads in memory the list or the user roles in "Accessor" mode.
|
java.lang.String |
localFilesPath() |
void |
lostOwnership(java.awt.datatransfer.Clipboard clipboard,
java.awt.datatransfer.Transferable contents) |
boolean |
m_toolTipsEnabled() |
void |
manageExpiredSession() |
void |
map2LdescrArrayTo1L(java.lang.String firstLevelDescrArrayLiteral,
long itemData,
java.lang.String secondLevelDescrArrayLiteral) |
protected boolean |
mustPasswordBeChanged()
|
JotyDialog |
onTopDialog() |
WResultSet |
openAccessorSubstWResultSet(java.lang.String tabLiteral,
java.lang.String sql)
Opens a WResultSet object through a BasicPostStatement object in which may be
programmed a literal substitution to occur for the place holder of the
database table name conveniently prepared in the selector sql statement.
|
WResultSet |
openAccessorWResultSet(java.lang.String literal)
|
WResultSet |
openAccessorWResultSet(java.lang.String literal,
Panel panel)
|
WResultSet |
openAccessorWResultSet(java.lang.String literal,
Panel panel,
org.joty.common.ParamContext paramContext)
Flexible method to open a
WresultSet object my means of the
Accessor object by the use of a BasicPostStatement instance
conveniently prepared. |
WResultSet |
openAccessorWResultSet(java.lang.String literal,
org.joty.common.ParamContext paramContext)
|
WResultSet |
openDbWResultSetByPostStatement(org.joty.access.PostStatement postStatement)
Provides different behaviors for opening a WResutSet object depending on
the execution context being in Accessor mode and being in web mode.
|
static void |
openDocumentFromBytes(byte[] bytes,
java.lang.String fileExt)
Saves the bytes received as parameter in a temporary file.
|
void |
openInfoDialog(java.lang.String message) |
void |
openInfoDialog(java.lang.String message,
boolean waitCursor) |
void |
openInfoDialog(java.lang.String message,
java.lang.Thread thread,
boolean waitCursor)
Opens the
InfoDialog object and optionally provides it with the
ability to stop a Thread object passed as parameter. |
void |
openUri(java.lang.String uri,
boolean webLocator)
Opens a resource from the local file system or from the web.
|
protected boolean |
postAuthenticate() |
protected void |
registerReports()
To be overridden in order to define the users accessibility to the
various reports of the application.
|
boolean |
remoteAccessorMode() |
void |
repaint() |
int |
returnedValuesAvailablePos()
One of the methods providing the duality of the framework behavior, it
returns the currently available position within the vector of long values
returned to the caller, vector that holds the invoked method return value
or the value of one of its output parameters.
|
void |
rollbackTrans() |
void |
setClipboardContents(java.lang.String aString) |
protected void |
setDefaultFont() |
static void |
setFrontMostContainer(java.awt.Container container) |
static void |
setLocation(java.awt.Window window,
java.awt.Point location) |
void |
setMainFrameFloating(boolean truth)
|
boolean |
setPassword(boolean getOldPassword,
java.lang.String userName) |
boolean |
setPassword(java.lang.String userName,
java.lang.String newPassword)
Manages the setting of the new password either in into the dbms or into
the list maintained in the user table.
|
protected void |
setPasswordValidator(Application.PasswordValidator validator) |
boolean |
setUserPwd(java.lang.String userName,
java.lang.String newPwd,
java.lang.String command,
java.lang.String oldPwd,
int nonManagedRollbackIndex)
Got the template from the configuration file, this method forms and
executes the dbms statement to set the user's password
|
boolean |
setWaitCursor(boolean set) |
void |
setWorkStationFontSize()
Allow the administrator user to set the font size of the workstation or
to reset it to the centralized value.
|
protected void |
showAboutDialog() |
void |
turnTracingOff() |
void |
turnTracingOn() |
java.lang.String |
userHomeDataPath() |
protected boolean |
userOperation(java.lang.String methodName,
boolean login,
boolean retCodeAsLangLiteral)
Multi-purpose wrapper for invoking methods, defined in the
BasicAccessor class, that are related to the management of the
user data the container name of which, also, is stored in the definition
of that class. |
protected void |
verificationProlog() |
protected boolean |
verifyLogin()
|
void |
volatileMessage(java.lang.String langLiteral,
boolean appSpecific) |
static void |
warningMsg(java.awt.Container container,
java.lang.String text,
java.lang.String caption) |
static void |
warningMsg(java.lang.String text) |
static void |
warningMsg(java.lang.String text,
java.lang.Object[] objects) |
static void |
warningMsg(java.lang.String text,
java.lang.String caption) |
protected boolean |
webAuthentication()
Address the login process to be performed on the Joty Server directing it
through the use of the basic part of the Accessor object.
|
static void |
writeOnDeskLog(java.lang.String descr,
java.lang.String valStr) |
static int |
yesNoCancelQuestion(java.awt.Container container,
java.lang.String text,
int option) |
static int |
yesNoCancelQuestion(java.lang.String text) |
static int |
yesNoCancelQuestion(java.lang.String text,
int option) |
static boolean |
yesNoQuestion(java.lang.String text) |
static boolean |
yesNoQuestion(java.lang.String text,
java.awt.Container container) |
static boolean |
yesNoQuestion(java.lang.String text,
java.lang.Object[] objects) |
public Application.PasswordValidator m_passwordValidator
public boolean m_webMode
public boolean m_accessorMode
public JotyFrame m_frame
public java.lang.String m_name
public JotyDB m_db
public java.lang.String m_versionString
public java.lang.String m_startPath
public org.joty.common.CaselessStringKeyMap<java.util.HashMap<java.lang.Long,java.lang.String>> m_2L_literalMap
GridTerm
class, to support the identification
of a LiteralStruct instance depending on the literal selection made on a
'first level' LiteralStruct object.public org.joty.common.CaselessStringKeyMap<JotyDialog> m_openedDialogs
public java.util.Stack<JotyDialog> m_activationStack
public static Application m_app
public boolean m_oldLoggingActivation
public WebClient m_webClient
public static java.awt.datatransfer.Clipboard m_clipboard
public JotyDialog m_definingDialog
public java.util.Random m_random
public org.joty.common.ConfigFile m_configExtension
public org.joty.access.DbManager m_dbManager
public org.joty.access.Accessor m_accessor
public org.joty.common.ErrorCarrier m_errorCarrier
public java.util.Vector<java.awt.Image> m_iconImages
public boolean m_committedClose
public javax.swing.JMenuBar m_menuBar
public boolean m_alreadyCertDeletionOffered
public java.lang.String m_JotyDesignLog
public java.lang.String m_userHomeDataDir
public java.lang.String m_ksPath
public java.lang.String m_ksFileName
public java.lang.String m_JotyDeskLog
public static boolean m_deskTracing
public static boolean m_debug
public org.joty.common.ReportManager m_reportManager
public org.joty.common.Utilities.Stocker m_userRoles
public javax.swing.JMenu m_windowsMenu
public javax.swing.JCheckBoxMenuItem m_mntmSetFrame
public javax.swing.JCheckBoxMenuItem m_mntmEnableTooltips
public java.util.Map<java.lang.String,java.awt.Point> m_windowsLocations
public java.util.Map<java.lang.String,java.lang.String> m_dialogMainSortInfos
public java.util.Map<java.lang.String,java.lang.String> m_applicationPreferences
public java.lang.String m_openDlgCurrentDir
public Table.JotyJTable m_currDnDjtable
public boolean m_currDnDsourceIsDrainEnabled
public boolean m_DnDdrainIn
public boolean m_currDnDcanDrop
public boolean m_dragDrainTriggerOn
public boolean m_dragDrainDropped
public boolean m_insideDataDialogs
public boolean m_dialogOpeningAsValueSelector
public long m_justSelectedValue
public Application.ValuesContainer m_valuesContainer
public org.joty.common.CaselessStringKeyMap<java.util.HashSet<java.lang.String>> m_refreshMap
public java.lang.String m_msgDataDefExpectedAsEntry
public org.joty.common.ParamContext m_paramContext
public boolean m_exitByMenu
public boolean m_remoteAccessor
Accessor
object lives within the Joty Server instead of in the Application object.public boolean m_dialogsDesignedOnMac
public java.util.Vector<java.lang.String> m_returnedValues
public java.awt.Dimension m_screenSize
public org.joty.common.ParamContext m_webTransPrmContext
public boolean m_dialogsAreToBeForcedOnTop
public javax.swing.ImageIcon m_appLogo
public javax.swing.ImageIcon m_jotyLogo
public java.lang.String m_applicationLink
public java.lang.String m_author
public java.lang.String m_copyrightYears
public boolean m_macOs
public int m_applicationDefaultFontSize
protected java.lang.String m_configuredUser
protected static java.lang.Object m_macOSXapp
protected javax.swing.JMenu m_toolsMenu
protected javax.swing.JMenu m_fileMenu
protected javax.swing.JMenu m_viewMenu
protected javax.swing.JMenu m_authMenu
protected javax.swing.JMenu m_helpMenu
public boolean m_connected
public static final java.awt.Cursor defCursor
public static final java.awt.Cursor waitCursor
public static final java.lang.String INTEGER_MASK_VALID_CHARS
public static final java.lang.String MSG_ListNotDef
public static boolean m_settingBound
public static java.awt.Container m_frontMostContainer
public static org.joty.app.Common m_common
public Application()
It performs the detection of the mode of running (Web/desktop client) and creates operational java objects (among them the ReportManager) and creates the main frame and the menu bar.
It detects the platform OS.
If the running mode is desktop client it performs the jdbc initialization.
Further initialization occurs in the init(String, String, String, String)
method.
ReportManager
public static javax.swing.JMenuItem addItemToMenu(javax.swing.JComponent menu, java.lang.String string, java.awt.event.ActionListener actionListener)
public static javax.swing.JMenuItem addItemToMenu(javax.swing.JComponent menu, java.lang.String string, java.awt.event.ActionListener actionListener, javax.swing.JMenuItem instancedItem)
public static javax.swing.JMenuItem addItemToMenu(javax.swing.JComponent menu, java.lang.String string, javax.swing.JMenuItem instancedItem)
public static javax.swing.JMenuItem addLangItemToMenu(javax.swing.JComponent menu, java.lang.String string, java.awt.event.ActionListener actionListener)
public static javax.swing.JMenuItem addLangItemToMenu(javax.swing.JComponent menu, java.lang.String string, java.awt.event.ActionListener actionListener, javax.swing.JMenuItem instancedItem)
public static javax.swing.JMenuItem addLangItemToMenu(javax.swing.JComponent menu, java.lang.String string, javax.swing.JMenuItem instancedItem)
public static void appInit()
public static boolean beginWaitPossibleCursor()
public static void center(java.awt.Window window, int width, int height)
public static java.awt.Point centeredWindowHandle(int width, int height)
public static java.awt.Point centeredWindowHandle(int windowWidth, int windowHeight, int containerWidth, int containerHeght)
public static void checkWBE(java.awt.Container container)
public static void endWaitPossibleCursor()
public static JotyDialog getDialog(java.awt.Component component)
JotyDialog
component
- the operating componentJotyDialog
public static java.lang.String getInputFromUser(java.awt.Container container, java.lang.String text)
getInputFromUser(Container , String , Object[], Object)
public static java.lang.String getInputFromUser(java.awt.Container container, java.lang.String text, java.lang.Object[] selectionValues, java.lang.Object initialSelectionValue)
container
- the container in which the input will opentext
- the text presented to the userselectionValues
- (optional) an array of string composing the list of values
that will be presented in the pull down-listinitialSelectionValue
- (optional) the default selection for the pull-down listgetWrapAction(Container)
,
JotyFrame.setAsFloatingBar(boolean)
public static void informationMsg(java.awt.Container container, java.lang.String text)
public static void informationMsg(java.lang.String text)
public static void informationMsg(java.lang.String text, java.lang.Object[] objects)
text
- the format stringobjects
- the parameters for the stringpublic void JotyMsg(java.lang.Object object, java.lang.String text)
JotyMsg
in interface org.joty.app.JotyApplication
JotyMsg
in interface org.joty.common.ApplMessenger
object
- the class object of interest in the context (typically
'this').text
- the message body.public static void langInformationMsg(java.lang.String literal)
public static void langInformationMsg(java.lang.String literal, java.lang.Object[] objects)
informationMsg(String , Object[])
but, instead of text, it
accepts the literal that identifies the actual text within the
jotyLang.xml
file.literal
- the identifying literal.objects
- (optional) if not null it is the list of the parameters for
the text format template, as the actual text can be.public static void langWarningMsg(java.lang.String literal)
public static void langWarningMsg(java.lang.String literal, java.lang.Object[] objects)
langInformationMsg(String , Object[])
but for a warning
message.public static boolean langYesNoQuestion(java.lang.String literal)
public static boolean langYesNoQuestion(java.lang.String literal, java.awt.Container container)
public static boolean langYesNoQuestion(java.lang.String literal, java.awt.Container container, java.lang.Object[] objects)
langInformationMsg(String , Object[])
but for presenting a
question and getting an answer from the user.public static void warningMsg(java.awt.Container container, java.lang.String text, java.lang.String caption)
public static void warningMsg(java.lang.String text)
public static void warningMsg(java.lang.String text, java.lang.Object[] objects)
public static void warningMsg(java.lang.String text, java.lang.String caption)
public static int yesNoCancelQuestion(java.awt.Container container, java.lang.String text, int option)
public static int yesNoCancelQuestion(java.lang.String text)
public static int yesNoCancelQuestion(java.lang.String text, int option)
public static boolean yesNoQuestion(java.lang.String text)
public static boolean yesNoQuestion(java.lang.String text, java.awt.Container container)
public static boolean yesNoQuestion(java.lang.String text, java.lang.Object[] objects)
public static void openDocumentFromBytes(byte[] bytes, java.lang.String fileExt)
bytes
- the source buffer of bytesfileExt
- the file name extensionCommon.saveBytesAsFile(byte[], String, String, boolean)
,
openUri(String, boolean)
public void openUri(java.lang.String uri, boolean webLocator)
openUri
in interface org.joty.app.JotyApplication
uri
- the uri of the resource.webLocator
- if true the resource is considered coming from the web and the
default Internet browser is used.public static void setFrontMostContainer(java.awt.Container container)
public static void setLocation(java.awt.Window window, java.awt.Point location)
public boolean setWaitCursor(boolean set)
setWaitCursor
in interface org.joty.app.JotyApplication
public static void writeOnDeskLog(java.lang.String descr, java.lang.String valStr)
protected void abortJobs()
public org.joty.common.BasicPostStatement accessorMethodPostStatement(java.lang.String method, java.lang.Integer returnedValuePos, java.lang.Integer returnedValuesQty)
BasicPostStatement
object hosting the name and the
parameters of a method that will be invoked outside of the client
context.
Typically it prepares a server-side call of the method, in the web running mode of the client, whichever is the task of the method (either a wrapper for a dbms store procedure or anything else to be executed 'far').
the definition of the method must exists in the application
Accessor
object.
method
- the method namereturnedValuePos
- the position of the first returned value (among output
parameters and method return value) in the array of the values
returned by the invocation context - the Accessor
object - living either on the client side - in desktop client
mode - or on the Joty server side - in web mode - The position
is intended within the entirety of the set of values returned
in a transaction in which the method invocation participates.returnedValuesQty
- integer value that, if positive, represents the quantity of
the output parameters values, if negative, represents again
the same quantity plus the method return valueAccessor
,
BasicPostStatement
public boolean accessorExecute(java.lang.String literal)
public boolean accessorExecute(java.lang.String literal, org.joty.common.ParamContext paramContext)
BasicPostStatement
hosting an sql statement and a
substitution literal (for dbms names obfuscation purposes) and executes
it in terms of the Joty technology.literal
- the literal the substitution value of which is define in the
Accessor
object of the application.paramContext
- (optional) the ParamContext
object (if missing the
m_paramContext
member will be used.public org.joty.access.PostStatement accessorPostStatement(JotyDialog dialog, int panelIdx, java.lang.String termName, org.joty.common.ParamContext prmParamContext)
BasicPostStatement
object.
It exposes parameters for identifying a specific Accessor definition context.
If dialog
is not null and the DataAccesorDialog object supports
several modes along with be opened the BasicPostStatement.m_method of the
creating object is assigned the value of the string value for the current
opening mode
(note that on the client side, dialog opening modes are referred as object instance values - typically they are enumeration values - on the server side, however, they are referred as string values: here the conversion takes place).
In a Joty transaction this method is called typically several times. In
web mode it keeps track of the current ParamContext object in the
m_webTransPrmContext
member; on every call the method
checks if ParamContext object changes and at each new different object
encountered the method resets the dirty status of the
ContextParameter
objects contained in it, such that the
ParamContext object is ready for new value assignments to its
ContextParam objects and the WebClient will compose, in the JotyRequest,
only the context parameters that has been assigned during the current
Joty transaction definition session.
dialog
- the DataAccessDialog
object the Accessor context of
which is to be addressed (actually a DialogDataDef object).panelIdx
- the ordinal position of the DataAccessPanel
object
the Accessor sub-context of which is to be addressed (actually
a DataDef object) (it must be equal to -1 if dialog
is
null).termName
- the name of the GridTerm
object within the
DataAccessPanel, the Accessor sub-context of which is to be
addressed (actually a DataDef object), or the name of a
Accessor context-less DataDef
object (see
Accessor.m_statementDefs
) hosting an sql statement,
or, even, a literal residing in
Accessor.m_literalSubsts
map that will be used for
dbms table name obfuscation acting on sql statement specified
later, during further definition of the BasicPostStatement object.prmParamContext
- the ParamContext
object the ContextParameter
objects of which need to be built in the creating object as
Item
objects. These items will be used by the Accessor
object (see
Accessor.setPostStatement(PostStatement, boolean)
) to
re-create there the ParamContext object, no matter which its living
location could be (either the server or the client side).
Actually currently an hybrid solution is adopted that seems to support successfully the most needs: within a transaction definition many ParamContext instances may be identified by means of calls to this method, however, on the Accessor side a merge of all ContextParam objects of all ParanContext objects encountered is performed upon an only ParamContext map there managed.
PostStatement
,
BasicPostStatement.Item
,
DataAccessDialog
,
DataAccessPanel
,
Accessor
,
Accessor.DataDef
,
Accessor.DialogDataDef
,
org.joty.server.JotyServer#dbExecute()
public org.joty.access.PostStatement accessorPostStatement(java.lang.String dialogName, int panelIdx, java.lang.String termName, org.joty.common.ParamContext paramContext, java.lang.String mode)
accessorPostStatement(JotyDialog, int, String, ParamContext)
but allows also to be called without the living instance of the JotyDialog
, addressing
freely a resource within the implemented Accessor
object, indeed.public org.joty.access.PostStatement createLiteralSubstPostStatement(java.lang.String literalName)
PostStatement
object for a literal substitution to be
operated on an sql statement provided later to the objectliteralName
- the literal for the substitutionopenAccessorSubstWResultSet(java.lang.String, java.lang.String)
public int returnedValuesAvailablePos()
returnedValuesAvailablePos
in interface org.joty.app.JotyApplication
public WResultSet openAccessorSubstWResultSet(java.lang.String tabLiteral, java.lang.String sql)
tabLiteral
- the table name or the literal used by the Accessor
object to return the actual table name.sql
- the selector sql statementWResultSet
,
openDbWResultSetByPostStatement(PostStatement)
public WResultSet openAccessorWResultSet(java.lang.String literal)
public WResultSet openAccessorWResultSet(java.lang.String literal, Panel panel)
public WResultSet openAccessorWResultSet(java.lang.String literal, org.joty.common.ParamContext paramContext)
public WResultSet openAccessorWResultSet(java.lang.String literal, Panel panel, org.joty.common.ParamContext paramContext)
WresultSet
object my means of the
Accessor
object by the use of a BasicPostStatement
instance
conveniently prepared.literal
- possible name of the statement the body of which is stored
inside the Accessor objectpanel
- possible Panel
object used either for identifying the
parameters context or for locating the main statements for its
access to the databaseparamContext
- parameters context explicitly passed by the caller.WResultSet
objectopenDbWResultSetByPostStatement(org.joty.access.PostStatement)
,
Panel.createContextPostStatement()
,
accessorPostStatement(JotyDialog, int, String, ParamContext)
public WResultSet openDbWResultSetByPostStatement(org.joty.access.PostStatement postStatement)
postStatement
- the prepared PostStatement objectprotected void enableRoleToReport(java.lang.String reportName, java.lang.String roleName)
reportName
- roleName
- launchReport(String, String)
public void addToolTipRowToComponent(javax.swing.JComponent comp, java.lang.String text)
protected boolean authenticate()
public boolean authenticate(boolean forLostSession)
LoginDialog
for authentication purposes and holds the
m_secure
member set to true during the process.forLostSession
- in web mode, if true, retry chance is not offered to the user
and the flag Common.m_webSessionOn
is reset, so that
any access to the server must traverse the authentication
process.LoginDialog
,
WebClient.sqlQuery(String, boolean)
,
acquireConnection()
,
Common.m_secure
public void beginTrans()
public void beginWaitCursor()
public org.joty.access.BirtManager birtManager()
BirtManager
class.
If it is not yet available the method instantiates it and initializes it.
BirtManager
instance object.BirtManager
protected void buildAppMenuBar()
public void buildLiteralStruct(java.lang.String tabName, java.lang.String keyField, java.lang.String literalField, Application.LiteralStruct literalStruct, org.joty.app.LiteralsCollection.LiteralStructParams prmDescrParms)
public void buildLiteralStruct(java.lang.String tabName, java.lang.String keyField, java.lang.String literalField, java.lang.String name)
public void buildLiteralStruct(java.lang.String tabName, java.lang.String keyField, java.lang.String literalField, java.lang.String name, org.joty.app.LiteralsCollection.LiteralStructParams prmDescrParms)
public void buildLiteralStructMain(java.lang.String tabName, java.lang.String keyField, java.lang.String literalField, java.lang.String name, Application.LiteralStruct paramLiteralStruct, org.joty.app.LiteralsCollection.LiteralStructParams prmLsParams)
loadDataIntoLiteralStruct
.
If the LiteralStruct
object is not passed as parameter it checks its
existence in the map m_literalMap
and, if found, gets it, else a
new instance is created and is put in the map.
tabName
- the database tablekeyField
- the database field hosting the idliteralField
- the database field hosting the descriptionname
- the name of the structured objectparamLiteralStruct
- possible already instantiated LiteralStruct objectprmLsParams
- LiteralStructParams
object carrying parameters#loadDataIntoLiteralStruct(String, String, String, LiteralStruct,
LiteralStructParams)
,
Common.buildLiteralStructMain(java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.joty.app.LiteralsCollection, org.joty.app.LiteralsCollection.LiteralStructParams)
,
LiteralsCollection.LiteralStructParams
public void loadDataIntoLiteralStruct(java.lang.String tabName, java.lang.String keyField, java.lang.String literalField, Application.LiteralStruct literalsCollection, org.joty.app.LiteralsCollection.LiteralStructParams lsParams)
LiteralStruct
object ) a set of records of type {long id, String description}. Note
that possible re-iterated calls to this method on the same data set
produces an update of any gui object the makes use of the inherent
buffered data.
For the meaning of the parameters see Common.prepareToLoadIntoLiteralStruct(java.lang.String, java.lang.String, java.lang.String, org.joty.app.LiteralsCollection, org.joty.app.LiteralsCollection.LiteralStructParams)
Application.LiteralStruct
,
LiteralsCollection.LiteralStructParams
,
#buildLiteralStructMain(String, String, String, String,
LiteralStruct, LiteralStructParams)
,
Application.LiteralStruct.updateTerms()
,
Common.prepareToLoadIntoLiteralStruct(java.lang.String, java.lang.String, java.lang.String, org.joty.app.LiteralsCollection, org.joty.app.LiteralsCollection.LiteralStructParams)
public void loadDescriptions()
Application
class) in order to load in memory all almost static data that is desired
to access to without accessing the server. The framework implementation
only loads roles in memory obfuscating the inherent database table; the
override will have to include a call to the super implementation, indeed.public void buildSet(JotyDataBuffer set, java.lang.String literal, java.lang.String sqlStmnt)
JotyDataBuffer
object is already present in
the map m_setMap
. If it is not, then loads into it a set of
records identified by the sqlStmnt
sql text.set
- the bufferliteral
- the buffer namesqlStmnt
- the selecting sql statementJotyDataBuffer
protected void buildMenuBarComponent()
public void checkForegroundObject()
JotyDialog
object the method bring to
front the second last activated object, holding by the stack
m_activationStack
member.JotyDialog
public boolean checkRoleForExecution(java.lang.String role)
public void clearReturnStatus()
Accessor
object, instantiated locally indeed.public boolean closeAllWindows()
public void closeContainer(java.awt.Window container)
public java.lang.String codedTabName(java.lang.String tabName)
public void commitTrans() throws org.joty.app.JotyException
org.joty.app.JotyException
public javax.swing.text.MaskFormatter createFormatter(int dataType, boolean isCurrency, int len)
MaskFormatter
object to be used with the
JotyTextField
class.dataType
- one value form the JotyTypes
enumeration.isCurrency
- len
- the text length or the number sizeJotyTextField
,
JotyTypes
protected boolean dbmsAuthentication()
JotyDB.getDbConn(boolean)
public void debugMsg(java.lang.String msg)
protected boolean doFurtherJobs()
public boolean doSetPassword(java.lang.String userName, java.lang.String newPwd)
public void endApp()
public void endWaitCursor()
public boolean executeSQL(java.lang.String stmt)
public boolean executeSQL(java.lang.String stmt, java.lang.String autoID)
public boolean executeSQL(java.lang.String stmt, java.lang.String autoID, org.joty.common.BasicPostStatement contextPostStatement)
public void exit()
public void exitByMenu()
protected void exitMsg()
public void getClipboard()
public java.lang.String getClipboardContents()
public java.lang.String getDateMask()
public java.lang.String getDateTimeMask()
public java.lang.String getDialogClassFullName(java.lang.String className)
className
contain a simple name the method builds the fully
qualified name of the class using the current package else the same value of the argument is returned.public long getNextId(DataAccessPanel dPanel)
public JotyDialog getOpenedDialog(java.lang.String className)
public JotyDialog getOpenedDialog(java.lang.String className, boolean silent)
public java.lang.String getServerUrl()
public java.awt.Image image(java.lang.String fileName)
public javax.swing.ImageIcon imageIcon(java.lang.String fileName)
public void incrementRetValIndex()
public boolean inDbTransaction()
public boolean infoDialogIsVisible()
public boolean init(java.lang.String name, java.lang.String version, java.lang.String servletName, java.lang.String webClientClass)
Application
instance.name
- The name of the application as it is shown in the title barversion
- The version of the applicationservletName
- The servlet name (if null, 'JotyServlet' will be used): the
argument must have a value conforming with the actual servlet
name as it is declared in the servlet containerwebClientClass
- Normally null. It is the name of the possible
WebClient
extension class.WebClient
,
org.joty.server.JotyServer
public boolean insideDataDialogs(java.awt.Point point)
public void insideResize(java.awt.Dimension target, java.awt.image.BufferedImage srcImg, java.awt.Component container)
public boolean invokeAccessMethod(org.joty.common.BasicPostStatement postStatement)
public java.lang.String languageItem(java.lang.String literal, org.joty.common.ConfigFile langCF)
public void launchReport(java.lang.String name, java.lang.String renderType)
public void launchReport(java.lang.String name, java.lang.String renderType, boolean twoProcesses)
public void launchReport(java.lang.String name, java.lang.String renderType, boolean twoProcesses, java.awt.Container container)
protected java.lang.Object[] getBirtRenderTypes()
protected void loadData()
protected void loadUserRoles()
BasicAccessor
public void lostOwnership(java.awt.datatransfer.Clipboard clipboard, java.awt.datatransfer.Transferable contents)
lostOwnership
in interface java.awt.datatransfer.ClipboardOwner
public boolean m_toolTipsEnabled()
public void map2LdescrArrayTo1L(java.lang.String firstLevelDescrArrayLiteral, long itemData, java.lang.String secondLevelDescrArrayLiteral)
protected boolean mustPasswordBeChanged()
protected boolean isDateExpired()
protected boolean verifyLogin()
protected void verificationProlog()
public JotyDialog onTopDialog()
public void openInfoDialog(java.lang.String message)
openInfoDialog
in interface org.joty.app.JotyApplication
public void openInfoDialog(java.lang.String message, boolean waitCursor)
public void openInfoDialog(java.lang.String message, java.lang.Thread thread, boolean waitCursor)
InfoDialog
object and optionally provides it with the
ability to stop a Thread
object passed as parameter.message
- thread
- waitCursor
- InfoDialog
public void closeInfoDialog()
closeInfoDialog
in interface org.joty.app.JotyApplication
public void closeInfoDialog(boolean waitCursor)
protected boolean postAuthenticate()
protected void registerReports()
enableRoleToReport(String, String)
public boolean remoteAccessorMode()
remoteAccessorMode
in interface org.joty.app.JotyApplication
public void repaint()
public void rollbackTrans() throws org.joty.app.JotyException
org.joty.app.JotyException
public void setClipboardContents(java.lang.String aString)
protected void setDefaultFont()
public void setMainFrameFloating(boolean truth)
public boolean setPassword(boolean getOldPassword, java.lang.String userName)
public boolean setPassword(java.lang.String userName, java.lang.String newPassword)
It sets the m_secure
member to true.
userName
- newPassword
- Common.m_secure
protected void setPasswordValidator(Application.PasswordValidator validator)
public boolean setUserPwd(java.lang.String userName, java.lang.String newPwd, java.lang.String command, java.lang.String oldPwd, int nonManagedRollbackIndex)
public void setWorkStationFontSize()
protected void showAboutDialog()
public void turnTracingOff()
public void turnTracingOn()
public java.lang.String userHomeDataPath()
protected boolean userOperation(java.lang.String methodName, boolean login, boolean retCodeAsLangLiteral)
BasicAccessor
class, that are related to the management of the
user data the container name of which, also, is stored in the definition
of that class.
The method supports the shared mode of the Joty application.
methodName
- the name of methos defined in the BasicAccessor classlogin
- true if it is a login operationretCodeAsLangLiteral
- if true code returned from the invoked method is treated as a
LangLiteralRetCodeMapper
object to be conveniently
decoded.BasicPostStatement
,
LangLiteralRetCodeMapper
,
Common.sharingClause()
,
BasicAccessor
protected boolean webAuthentication()
WebClient
,
BasicAccessor
public UsersPanel createUserPanel()
public void jotyWarning(java.lang.String text)
jotyWarning
in interface org.joty.common.JotyMessenger
public void jotyMessage(java.lang.String text)
jotyMessage
in interface org.joty.common.JotyMessenger
public void jotyMessage(java.lang.Throwable t)
jotyMessage
in interface org.joty.common.JotyMessenger
public void jotyMessage(java.lang.Exception e)
jotyMessage
in interface org.joty.common.JotyMessenger
public void ASSERT(boolean predicate)
ASSERT
in interface org.joty.common.JotyMessenger
public org.joty.data.JotyDate createDate()
createDate
in interface org.joty.app.JotyApplication
public boolean debug()
debug
in interface org.joty.app.JotyApplication
public boolean isDesignTime()
isDesignTime
in interface org.joty.common.JotyMessenger
public org.joty.data.WrappedField createWrappedField()
createWrappedField
in interface org.joty.app.JotyApplication
public java.lang.String localFilesPath()
localFilesPath
in interface org.joty.app.JotyApplication
public org.joty.common.ICommon getCommon()
getCommon
in interface org.joty.common.ApplMessenger
public java.lang.String getKeyStoreType()
getKeyStoreType
in interface org.joty.app.JotyApplication
public void firstChanceKeyStore() throws java.lang.Throwable
firstChanceKeyStore
in interface org.joty.app.JotyApplication
java.lang.Throwable
public java.lang.String keyStorePath()
keyStorePath
in interface org.joty.app.JotyApplication
public org.joty.app.LiteralsCollection instantiateLiteralsCollection(org.joty.common.JotyMessenger jotyMessanger)
instantiateLiteralsCollection
in interface org.joty.app.JotyApplication
public void volatileMessage(java.lang.String langLiteral, boolean appSpecific)
volatileMessage
in interface org.joty.app.JotyApplication
public org.joty.web.AbstractWebClient getWebClient()
getWebClient
in interface org.joty.app.JotyApplication
public void constraintViolationMsg(boolean onUpdate, org.joty.app.JotyException jotyException)
constraintViolationMsg
in interface org.joty.app.JotyApplication
public void manageExpiredSession()
manageExpiredSession
in interface org.joty.app.JotyApplication
public boolean designTime()
designTime
in interface org.joty.app.JotyApplication
public void beforeReportRender()
beforeReportRender
in interface org.joty.common.JotyMessenger
public void afterReportRender(java.lang.String location)
afterReportRender
in interface org.joty.common.JotyMessenger