org.ifeth.sehr.beans
Class ModuleData
java.lang.Object
|
+--org.ifeth.sehr.lib.DAOBase
|
+--org.ifeth.sehr.beans.ModuleData
- All Implemented Interfaces:
- DAOBaseInterface
- public class ModuleData
- extends DAOBase
- implements DAOBaseInterface
This bean is used to manage the functional modules on a SEHR server.
- Version:
- $Id: ModuleData.java,v 1.7 2005/01/16 12:15:57 hansjhaase Exp $
- Author:
- hansjhaase
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleData
public ModuleData()
ModuleData
public ModuleData(DefModule dm)
init
public void init()
init
public void init(SEHRCfg cfg)
getModulebyPIK
public DefModule getModulebyPIK(java.lang.String pik,
DefModule defmodule)
- Get module record by given unique id (pik); The record will be stored in
table object DefModule...
- Parameters:
pik - The unique pik to select module recorddefmodule - Table object Defmodule, if null a new object is returned
getOptionListSEHRSysCat
public java.util.List getOptionListSEHRSysCat()
addModule
public void addModule()
updateSEHRSysCat
public void updateSEHRSysCat(DefModule dm)
- Assign a SEHR system/basic category for the module
getDefmodule
public DefModule getDefmodule()
- Returns:
- Returns the defmodule.
setDefmodule
public void setDefmodule(DefModule defmodule)
- Parameters:
defmodule - The defmodule to set.
_setSEHRDataSource
public void _setSEHRDataSource(SEHRDataSource fbds)
throws java.lang.Exception
- Specified by:
_setSEHRDataSource in interface DAOBaseInterface
java.lang.Exception
_getResList
public java.util.List _getResList()
- Specified by:
_getResList in interface DAOBaseInterface
_delete
public void _delete(java.lang.String s,
java.lang.Object o)
throws java.lang.Exception
- Specified by:
_delete in interface DAOBaseInterface
java.lang.Exception
_update
public void _update(java.lang.String s,
java.lang.Object o)
throws java.lang.Exception
- Specified by:
_update in interface DAOBaseInterface
java.lang.Exception
_insert
public void _insert(java.lang.String s,
java.lang.Object o)
throws java.lang.Exception
- Specified by:
_insert in interface DAOBaseInterface
java.lang.Exception
_select
public void _select(java.lang.String s,
java.lang.Object o)
throws java.lang.Exception
- Specified by:
_select in interface DAOBaseInterface
java.lang.Exception
_select
public void _select(java.lang.Object o)
throws java.lang.Exception
- Specified by:
_select in interface DAOBaseInterface
java.lang.Exception
_getOptionList
public void _getOptionList(java.lang.String mastertyp)
- Specified by:
_getOptionList in interface DAOBaseInterface
main
public static void main(java.lang.String[] args)
- For testing only...