Expresso 5-6

com.jcorporate.expresso.core.dbobj
Interface RequestContext

All Known Implementing Classes:
ControllerRequest

public interface RequestContext

Cleanup refactoring interface to remove dependency on ControllerRequest from a DBOBject

Author:
Michael Rimov

Method Summary
 String getDBName()
          See @com.jcorporate.expresso.core.controller.ControllerRequest for an implementation example of this interface.
 Locale getLocale()
          See @com.jcorporate.expresso.core.controller.ControllerRequest for an implementation example of this interface.
 int getUid()
          See @com.jcorporate.expresso.core.controller.ControllerRequest for an implementation example of this interface.
 

Method Detail

getLocale

public Locale getLocale()
See @com.jcorporate.expresso.core.controller.ControllerRequest for an implementation example of this interface.

Returns:
the Locale of the current request.

getDBName

public String getDBName()
See @com.jcorporate.expresso.core.controller.ControllerRequest for an implementation example of this interface.

Returns:
the database context name requested.

getUid

public int getUid()
See @com.jcorporate.expresso.core.controller.ControllerRequest for an implementation example of this interface.

Returns:
the UID of the current user in the request.

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.