org.eclipse.emf.cdo.spi.common.revision
Class RevisionInfo

java.lang.Object
  extended by org.eclipse.emf.cdo.spi.common.revision.RevisionInfo
Direct Known Subclasses:
RevisionInfo.Available, RevisionInfo.Missing

public abstract class RevisionInfo
extends Object

Since:
3.0

Nested Class Summary
static class RevisionInfo.Available
           
static class RevisionInfo.Missing
           
static class RevisionInfo.Type
           
 
Constructor Summary
protected RevisionInfo(CDODataInput in, CDOBranchPoint requestedBranchPoint)
           
protected RevisionInfo(CDOID id, CDOBranchPoint requestedBranchPoint)
           
 
Method Summary
protected  InternalCDORevision doReadResult(CDODataInput in)
          Deprecated. Not called anymore by the framework
protected  void doWriteResult(CDODataOutput out, InternalCDORevision revision, int referenceChunk)
          Deprecated. Not called anymore by the framework
 void execute(InternalCDORevisionManager revisionManager, int referenceChunk)
           
 CDOID getID()
           
 CDOBranchPoint getRequestedBranchPoint()
           
 InternalCDORevision getResult()
           
 SyntheticCDORevision getSynthetic()
           
abstract  RevisionInfo.Type getType()
           
abstract  boolean isLoadNeeded()
           
 void processResult(InternalCDORevisionManager revisionManager, List<CDORevision> results, SyntheticCDORevision[] synthetics, int i)
           
static RevisionInfo read(CDODataInput in, CDOBranchPoint requestedBranchPoint)
           
 void readResult(CDODataInput in)
           
static InternalCDORevision readResult(CDODataInput in, CDOID id, CDOBranch branch)
           
protected  void readRevision(CDODataInput in)
           
 void setResult(InternalCDORevision result)
           
 void setSynthetic(SyntheticCDORevision synthetic)
           
 void write(CDODataOutput out)
           
 void writeResult(CDODataOutput out, int referenceChunk)
          Deprecated. Not called anymore by the framework
 void writeResult(CDODataOutput out, int referenceChunk, CDOBranchPoint securityContext)
           
static void writeResult(CDODataOutput out, InternalCDORevision revision, int referenceChunk)
          Deprecated. Call writeResult(CDODataOutput, InternalCDORevision, int, CDOBranchPoint)
static void writeResult(CDODataOutput out, InternalCDORevision revision, int referenceChunk, CDOBranchPoint securityContext)
           
protected  void writeRevision(CDODataOutput out, int referenceChunk)
          Deprecated. Not called anymore by the framework
protected  void writeRevision(CDODataOutput out, int referenceChunk, CDOBranchPoint securityContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RevisionInfo

protected RevisionInfo(CDOID id,
                       CDOBranchPoint requestedBranchPoint)

RevisionInfo

protected RevisionInfo(CDODataInput in,
                       CDOBranchPoint requestedBranchPoint)
                throws IOException
Throws:
IOException
Method Detail

getType

public abstract RevisionInfo.Type getType()

getID

public final CDOID getID()

getRequestedBranchPoint

public final CDOBranchPoint getRequestedBranchPoint()

getResult

public InternalCDORevision getResult()

setResult

public void setResult(InternalCDORevision result)

getSynthetic

public SyntheticCDORevision getSynthetic()

setSynthetic

public void setSynthetic(SyntheticCDORevision synthetic)

isLoadNeeded

public abstract boolean isLoadNeeded()

write

public void write(CDODataOutput out)
           throws IOException
Throws:
IOException

read

public static RevisionInfo read(CDODataInput in,
                                CDOBranchPoint requestedBranchPoint)
                         throws IOException
Throws:
IOException

execute

public void execute(InternalCDORevisionManager revisionManager,
                    int referenceChunk)

writeResult

@Deprecated
public void writeResult(CDODataOutput out,
                                   int referenceChunk)
                 throws IOException
Deprecated. Not called anymore by the framework

Throws:
IOException

writeResult

public void writeResult(CDODataOutput out,
                        int referenceChunk,
                        CDOBranchPoint securityContext)
                 throws IOException
Throws:
IOException
Since:
4.1

readResult

public void readResult(CDODataInput in)
                throws IOException
Throws:
IOException

processResult

public void processResult(InternalCDORevisionManager revisionManager,
                          List<CDORevision> results,
                          SyntheticCDORevision[] synthetics,
                          int i)

writeRevision

@Deprecated
protected void writeRevision(CDODataOutput out,
                                        int referenceChunk)
                      throws IOException
Deprecated. Not called anymore by the framework

Throws:
IOException

writeRevision

protected void writeRevision(CDODataOutput out,
                             int referenceChunk,
                             CDOBranchPoint securityContext)
                      throws IOException
Throws:
IOException
Since:
4.1

readRevision

protected void readRevision(CDODataInput in)
                     throws IOException
Throws:
IOException

writeResult

@Deprecated
public static void writeResult(CDODataOutput out,
                                          InternalCDORevision revision,
                                          int referenceChunk)
                        throws IOException
Deprecated. Call writeResult(CDODataOutput, InternalCDORevision, int, CDOBranchPoint)

Throws:
IOException
Since:
4.0

writeResult

public static void writeResult(CDODataOutput out,
                               InternalCDORevision revision,
                               int referenceChunk,
                               CDOBranchPoint securityContext)
                        throws IOException
Throws:
IOException
Since:
4.1

readResult

public static InternalCDORevision readResult(CDODataInput in,
                                             CDOID id,
                                             CDOBranch branch)
                                      throws IOException
Throws:
IOException
Since:
4.0

doWriteResult

@Deprecated
protected void doWriteResult(CDODataOutput out,
                                        InternalCDORevision revision,
                                        int referenceChunk)
                      throws IOException
Deprecated. Not called anymore by the framework

Throws:
IOException

doReadResult

@Deprecated
protected InternalCDORevision doReadResult(CDODataInput in)
                                    throws IOException
Deprecated. Not called anymore by the framework

Throws:
IOException


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.