Errai 3.0.1-SNAPSHOT

org.jboss.errai.otec.client.atomizer
Class EntityChangeStreamImpl

java.lang.Object
  extended by org.jboss.errai.otec.client.atomizer.EntityChangeStreamImpl
All Implemented Interfaces:
EntityChangeStream

public class EntityChangeStreamImpl
extends Object
implements EntityChangeStream

Author:
Mike Brock, Christian Sadilek

Constructor Summary
EntityChangeStreamImpl(OTEngine engine, OTEntity entity)
           
 
Method Summary
 void close()
           
 void flush()
           
 int getEntityId()
           
 void notifyDelete(int index, String data)
           
 void notifyInsert(int index, String data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityChangeStreamImpl

public EntityChangeStreamImpl(OTEngine engine,
                              OTEntity entity)
Method Detail

getEntityId

public int getEntityId()
Specified by:
getEntityId in interface EntityChangeStream

notifyInsert

public void notifyInsert(int index,
                         String data)
Specified by:
notifyInsert in interface EntityChangeStream

notifyDelete

public void notifyDelete(int index,
                         String data)
Specified by:
notifyDelete in interface EntityChangeStream

flush

public void flush()
Specified by:
flush in interface EntityChangeStream

close

public void close()
Specified by:
close in interface EntityChangeStream

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.