Inheritance diagram for org.openmobileis.examples.mycrm.terminal.services.EditContactService:
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.
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 |
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.