|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.serotonin.m2m2.module.ModuleElementDefinition
com.serotonin.m2m2.module.DataPointChangeDefinition
public abstract class DataPointChangeDefinition
A definition allowing a hook into the data point delete event.
Constructor Summary | |
---|---|
DataPointChangeDefinition()
|
Method Summary | |
---|---|
abstract void |
afterDelete(int dataPointId)
Called immediately after the point is deleted from the database. |
abstract void |
afterInsert(com.serotonin.m2m2.vo.DataPointVO dpvo)
Called immediately after the point is inserted into the database. |
abstract void |
afterUpdate(com.serotonin.m2m2.vo.DataPointVO dpvo)
Called immediately after the point is updated in the database. |
abstract void |
beforeDelete(int dataPointId)
Called immediately before the point is to be deleted from the database. |
abstract void |
beforeInsert(com.serotonin.m2m2.vo.DataPointVO dpvo)
Called immediately before the point is to be inserted into the database. |
abstract void |
beforeUpdate(com.serotonin.m2m2.vo.DataPointVO dpvo)
Called immediately before the point is to be update in the database. |
Methods inherited from class com.serotonin.m2m2.module.ModuleElementDefinition |
---|
getModule, initialize, uninstall |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataPointChangeDefinition()
Method Detail |
---|
public abstract void beforeInsert(com.serotonin.m2m2.vo.DataPointVO dpvo)
dpvo
- the point to be insertedpublic abstract void afterInsert(com.serotonin.m2m2.vo.DataPointVO dpvo)
dpvo
- the point that was insertedpublic abstract void beforeUpdate(com.serotonin.m2m2.vo.DataPointVO dpvo)
dpvo
- the point to be updatedpublic abstract void afterUpdate(com.serotonin.m2m2.vo.DataPointVO dpvo)
dpvo
- the point that was updatedpublic abstract void beforeDelete(int dataPointId)
dataPointId
- the point to be deletedpublic abstract void afterDelete(int dataPointId)
dataPointId
- the point that was deleted
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |