se.entra.phantom.server.rconsole
Class AdminConfigWebApplication

java.lang.Object
  extended by se.entra.phantom.server.rconsole.AdminConfigWebApplication

public class AdminConfigWebApplication
extends Object

Handles a web application definition.


Constructor Summary
AdminConfigWebApplication(String[] data)
          Creates a web application from a string array from a list box.
AdminConfigWebApplication(String name, String data)
          Creates a web application from a string in the INI file.
AdminConfigWebApplication(VirtualPanel vp)
          Creates a web application from a panel.
 
Method Summary
 boolean doSearchFirst()
          Flag indicating runtime files should search matching screens from first runtime.
 int getAppStart()
          Gets the application start option (0=new, 1=reuse, 2=restart).
 String getCGIName()
          Gets the name of the CGI.
 char getHostSession()
          The host session to use.
 String getListBoxString()
          Gets the listbox string for this resource.
 String getName()
          Get the name of the web application.
 String getRuntimeApplicationNames()
          Gets the runtime applications names.
 int getTimeout()
          The session timeout value (in minutes, always > 0).
 long getTimeoutMillis()
          The session timeout value (in milliseconds, always > 0).
 int getWaitStableTime()
          The wait stable time (in milliseconds, zero if not used).
static AdminConfigWebApplication getWebApplication(String name)
          Gets a web application from a name.
 boolean isCookieUsed()
          Checks if a cookie is used to identify a session.
static void loadWebApplications(IniFile ini)
          Loads all the web applications from the "server.ini" file.
static void performListSelectionChange(VirtualPanel vp, VirtualCListBox list, int line, boolean hasSelection)
          Performs a list selection change in the resource definition panel.
 void setItem(IniFile ini)
          Sets the item in the ini file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminConfigWebApplication

public AdminConfigWebApplication(VirtualPanel vp)
Creates a web application from a panel.


AdminConfigWebApplication

public AdminConfigWebApplication(String[] data)
                          throws IOException
Creates a web application from a string array from a list box.

Throws:
IOException - when the data doesn't have the correct format.

AdminConfigWebApplication

public AdminConfigWebApplication(String name,
                                 String data)
                          throws IOException
Creates a web application from a string in the INI file.

Throws:
IOException - when the data doesn't have the correct format.
Method Detail

loadWebApplications

public static void loadWebApplications(IniFile ini)
Loads all the web applications from the "server.ini" file.


getWebApplication

public static AdminConfigWebApplication getWebApplication(String name)
Gets a web application from a name.

Returns:
null if not found.

performListSelectionChange

public static void performListSelectionChange(VirtualPanel vp,
                                              VirtualCListBox list,
                                              int line,
                                              boolean hasSelection)
Performs a list selection change in the resource definition panel.


getListBoxString

public String getListBoxString()
Gets the listbox string for this resource.


setItem

public void setItem(IniFile ini)
Sets the item in the ini file.


getRuntimeApplicationNames

public String getRuntimeApplicationNames()
Gets the runtime applications names.


getHostSession

public char getHostSession()
The host session to use.


getWaitStableTime

public int getWaitStableTime()
The wait stable time (in milliseconds, zero if not used).


getTimeout

public int getTimeout()
The session timeout value (in minutes, always > 0).


getTimeoutMillis

public long getTimeoutMillis()
The session timeout value (in milliseconds, always > 0).


doSearchFirst

public boolean doSearchFirst()
Flag indicating runtime files should search matching screens from first runtime.


isCookieUsed

public boolean isCookieUsed()
Checks if a cookie is used to identify a session.


getAppStart

public int getAppStart()
Gets the application start option (0=new, 1=reuse, 2=restart).


getCGIName

public String getCGIName()
Gets the name of the CGI.


getName

public String getName()
Get the name of the web application.



Phantom® and NetPhantom® are registered trademarks of Codectica Systems SARL.
© Copyright Codectica Systems SARL, 2008. All rights reserved.