|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ifeth.sehr.client.api.SEHRModules
This object lists all modules of a SEHR host.
The use case of this class is to get informations about installed modules on
a SEHR host. The module name or title may be from interest in menus or
selection lists. This object is no administration tool with write access to
any module related table of the zone server.
Note: This class contains a main method to run a test.
Constructor Summary | |
SEHRModules()
Parameterless constructor |
|
SEHRModules(SEHRRemote session)
Constructor using an already initialized session based on a SEHRRemote object |
|
SEHRModules(java.lang.String ip,
int port)
Constructor with parameters to connect to a SEHR server by LAN |
Method Summary | |
boolean |
connect()
Connect this object to the SEHR host Note: This objects requires the SEHRREmote object which mangages the connections from a clien tto host. |
java.lang.String |
getSDOHURL(int modid)
Get URL of data object handler of given module |
java.lang.String |
getSDOHURLOfServiceID(int svid)
|
java.util.Vector |
listModules()
Get list of installed service modules / applications on a SEHR host |
static void |
main(java.lang.String[] args)
For testing purposes this class should be executed within the workspace Eclipse. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SEHRModules()
public SEHRModules(java.lang.String ip, int port)
public SEHRModules(SEHRRemote session)
Method Detail |
public java.util.Vector listModules()
public java.lang.String getSDOHURLOfServiceID(int svid)
public java.lang.String getSDOHURL(int modid)
public boolean connect()
Note: This objects requires the SEHRREmote object which mangages
the connections from a clien tto host. If the SEHRRemote object is not
connected it will be done here.
This object sets a permanent connection due to prepared statements!
public static void main(java.lang.String[] args)
Instruction:
1)
To test the module get a valid IP/Port pair of a running SEHR server and
modify parameters below
2)
Run this module
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |