org.opensubsystems.inventory.application
Class InventoryThickClient
java.lang.Object
org.opensubsystems.core.application.Server
org.opensubsystems.core.application.ThickClient
org.opensubsystems.security.application.SecureThickClient
org.opensubsystems.inventory.application.InventoryThickClient
public class InventoryThickClient
- extends org.opensubsystems.security.application.SecureThickClient
The main class which will construct GUI and start the inventory thick client
application.
- Version:
- $Id: InventoryThickClient.java,v 1.7 2007/03/08 05:17:15 bastafidli Exp $
- Author:
- Miro Halas
- Code reviewer:
- Miro Halas
- Code reviewed:
- 1.3 2006/03/13 16:24:35 bastafidli
| Fields inherited from class org.opensubsystems.security.application.SecureThickClient |
BACKGROUND_USER_NAME, BACKGROUND_USER_PASSWORD, DEFAULT_BACKGROUND_USER_NAME_PASSWORD, m_backgroundUser, m_bRepeatLogin, m_domain, m_session, m_strBackgroundSession, m_strCreatedUserLoginName, m_user, s_strBackgroundLoginName, s_strBackgroundPassword, SECURITY_USE_PASSWORD |
| Fields inherited from class org.opensubsystems.core.application.ThickClient |
GUI_MODULE_PREFIX, m_bFixedSize, m_bHideCursor, m_bModulesCreated, m_bStoppingGui, m_gui, m_iScreenPosition, m_modules, m_strActiveModuleName, m_strPreviouslyActiveModules, s_clsDefaultThickClient, s_strDefaultGUITechnology |
| Fields inherited from class org.opensubsystems.core.application.Server |
m_bStarted, m_hsServer, m_iWebServerPort, s_iMaxServerStartRetry, SERVER_START_RETRYCOUNT, SERVER_START_RETRYCOUNT_DEFAULT |
|
Constructor Summary |
InventoryThickClient()
Construct instance of the thick client application. |
InventoryThickClient(org.opensubsystems.core.util.ProductInfo product)
Construct instance of the inventory thick client application. |
| Methods inherited from class org.opensubsystems.security.application.SecureThickClient |
checkForInternalEnabledUsers, cleanOrphanSessions, getBackgroundLoginName, getDefaultDomain, getSessionController, getUsePassword, getUserController, login, loginBackgroundUser, logout, logoutBackgroundUser, startGui, startThickClient, stopGUI, stopThickClient |
| Methods inherited from class org.opensubsystems.core.application.ThickClient |
activateModule, activateModule, addWebApplications, canStopGUI, createModules, destroyModules, displayGUI, getGui, getScreenPosition, getThickClientInstance, initScreenOptions, isFixedSize, main, pasivateModule, start, stop |
| Methods inherited from class org.opensubsystems.core.application.Server |
generateNewWebPort, getWebServerPort, initContext, isStarted, setWebServerPort, startServer, stopServer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_inventory
protected Inventory m_inventory
- Inventory which is used in the system.
InventoryThickClient
public InventoryThickClient()
- Construct instance of the thick client application.
InventoryThickClient
public InventoryThickClient(org.opensubsystems.core.util.ProductInfo product)
- Construct instance of the inventory thick client application.
- Parameters:
product - - information about product which is running this
application, this way we will force every application
to create and publish this information in uniform way
init
public void init()
throws org.opensubsystems.core.error.OSSException,
java.io.IOException
-
- Overrides:
init in class org.opensubsystems.security.application.SecureThickClient
- Throws:
org.opensubsystems.core.error.OSSException
java.io.IOException
getDefaultInventory
protected Inventory getDefaultInventory()
throws org.opensubsystems.core.error.OSSException
- Get default inventory which should be opened at this time.
- Returns:
- Inventory - inventory which this user should use
- Throws:
org.opensubsystems.core.error.OSSException - - cannot determine default inventory
getInventoryController
protected InventoryController getInventoryController()
throws org.opensubsystems.core.error.OSSException
- Get controller to invoke business logic.
- Returns:
- InventoryController
- Throws:
org.opensubsystems.core.error.OSSException - - an error has occured
Copyright © 2003 - 2006 OpenSubsystems s.r.o.