Errai 3.0.1-SNAPSHOT

org.jboss.errai.otec.client.operation
Interface OTOperation

All Superinterfaces:
Comparable<OTOperation>
All Known Implementing Classes:
OTOperationImpl

public interface OTOperation
extends Comparable<OTOperation>

Author:
Christian Sadilek , Mike Brock

Method Summary
 boolean apply(OTEntity entity)
           
 boolean apply(OTEntity entity, boolean transiently)
           
 String getAgentId()
           
 OTOperation getBasedOn(int revision)
           
 OTEngine getEngine()
           
 int getEntityId()
           
 int getLastRevisionTx()
           
 List<Mutation> getMutations()
           
 OTOperation getOuterPath()
           
 int getRevision()
           
 String getRevisionHash()
           
 OpPair getTransformedFrom()
           
 void invalidate()
           
 boolean isCanon()
           
 boolean isNoop()
           
 boolean isResolvedConflict()
           
 boolean isValid()
           
 void markAsResolvedConflict()
           
 void removeFromCanonHistory()
           
 void setOuterPath(OTOperation outerPath)
           
 boolean shouldPropagate()
           
 void unmarkAsResolvedConflict()
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getMutations

List<Mutation> getMutations()

getEntityId

int getEntityId()

getRevision

int getRevision()

getRevisionHash

String getRevisionHash()

shouldPropagate

boolean shouldPropagate()

apply

boolean apply(OTEntity entity)

apply

boolean apply(OTEntity entity,
              boolean transiently)

getEngine

OTEngine getEngine()

isNoop

boolean isNoop()

getBasedOn

OTOperation getBasedOn(int revision)

isCanon

boolean isCanon()

isResolvedConflict

boolean isResolvedConflict()

removeFromCanonHistory

void removeFromCanonHistory()

markAsResolvedConflict

void markAsResolvedConflict()

unmarkAsResolvedConflict

void unmarkAsResolvedConflict()

getTransformedFrom

OpPair getTransformedFrom()

getAgentId

String getAgentId()

getOuterPath

OTOperation getOuterPath()

setOuterPath

void setOuterPath(OTOperation outerPath)

isValid

boolean isValid()

invalidate

void invalidate()

getLastRevisionTx

int getLastRevisionTx()

Errai 3.0.1-SNAPSHOT

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