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)
|
java.lang.String |
getAction()
|
int |
getId()
Deprecated. use getScreenContextId |
java.lang.String |
getName()
Returns the name of the ScreenMap ( name defined in "screens.xml" ) |
int |
getScreenContextId()
Returns the ScreenContext ID |
java.lang.String |
getScreenContextName()
Returns the ScreenContext name |
ScreenMap |
getScreenMap()
|
java.lang.String |
getTarget()
Returns the target URL or URI of the View |
java.lang.String |
getType()
Returns the type of the ScreenMap ( e.g. |
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, toString, 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 ScreenMap getScreenMap()
public java.lang.String getTarget()
View
getTarget
in interface View
public void generate(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse) throws TelosysException
generate
in interface View
TelosysException