java.lang.Objectorg.objectweb.telosys.common.TelosysObject
org.objectweb.telosys.common.ScreenView
ScreenMap implementation of the View interface
To use a screenmap as a standard "MVC view" in a "navigation service"
Constructor Summary | |
ScreenView(java.lang.String sName,
int iScreenContextId)
ScreenMap View constructor |
|
ScreenView(java.lang.String sName,
int iScreenContextId,
java.lang.String sScreenContextName)
ScreenMap View constructor |
|
ScreenView(java.lang.String sName,
java.lang.String sType,
int iScreenContextId)
ScreenMap View constructor |
|
ScreenView(java.lang.String sName,
java.lang.String sType,
int iScreenContextId,
java.lang.String sScreenContextName)
ScreenMap View constructor |
Method Summary | |
void |
generate(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
Generates the response page (the ScreenMap or any other resource page) |
java.lang.String |
getAction()
Returns the ScreenContext action |
int |
getId()
Deprecated. use getScreenContextId |
java.lang.String |
getName()
Returns the name of the ScreenMap ( logical name defined in "screens.xml" or by convention ) |
int |
getScreenContextId()
Returns the ScreenContext ID |
java.lang.String |
getScreenContextName()
Returns the ScreenContext name (can be null) |
java.lang.String |
getType()
Returns the type of the ScreenMap ( e.g. |
java.lang.String |
toString()
|
Methods inherited from class org.objectweb.telosys.common.TelosysObject |
error, error, error, getFlagTrace, info, setFlagTrace, trace, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ScreenView(java.lang.String sName, int iScreenContextId) throws TelosysException
sName
- : the name of the screen map ( name defined in "screens.xml" )iScreenContextId
- : the id of the ScreenContext associated with the screen map
TelosysException
public ScreenView(java.lang.String sName, java.lang.String sType, int iScreenContextId) throws TelosysException
sName
- : the name of the screen map ( name defined in "screens.xml" )sType
- : the type of the screen map ( "html" or "xul" )iScreenContextId
- : the id of the ScreenContext associated with the screen map
TelosysException
public ScreenView(java.lang.String sName, int iScreenContextId, java.lang.String sScreenContextName) throws TelosysException
sName
- : the name of the screen map ( name defined in "screens.xml" )iScreenContextId
- : the id of the ScreenContext associated with the screen mapsScreenContextName
- : the name of the ScreenContext associated with the screen map
TelosysException
public ScreenView(java.lang.String sName, java.lang.String sType, int iScreenContextId, java.lang.String sScreenContextName) throws TelosysException
sName
- : the name of the screen map ( name defined in "screens.xml" )sType
- : the type of the screen map ( "html" or "xul" )iScreenContextId
- : the id of the ScreenContext associated with the screen mapsScreenContextName
- : the name of the ScreenContext associated with the screen map
TelosysException
Method Detail |
public java.lang.String getName()
public java.lang.String getType()
public int getId()
public int getScreenContextId()
public java.lang.String getScreenContextName()
public java.lang.String getAction()
public java.lang.String toString()
public void generate(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse) throws TelosysException
View
generate
in interface View
httpRequest
- httpResponse
-
TelosysException