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

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

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 56 of file EditContactService.java.

Public Member Functions

 EditContactService ()
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  ContactSessionData


Member Function Documentation

Object org.openmobileis.examples.mycrm.terminal.services.EditContactService.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 153 of file EditContactService.java.

References org.openmobileis.examples.mycrm.terminal.services.EditContactService.ContactSessionData.accountid, org.openmobileis.examples.mycrm.terminal.services.EditContactService.ContactSessionData.contact, and org.openmobileis.examples.mycrm.data.Account.getContactById().

String org.openmobileis.examples.mycrm.terminal.services.EditContactService.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 178 of file EditContactService.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