org.openmobileis.services.servlet
Class IndexServlet

java.lang.Object
  extended byorg.openmobileis.services.Service
      extended byorg.openmobileis.services.TemplateService
          extended byorg.openmobileis.services.servlet.IndexServlet
All Implemented Interfaces:
NavigationBarService

public class IndexServlet
extends TemplateService
implements NavigationBarService

Title: OpenMobileIS project source
Description: show mobile portal. First page opened when the web server is started use the property org.openmobileis.service.forcepass to define if password has to be asked. The template name is openmischannel/index.htm" URL is /services/index

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu

Field Summary
protected static IndexServlet serverIndexServlet
           
 
Fields inherited from interface org.openmobileis.services.navigation.NavigationBarService
NAVBAR_ROOT
 
Constructor Summary
IndexServlet()
           
 
Method Summary
 void addContentListener(IndexServletContentListener listener)
           
 boolean displayFormExitMessage()
           
 boolean displayRecursive()
           
static IndexServlet getIndexServlet()
           
 java.lang.String getIndexServletTemplateName()
           
 java.lang.String getName()
           
 java.lang.String getNavigationBarLabel(HttpServletRequest req)
           
 java.lang.String runTemplate(HttpServletRequest req, HttpServletResponse res, TemplateModelRoot modelRoot)
          Extends this method to develop specific process.
 
Methods inherited from class org.openmobileis.services.TemplateService
run
 
Methods inherited from class org.openmobileis.services.Service
getNavigationBarLastServiceURI, getServiceUri, isNavigationService, runService, setServiceURI, useWebCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openmobileis.services.navigation.NavigationBarService
getNavigationBarLastServiceURI
 

Field Detail

serverIndexServlet

protected static IndexServlet serverIndexServlet
Constructor Detail

IndexServlet

public IndexServlet()
Method Detail

getIndexServlet

public static IndexServlet getIndexServlet()

getIndexServletTemplateName

public java.lang.String getIndexServletTemplateName()

addContentListener

public void addContentListener(IndexServletContentListener listener)

runTemplate

public java.lang.String runTemplate(HttpServletRequest req,
                                    HttpServletResponse res,
                                    TemplateModelRoot modelRoot)
                             throws ServletException,
                                    java.io.IOException
Description copied from class: TemplateService
Extends this method to develop specific process. Return the template relatif path to be use to process TemplateModel.

Specified by:
runTemplate in class TemplateService
Throws:
ServletException
java.io.IOException

getName

public java.lang.String getName()
Specified by:
getName in class Service

getNavigationBarLabel

public java.lang.String getNavigationBarLabel(HttpServletRequest req)
Specified by:
getNavigationBarLabel in interface NavigationBarService

displayFormExitMessage

public boolean displayFormExitMessage()
Specified by:
displayFormExitMessage in interface NavigationBarService

displayRecursive

public boolean displayRecursive()
Specified by:
displayRecursive in interface NavigationBarService


Copyright 2005 e-Care. All Rights Reserved.