org.openmobileis.services.Service Class Reference

Inheritance diagram for org.openmobileis.services.Service:

org.openmobileis.examples.mycrm.terminal.services.DeleteContactService org.openmobileis.examples.mycrm.terminal.services.DeleteReportService org.openmobileis.examples.simpleappli.terminal.services.DeleteDataService org.openmobileis.services.common.RedirectToFromCallingService org.openmobileis.services.common.ReturnLinkManagerService org.openmobileis.services.TemplateService org.openmobileis.synchro.openmsp.server.OpenMSPService org.openmobileis.embedded.webserver.test.services.HelloWorld org.openmobileis.embedded.webserver.test.services.TestServletService org.openmobileis.examples.mycrm.terminal.services.DisplayAccountService org.openmobileis.examples.mycrm.terminal.services.DisplayContactService org.openmobileis.examples.mycrm.terminal.services.DisplayLeadsService org.openmobileis.examples.mycrm.terminal.services.DisplayReportService org.openmobileis.examples.mycrm.terminal.services.SearchAccountService org.openmobileis.examples.simpleappli.terminal.services.ShowAllBaseDataService org.openmobileis.examples.simpleappli.terminal.services.ShowDataService org.openmobileis.services.servlet.IndexServlet org.openmobileis.services.SimpleEditService org.openmobileis.synchro.openmsp.client.services.DirectSynchroService org.openmobileis.synchro.openmsp.client.services.SynchroJournalDisplayService org.openmobileis.synchro.openmsp.client.services.SynchroLoginService List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: All services have to specialize this class and override run() method.

The name is set by the LocalServiceManager at launching (by reading serviceList.properties)

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

Definition at line 51 of file Service.java.

Public Member Functions

 Service ()
void runService (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
boolean useWebCache ()
 to wen server page cache management extends this method and return true.
String getNavigationBarLastServiceURI ()
 place the last service of the navigation bar at the specified service uri if found.
boolean isNavigationService ()
 
Returns:

boolean equals (Object obj)
int hashCode ()


Member Function Documentation

boolean org.openmobileis.services.Service.useWebCache (  ) 

to wen server page cache management extends this method and return true.

Register your service with the WebPageCacheManager.

Definition at line 134 of file Service.java.

Referenced by org.openmobileis.services.Service.runService().

String org.openmobileis.services.Service.getNavigationBarLastServiceURI (  ) 

place the last service of the navigation bar at the specified service uri if found.

if not needed return null. Place here has a helper for all NavigationBarService to avoid this method implementation if not needed.

Returns:

Definition at line 144 of file Service.java.

Referenced by org.openmobileis.services.navigation.NavigationBarManager.setCurrentService().


The documentation for this class was generated from the following file:
Generated on Mon Dec 4 11:03:40 2006 for OpenMobileIS by  doxygen 1.5.1-p1