|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.notifier.LyEventDecoder
public class LyEventDecoder
This class is used to decode events received from the notification service and update the DataSource.
LyEventConnection
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyEventDecoder(LyEventNotifier notifier,
LyDataSource dataSource)
Default constructor Initialization is done with the init method. |
Method Summary | |
---|---|
LyValueSet |
commitChanges(java.lang.Object object,
LyValueSet values)
Utility method to get and commit the modifications in an object (peer). |
boolean |
receiveCreation(LyObjectId objectId,
LyValueSet values)
Invoked when an object is created. |
boolean |
receiveCreation(java.lang.String id,
LyValueSet values)
Invoked when an object is created. |
boolean |
receiveDeletion(LyObjectId objectId)
Invoked when an object is deleted. |
boolean |
receiveDeletion(java.lang.String id)
Invoked when an object is deleted. |
boolean |
receiveModification(LyObjectId objectId,
LyValueSet values)
Invoked when an object is modified. |
boolean |
receiveModification(java.lang.String id,
LyValueSet values)
Invoked when an object is modified. |
void |
setGroupId(java.lang.String groupId)
Sets group id for this decoder. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyEventDecoder(LyEventNotifier notifier, LyDataSource dataSource)
notifier
- The associated notifier.dataSource
- The dataSource for which an event is decoded.Method Detail |
---|
public void setGroupId(java.lang.String groupId)
groupId
- Id of the group of messages received by this decoder.public boolean receiveModification(java.lang.String id, LyValueSet values)
id
- object identifiervalues
- list of modified values of the object; May be null if not specified.
public boolean receiveModification(LyObjectId objectId, LyValueSet values)
objectId
- object identifiervalues
- list of modified values of the object; May be null if not specified.
public LyValueSet commitChanges(java.lang.Object object, LyValueSet values)
object
- current object being modifiedvalues
- The changed values.
public boolean receiveCreation(java.lang.String id, LyValueSet values)
id
- object identifiervalues
- list of values of the created object; May be null if not specified.
public boolean receiveCreation(LyObjectId objectId, LyValueSet values)
objectId
- object identifiervalues
- list of values of the created object; May be null if not specified.
public boolean receiveDeletion(java.lang.String id)
id
- deleted object id
receiveDeletion(LyObjectId)
public boolean receiveDeletion(LyObjectId objectId)
objectId
- deleted object id
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |