public class ParameterChangeEvent extends PageEditorEvent
Constructor and Description |
---|
ParameterChangeEvent(java.lang.String pagePath,
java.lang.String componentId,
java.lang.String taskFlowId,
java.lang.String paramName,
java.lang.Object oldValue,
java.lang.Object newValue)
Create a ParameterChange event
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComponentId()
Returns the id of the component that is being edited
|
Event |
getEventType()
Returns the type of this event.
|
java.lang.String |
getMessageDetail()
Returns the detail message
|
javax.faces.application.FacesMessage.Severity |
getMessageSeverity()
Returns the message severity
|
java.lang.String |
getMessageSummary()
Returns the detail summary
|
java.lang.Object |
getNewValue()
Returns the new value of the parameter
|
java.lang.Object |
getOldValue()
Returns the old value of the parameter
|
java.lang.String |
getPagePath()
Returns the page path
|
java.lang.String |
getParamName()
Returns the parameter name whose value is being changed
|
java.lang.String |
getTaskFlowId()
Returns the task flow id
If the component that is being edited is not a region, return null
|
void |
processListener(PageEditorListener listener)
Broadcast this
ParameterChangeEvent to the specified
PageEditorListener , by whatever mechanism is appropriate. |
void |
setMessageDetail(java.lang.String msgDetail)
Set the message detail
|
void |
setMessageSeverity(javax.faces.application.FacesMessage.Severity severity)
Set the message severity
|
void |
setMessageSummary(java.lang.String msgSummary)
Set the message summary
|
void |
setShowMessage(boolean showMsg)
Set the flag which indicates if to show message when no error
|
boolean |
showMessage()
If to show message when no error
|
isEventHandled, setEventHandled
public ParameterChangeEvent(java.lang.String pagePath, java.lang.String componentId, java.lang.String taskFlowId, java.lang.String paramName, java.lang.Object oldValue, java.lang.Object newValue)
public java.lang.String getPagePath()
public java.lang.String getComponentId()
public java.lang.String getTaskFlowId()
public java.lang.String getParamName()
public java.lang.Object getNewValue()
public java.lang.Object getOldValue()
public void setMessageDetail(java.lang.String msgDetail)
msgDetail
- the detail messagepublic java.lang.String getMessageDetail()
public void setMessageSummary(java.lang.String msgSummary)
msgSummary
- the summary messagepublic java.lang.String getMessageSummary()
public void setMessageSeverity(javax.faces.application.FacesMessage.Severity severity)
severity
- the error message severitypublic javax.faces.application.FacesMessage.Severity getMessageSeverity()
public void setShowMessage(boolean showMsg)
showMsg
- the flag which indicates if to show message when no errorpublic boolean showMessage()
public final Event getEventType()
getEventType
in class PageEditorEvent
Event.PARAMETER_CHANGE_EVENT
.public void processListener(PageEditorListener listener) throws javax.faces.event.AbortProcessingException
ParameterChangeEvent
to the specified
PageEditorListener
, by whatever mechanism is appropriate.
This is accomplished by calling processParameterChange
method on
ParameterChangeListener
, and passing this
ParameterChangeEvent
as a parameter.processListener
in class PageEditorEvent
listener
- PageEditorListener
to send this
ParameterChangeEvent
to.javax.faces.event.AbortProcessingException
- Signal Oracle Composer that no further
processing on the current event should be performed.