|
TaskBean API 0.5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectglogic.jthin.app.JThinContainer
Main driver/container class for given Product.
| Field Summary | |
protected boolean |
_bAuthenticatedApp
|
protected boolean |
_bStartupSuccessful
|
protected int |
_iApplicationState
|
protected EndPane |
_oEndPane
|
protected ErrorPane |
_oErrorPane
|
protected JThinFrame |
_oJThinFrame
|
protected JThinInstance |
_oJThinInstance
|
protected SessionServiceIF |
_oSessionService
|
protected StartPane |
_oStartPane
|
protected java.lang.String |
_stAuthServiceBaseUrl
|
protected java.lang.String |
_stProductName
|
protected java.lang.String |
_stProductVersion
|
protected java.lang.String |
_stSecretSessionID
|
static int |
ACTIVE_SESSION
|
static int |
ERROR
|
static int |
EXITING
|
static int |
READY_LOGOFF
|
static int |
READY_LOGON
|
static int |
STARTUP
|
| Constructor Summary | |
JThinContainer(java.lang.String stWindowTitle)
Subclass defines iProductID and stProductName. |
|
| Method Summary | |
protected abstract ApplicationView |
createApplicationView(JThinFrame frame)
|
protected abstract EndPane |
createEndPane()
Override in subclass to return specific GUI. |
JThinFrame |
createJThinFrame()
|
protected JThinMenuBar |
createJThinMenuBar(JThinFrame frame)
Implement in subclass to return specific MenuBar. |
protected abstract StartPane |
createStartPane()
Implement in subclass to return specific GUI. |
void |
destroyContainer()
|
void |
doStartView()
Called after endAppSession to re-initialize application. |
void |
endAppSession(JThinFrame frame)
Ends the current application session. |
java.lang.String |
getApplicationLocation()
|
EndPane |
getEndPane()
|
ErrorPane |
getErrorPane()
|
static JThinContainer |
getInstance()
|
JThinFrame |
getJThinFrame()
|
JThinInstance |
getJThinInstance()
|
java.lang.String |
getProductName()
|
java.lang.String |
getProductVersion()
|
java.lang.String |
getSecretSessionID()
|
StartPane |
getStartPane()
|
int |
getState()
|
void |
gotoErrorScreen(java.lang.String stMsg)
Display error screen. |
void |
initContainer(java.lang.String stProductName,
java.lang.String stProductVersionNumber,
java.lang.String stAuthServiceBaseUrl,
boolean bSsoSession,
java.lang.String stEncryptedSessionID,
java.lang.String stSessionHash,
long lSessionHashTime,
boolean bAuthenticatedApp)
Starting application for first time. |
boolean |
isAuthenticatedApp()
|
boolean |
isStartupSuccessful()
|
void |
setSecretSessionID(java.lang.String id)
|
void |
startAppSession()
Starts the JThinInstance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int STARTUP
public static final int READY_LOGON
public static final int READY_LOGOFF
public static final int ACTIVE_SESSION
public static final int EXITING
public static final int ERROR
protected boolean _bStartupSuccessful
protected int _iApplicationState
protected java.lang.String _stProductName
protected java.lang.String _stProductVersion
protected java.lang.String _stSecretSessionID
protected java.lang.String _stAuthServiceBaseUrl
protected boolean _bAuthenticatedApp
protected JThinFrame _oJThinFrame
protected JThinInstance _oJThinInstance
protected SessionServiceIF _oSessionService
protected StartPane _oStartPane
protected EndPane _oEndPane
protected ErrorPane _oErrorPane
| Constructor Detail |
public JThinContainer(java.lang.String stWindowTitle)
| Method Detail |
protected abstract ApplicationView createApplicationView(JThinFrame frame)
protected abstract StartPane createStartPane()
protected abstract EndPane createEndPane()
protected JThinMenuBar createJThinMenuBar(JThinFrame frame)
public static JThinContainer getInstance()
public int getState()
public JThinInstance getJThinInstance()
null if no JThinInstance running.public java.lang.String getProductName()
public java.lang.String getProductVersion()
public java.lang.String getSecretSessionID()
public void setSecretSessionID(java.lang.String id)
public JThinFrame getJThinFrame()
public void initContainer(java.lang.String stProductName,
java.lang.String stProductVersionNumber,
java.lang.String stAuthServiceBaseUrl,
boolean bSsoSession,
java.lang.String stEncryptedSessionID,
java.lang.String stSessionHash,
long lSessionHashTime,
boolean bAuthenticatedApp)
public boolean isStartupSuccessful()
public void doStartView()
public void startAppSession()
public void gotoErrorScreen(java.lang.String stMsg)
public void endAppSession(JThinFrame frame)
frame - This maybe the same frame currently referenced
by the JThinContainer or could be a new one. If
new it needs to replace the old one. Old one
should be discarded.public void destroyContainer()
public JThinFrame createJThinFrame()
public StartPane getStartPane()
public EndPane getEndPane()
public ErrorPane getErrorPane()
public java.lang.String getApplicationLocation()
public boolean isAuthenticatedApp()
|
TaskBean API 0.5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||