|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PluggableActionResponse
Interface for the response of a pluggable action. Pluggable actions may set response parameters and a feedback message.
Method Summary | |
---|---|
javax.portlet.ActionResponse |
getActionResponse()
Get the action response of the handled portlet action, may be null when the pluggable action is done in the render phase or in the serve resource phase |
String |
getFeedbackMessage()
Get the feedback message |
Map |
getFeedbackParameters()
Get all set feedback parameters |
Object |
getParameter(String key)
Get the value of the parameter identified by key |
Set |
getParameterNames()
Get the set of parameter keys |
javax.portlet.ResourceResponse |
getResourceResponse()
Get the resource response of the handled portlet action, may be null when the pluggable action is done in the render phase or in the action phase |
boolean |
isParameterSet(String key)
Check whether the parameter identified by key is set |
void |
setFeedbackMessage(String feedbackMessage)
Set a new feedback message |
void |
setFeedbackMessageParameter(String key,
Object value)
Set a feedback message parameter |
void |
setParameter(String key,
Object value)
Set the parameter to the given value |
void |
unsetParameter(String key)
Unset the parameter (set it to null) |
Method Detail |
---|
String getFeedbackMessage()
void setFeedbackMessage(String feedbackMessage)
feedbackMessage
- The feedbackMessage to set.void setFeedbackMessageParameter(String key, Object value)
key
- key of the message parametervalue
- value of the message parameterMap getFeedbackParameters()
Object getParameter(String key)
key
- key of the parameter
boolean isParameterSet(String key)
key
- key of the parameter
Set getParameterNames()
void setParameter(String key, Object value)
key
- key of the parametervalue
- new value of the parameter, null unsets the parametervoid unsetParameter(String key)
key
- key of the parameterjavax.portlet.ActionResponse getActionResponse()
javax.portlet.ResourceResponse getResourceResponse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |