|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Central interface into the Service Layer of the web application
Method Summary | |
org.apache.ojb.broker.metadata.ClassDescriptor |
getAssociatedClassDescriptor(org.apache.struts.action.ActionForm form,
HttpServletRequest request)
Convenience method for finding a class descriptor from a url query string |
ConfigService |
getConfigService()
Returns the config service which provides an abstraction for the OJBC.xml configruation model |
ConnectionService |
getConnectionService()
Returns the connection service which provides an abstraction for working directly with a java.sql.Connection. |
FormService |
getFormService()
Returns the form service which provides an abstraction for common http related logic |
java.lang.String |
getMessage(java.util.Locale loc,
java.lang.String key)
Convenience method for getting a localized message |
MetaDataService |
getMetaDataService()
Returns the MetaDataService which is an abstraction above the OJB MetaData |
ObjectService |
getObjectService()
Returns the object service which provides an abstraction for OJB persistence |
UiMetaDataService |
getUiMetaDataService()
Returns the UI MetaData Service which provides logic for the ui_repository.xml configuration model |
UserService |
getUserService()
Returns the user service which provides an abstraction for dealing with User Session objects |
Method Detail |
public ObjectService getObjectService() throws ServiceException
ObjectService
value
ServiceException
- if an error occurspublic MetaDataService getMetaDataService() throws ServiceException
MetaDataService
value
ServiceException
- if an error occurspublic UserService getUserService() throws ServiceException
UserService
value
ServiceException
- if an error occurspublic ConfigService getConfigService() throws ServiceException
ConfigService
value
ServiceException
- if an error occurspublic FormService getFormService() throws ServiceException
FormService
value
ServiceException
- if an error occurspublic ConnectionService getConnectionService() throws ServiceException
ConnectionService
value
ServiceException
- if an error occurspublic java.lang.String getMessage(java.util.Locale loc, java.lang.String key) throws ServiceException
loc
- a Locale
valuekey
- a String
value
String
value
ServiceException
- if an error occurspublic UiMetaDataService getUiMetaDataService() throws ServiceException
UiMetaDataService
value
ServiceException
- if an error occurspublic org.apache.ojb.broker.metadata.ClassDescriptor getAssociatedClassDescriptor(org.apache.struts.action.ActionForm form, HttpServletRequest request) throws ServiceException
ServiceException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |