|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dhtmlx.connector.ConnectorBehavior
public class ConnectorBehavior
The Class ConnectorBehavior. Class represents the system of server side events, which can be used to configure how connector must process select and update requests.
Constructor Summary | |
---|---|
ConnectorBehavior()
Instantiates a new connector behavior. |
Method Summary | |
---|---|
void |
afterDBError(DataAction action,
java.lang.Throwable e)
After DB error event Occurs in update mode, after some DB error Related error object is provided as parameter of the called method. |
void |
afterDelete(DataAction action)
After delete event Occurs in update mode, after deleting record from DB Event logic called for each updated record. |
void |
afterInsert(DataAction action)
After insert event Occurs in update mode, after inserting record in DB Event logic called for each updated record. |
void |
afterProcessing(DataAction action)
After processing event Occurs in update mode, after execution any DB operations. |
void |
afterUpdate(DataAction action)
After update event Occurs in update mode, after updating record in DB Event logic called for each updated record. |
void |
attach(ConnectorBehavior custom)
Attach new behavior |
void |
beforeDelete(DataAction action)
Before delete event Occurs in update mode, before deleting record from DB Event logic called for each updated record. |
void |
beforeFilter(java.util.ArrayList<FilteringRule> filters)
Before filter event Occurs in selection mode, when incoming request parsed and before data selection from DB |
void |
beforeInsert(DataAction action)
Before insert event Occurs in update mode, before inserting record in DB Event logic called for each updated record. |
void |
beforeOutput(ConnectorOutputWriter out,
javax.servlet.http.HttpServletRequest http_request,
javax.servlet.http.HttpServletResponse http_response)
Before output event Event occurs before rendering output of connector. |
void |
beforeProcessing(DataAction action)
Before processing event Occurs in update mode, before execution any DB operations. |
void |
beforeRender(DataItem data)
Before render event Occurs in selection mode. |
void |
beforeSort(java.util.ArrayList<SortingRule> sorters)
Before sort event Occurs in selection mode, when incoming request parsed and before data selection from DB |
void |
beforeUpdate(DataAction action)
Before update event Occurs in update mode, before updating record in DB Event logic called for each updated record. |
ConnectorBehavior |
trigger()
Trigger event |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectorBehavior()
Method Detail |
---|
public void attach(ConnectorBehavior custom)
custom
- the custom behaviorpublic ConnectorBehavior trigger()
public void beforeSort(java.util.ArrayList<SortingRule> sorters)
public void beforeFilter(java.util.ArrayList<FilteringRule> filters)
public void beforeRender(DataItem data)
data
- the data itempublic void beforeProcessing(DataAction action)
action
- the data actionpublic void afterDBError(DataAction action, java.lang.Throwable e)
action
- the data actionpublic void afterProcessing(DataAction action)
action
- the data actionpublic void beforeDelete(DataAction action)
action
- the data actionpublic void beforeInsert(DataAction action)
action
- the data actionpublic void beforeUpdate(DataAction action)
action
- the data actionpublic void afterDelete(DataAction action)
action
- the data actionpublic void afterInsert(DataAction action)
action
- the data actionpublic void afterUpdate(DataAction action)
action
- the data actionpublic void beforeOutput(ConnectorOutputWriter out, javax.servlet.http.HttpServletRequest http_request, javax.servlet.http.HttpServletResponse http_response)
out
- xml stringhttp_request
- the http request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |