public class WebClientEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
CANCEL_EVENT |
static int |
ERROR_CHECKED_APP |
static int |
ERROR_CHECKED_NONE |
static int |
ERROR_CHECKED_PAGE |
static int |
PROCESS_EVENT |
Constructor and Description |
---|
WebClientEvent(java.lang.String type,
java.lang.String targetId,
java.lang.Object value,
SessionContext sessionContext)
Deprecated.
FIREFOX
|
WebClientEvent(java.lang.String type,
java.lang.String targetId,
java.lang.Object value,
java.lang.String row,
java.lang.String additionalEvent,
long uniqueid,
SessionContext sessionContext)
Deprecated.
FIREFOX
|
WebClientEvent(java.lang.String type,
java.lang.String targetId,
java.lang.Object value,
java.lang.String row,
java.lang.String additionalEvent,
long uniqueid,
WebClientSession wcs) |
WebClientEvent(java.lang.String type,
java.lang.String targetId,
java.lang.Object value,
java.lang.String row,
java.lang.String additionalEvent,
java.lang.String additionalEventValue,
long uniqueid,
WebClientSession wcs) |
WebClientEvent(java.lang.String type,
java.lang.String targetId,
java.lang.Object value,
java.lang.String row,
java.lang.String additionalEvent,
java.lang.String additionalEventValue,
long uniqueid,
WebClientSession wcs,
BaseInstance creatingInstance) |
WebClientEvent(java.lang.String type,
java.lang.String targetId,
java.lang.Object value,
java.lang.String row,
WebClientSession wcs) |
WebClientEvent(java.lang.String type,
java.lang.String targetId,
java.lang.Object value,
WebClientSession wcs) |
WebClientEvent(java.lang.String type,
java.lang.String targetId,
java.lang.Object value,
WebClientSession wcs,
ComponentInstance source)
Use this constructor to create an event and force it's source component and control
|
Modifier and Type | Method and Description |
---|---|
void |
addParameter(java.lang.Object key,
java.lang.Object value) |
void |
cancelRender() |
boolean |
canRender() |
boolean |
conditionalReqChecked()
Returns true if conditionally required fields have already been checked for this event.
|
java.lang.String |
getAdditionalEvent() |
java.lang.String |
getAdditionalEventValue() |
java.util.Map<java.lang.String,java.lang.Object> |
getEventMap() |
int |
getEventStatus() |
int |
getLevelCheckedForErrors()
Returns the if the aysnc errors were check on the current page (if a dialog) or were
checked on the app level.
|
int |
getMessageReturn() |
java.lang.String |
getMessageReturnId() |
java.lang.Object |
getParameter(java.lang.Object key)
get a parameter from this event.
|
java.util.Hashtable<java.lang.Object,java.lang.Object> |
getParameters() |
java.lang.String |
getRequestType() |
int |
getRow() |
SessionContext |
getSessionContext()
Deprecated.
FIREFOX
|
ComponentInstance |
getSourceComponentInstance() |
ControlHandler |
getSourceControl()
Deprecated.
FIREFOX
|
ControlInstance |
getSourceControlInstance()
Returns the ControlHandler that created the event
|
java.lang.String |
getTargetId() |
java.lang.Object |
getTransformedValue() |
java.lang.String |
getType() |
long |
getUniqueId() |
java.lang.Object |
getValue() |
java.lang.String |
getValueString() |
WebClientSession |
getWebClientSession()
Get the
WebClientSession from the event |
boolean |
hasTransformedValue() |
boolean |
isClientEvent()
Returns if this event came from the client.
|
boolean |
isPassedSigCheck() |
void |
setAdditionalEvent(java.lang.String event) |
void |
setAdditionalEventValue(java.lang.String eventValue) |
void |
setClientEvent(boolean clientEvent) |
void |
setConditionalReqChecked(boolean conditionalReqChecked) |
void |
setEventMap(java.util.Map<java.lang.String,java.lang.Object> eventMap) |
void |
setLevelCheckedForErrors(int level)
Sets the what level the async errors were checked; page (ERROR_CHECKED_PAGE)
or app (ERROR_CHECKED_APP).
|
void |
setMessageReturn(int msgReturn) |
void |
setMessageReturnId(java.lang.String msgReturnId) |
void |
setPassedSigCheck(boolean passedSigCheck) |
void |
setProcessed() |
void |
setRequestType(java.lang.String requestType) |
void |
setRow(int row) |
void |
setSourceComponent(ComponentInstance sourceComponent) |
void |
setSourceControl(ControlHandler sourceControl)
Deprecated.
FIREFOX
|
void |
setSourceControl(ControlInstance sourceControl)
Overrides ControlInstance that created the event.
|
void |
setStatus(int eventStatus) |
void |
setTransformedValue(java.lang.Object transformedValue) |
void |
setValue(java.lang.Object eventvalue) |
java.lang.String |
toString() |
boolean |
wasProcessed() |
public static final int PROCESS_EVENT
public static final int CANCEL_EVENT
public static final int ERROR_CHECKED_NONE
public static final int ERROR_CHECKED_PAGE
public static final int ERROR_CHECKED_APP
public WebClientEvent(java.lang.String type, java.lang.String targetId, java.lang.Object value, WebClientSession wcs)
public WebClientEvent(java.lang.String type, java.lang.String targetId, java.lang.Object value, java.lang.String row, WebClientSession wcs)
public WebClientEvent(java.lang.String type, java.lang.String targetId, java.lang.Object value, java.lang.String row, java.lang.String additionalEvent, long uniqueid, WebClientSession wcs)
public WebClientEvent(java.lang.String type, java.lang.String targetId, java.lang.Object value, java.lang.String row, java.lang.String additionalEvent, java.lang.String additionalEventValue, long uniqueid, WebClientSession wcs)
public WebClientEvent(java.lang.String type, java.lang.String targetId, java.lang.Object value, java.lang.String row, java.lang.String additionalEvent, java.lang.String additionalEventValue, long uniqueid, WebClientSession wcs, BaseInstance creatingInstance)
public WebClientEvent(java.lang.String type, java.lang.String targetId, java.lang.Object value, WebClientSession wcs, ComponentInstance source)
public WebClientEvent(java.lang.String type, java.lang.String targetId, java.lang.Object value, SessionContext sessionContext)
public WebClientEvent(java.lang.String type, java.lang.String targetId, java.lang.Object value, java.lang.String row, java.lang.String additionalEvent, long uniqueid, SessionContext sessionContext)
public ControlInstance getSourceControlInstance()
public ControlHandler getSourceControl()
getSourceControlInstance()
public void setSourceControl(ControlInstance sourceControl)
public void setSourceControl(ControlHandler sourceControl)
public ComponentInstance getSourceComponentInstance()
public void setSourceComponent(ComponentInstance sourceComponent)
public java.lang.String getType()
public java.lang.String getTargetId()
public java.lang.Object getValue()
public int getRow()
public java.lang.String getValueString()
public void setValue(java.lang.Object eventvalue)
public int getEventStatus()
public void setStatus(int eventStatus)
public void addParameter(java.lang.Object key, java.lang.Object value)
public java.util.Hashtable<java.lang.Object,java.lang.Object> getParameters()
public WebClientSession getWebClientSession()
WebClientSession
from the eventpublic int getMessageReturn()
public void setMessageReturn(int msgReturn)
public java.lang.String getMessageReturnId()
public void setMessageReturnId(java.lang.String msgReturnId)
public boolean wasProcessed()
public void setProcessed()
b
- public java.lang.String getAdditionalEvent()
public long getUniqueId()
public java.lang.String getAdditionalEventValue()
public void setRow(int row)
public SessionContext getSessionContext()
getWebClientSession()
public void cancelRender()
public boolean canRender()
public boolean isPassedSigCheck()
public void setPassedSigCheck(boolean passedSigCheck)
public void setAdditionalEventValue(java.lang.String eventValue)
public void setAdditionalEvent(java.lang.String event)
public void setTransformedValue(java.lang.Object transformedValue)
public java.lang.Object getTransformedValue()
public boolean hasTransformedValue()
public java.lang.Object getParameter(java.lang.Object key)
key
- public java.lang.String toString()
toString
in class java.lang.Object
public int getLevelCheckedForErrors()
public void setLevelCheckedForErrors(int level)
errorsChecked
- the errorsChecked to setpublic boolean conditionalReqChecked()
public void setConditionalReqChecked(boolean conditionalReqChecked)
conditionalReqChecked
- the conditionalReqChecked to setpublic java.lang.String getRequestType()
public void setRequestType(java.lang.String requestType)
requestType
- the requestType to setpublic java.util.Map<java.lang.String,java.lang.Object> getEventMap()
public void setEventMap(java.util.Map<java.lang.String,java.lang.Object> eventMap)
eventMap
- the eventMap from client side queued JSONArray to setpublic boolean isClientEvent()
public void setClientEvent(boolean clientEvent)
clientEvent
- true if the event came from the client. false if not.