|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines an object to provide client request information. An
IPMRequest
object provides parameter name and values received
from an input stream. This interface serves as a thin-layer wrapper
around a ServletRequest
object, but allows the engine to
remain loosely coupled to whatever request transport mechanism is
currently being employed.
The UI layer bundled with the engine currently uses an object that
implements this interface when passing the request through to a field's
update
method. Users may find it helpful to use the
PMRequestFactory
class to create a request object from an
HttpServletRequest
.
com.netscape.pm.model.PMRequest
,
PMRequestFactory
Method Summary | |
java.lang.String |
getAuthenticatedUserId()
Returns the authentication user id for this session. |
java.lang.String |
getParameter(java.lang.String name)
Returns the value for the specified parameter. |
boolean |
isParameterDefined(java.lang.String name)
Returns true if the parameter is defined. |
Method Detail |
public java.lang.String getParameter(java.lang.String name) throws PMException
name
- the name of the parameterPMException
- if no such parameter exists.public boolean isParameterDefined(java.lang.String name)
name
- the name of the parametertrue
if the parameter is defined;
false
otherwise.public java.lang.String getAuthenticatedUserId() throws PMException
PMException
- if no such parameter exists.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |