org.openmobileis.examples.mycrm.terminal.services
Class DisplayAccountService

java.lang.Object
  extended byorg.openmobileis.services.Service
      extended byorg.openmobileis.services.TemplateService
          extended byorg.openmobileis.examples.mycrm.terminal.services.DisplayAccountService
All Implemented Interfaces:
IndexServletContentListener, NavigationBarService

public final class DisplayAccountService
extends TemplateService
implements NavigationBarService, IndexServletContentListener

Title: OpenMobileIS project source
Description:

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

Field Summary
 
Fields inherited from interface org.openmobileis.services.navigation.NavigationBarService
NAVBAR_ROOT
 
Constructor Summary
DisplayAccountService()
           
 
Method Summary
 void addContent(TemplateModelRoot modelRoot)
          call by index servlet to provide content.
 boolean displayFormExitMessage()
           
 boolean displayRecursive()
           
 java.lang.String getNavigationBarLabel(HttpServletRequest req)
           
 java.lang.String getServiceUri()
           
 java.lang.String runTemplate(HttpServletRequest req, HttpServletResponse res, TemplateModelRoot templateData)
          Extends this method to develop specific process.
 
Methods inherited from class org.openmobileis.services.TemplateService
run
 
Methods inherited from class org.openmobileis.services.Service
equals, getNavigationBarLastServiceURI, hashCode, isNavigationService, runService, useWebCache
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openmobileis.services.navigation.NavigationBarService
getNavigationBarLastServiceURI
 

Constructor Detail

DisplayAccountService

public DisplayAccountService()
Method Detail

runTemplate

public java.lang.String runTemplate(HttpServletRequest req,
                                    HttpServletResponse res,
                                    TemplateModelRoot templateData)
                             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

addContent

public void addContent(TemplateModelRoot modelRoot)
                throws ServiceException
Description copied from interface: IndexServletContentListener
call by index servlet to provide content.

Specified by:
addContent in interface IndexServletContentListener
Returns:
Throws:
ServiceException

getServiceUri

public java.lang.String getServiceUri()
Specified by:
getServiceUri 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.