org.openmobileis.examples.mycrm.terminal.services.EditReportService Class Reference

Inheritance diagram for org.openmobileis.examples.mycrm.terminal.services.EditReportService:

org.openmobileis.services.SimpleEditService org.openmobileis.services.navigation.NavigationBarService org.openmobileis.services.TemplateService org.openmobileis.services.EditService org.openmobileis.services.Service List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: SimpleEditService provide a base algorythm to develop and edit service.

It manage the edited object in a session created using the name return by getSessionDatasName(). Implements the NavigationBarService interface to use the naviagation bar that provide simple way to naviagate along services.

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

Definition at line 65 of file EditReportService.java.

Public Member Functions

 EditReportService ()
String getServiceUri ()
String getNavigationBarLabel (HttpServletRequest req)
boolean displayFormExitMessage ()
boolean displayRecursive ()

Protected Member Functions

void fillTemplateWithSessionData (Object sessionDatas, TemplateModelRoot templateData) throws ServiceException
void storeSessionObjectInDB (Object sessionDatas, HttpServletRequest req, TemplateModelRoot templateData) throws ServiceException
void fillSessionObjectWithRequestData (Object sessionDatas, HttpServletRequest req) throws ServiceException
String getSessionDatasName ()
String getTemplateName ()
Object createSessionObject (HttpServletRequest req) throws ServiceException
 call to create the session object.
String getDisplayServiceURI ()
 return the URI of the service that display data after the data edition.

Classes

class  ReportSessionData


Member Function Documentation

Object org.openmobileis.examples.mycrm.terminal.services.EditReportService.createSessionObject ( HttpServletRequest  req  )  throws ServiceException [protected, virtual]

call to create the session object.

Before been created while it's edited, an object is store in a session. The session object can be a new one (create it) or an object store in the database (get it from the database).

Implements org.openmobileis.services.SimpleEditService.

Definition at line 206 of file EditReportService.java.

References org.openmobileis.examples.mycrm.terminal.services.EditReportService.ReportSessionData.accountid, org.openmobileis.examples.mycrm.terminal.services.EditReportService.ReportSessionData.contactid, org.openmobileis.examples.mycrm.data.Account.getContactById(), org.openmobileis.examples.mycrm.data.Contact.getReportById(), and org.openmobileis.examples.mycrm.terminal.services.EditReportService.ReportSessionData.report.

String org.openmobileis.examples.mycrm.terminal.services.EditReportService.getDisplayServiceURI (  )  [protected, virtual]

return the URI of the service that display data after the data edition.

ServiceBaseURI is not mandatory

Implements org.openmobileis.services.SimpleEditService.

Definition at line 234 of file EditReportService.java.


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