Class RevisionInfo
- java.lang.Object
-
- org.eclipse.emf.cdo.spi.common.revision.RevisionInfo
-
- Direct Known Subclasses:
RevisionInfo.Available,RevisionInfo.Missing
public abstract class RevisionInfo extends java.lang.ObjectIf the meaning of this type isn't clear, there really should be more of a description here...- Since:
- 3.0
- Author:
- Eike Stepper
- No Extend
- This class is not intended to be extended by clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRevisionInfo.AvailableIf the meaning of this type isn't clear, there really should be more of a description here...static classRevisionInfo.MissingIf the meaning of this type isn't clear, there really should be more of a description here...static classRevisionInfo.TypeIf the meaning of this type isn't clear, there really should be more of a description here...
-
Constructor Summary
Constructors Modifier Constructor Description protectedRevisionInfo(CDOID id, CDOBranchPoint requestedBranchPoint)protectedRevisionInfo(CDODataInput in, CDOBranchPoint requestedBranchPoint)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected InternalCDORevisiondoReadResult(CDODataInput in)Deprecated.Not called anymore by the frameworkprotected voiddoWriteResult(CDODataOutput out, InternalCDORevision revision, int referenceChunk)Deprecated.Not called anymore by the frameworkvoidexecute(InternalCDORevisionManager revisionManager, int referenceChunk)CDOIDgetID()CDOBranchPointgetRequestedBranchPoint()InternalCDORevisiongetResult()SyntheticCDORevisiongetSynthetic()abstract RevisionInfo.TypegetType()abstract booleanisLoadNeeded()voidprocessResult(InternalCDORevisionManager revisionManager, java.util.List<CDORevision> results, SyntheticCDORevision[] synthetics, int i)static RevisionInforead(CDODataInput in, CDOBranchPoint requestedBranchPoint)voidreadResult(CDODataInput in)static InternalCDORevisionreadResult(CDODataInput in, CDOID id, CDOBranch branch)protected voidreadRevision(CDODataInput in)voidsetResult(InternalCDORevision result)voidsetSynthetic(SyntheticCDORevision synthetic)java.lang.StringtoLongString()java.lang.StringtoString()voidwrite(CDODataOutput out)voidwriteResult(CDODataOutput out, int referenceChunk)Deprecated.Not called anymore by the frameworkvoidwriteResult(CDODataOutput out, int referenceChunk, CDOBranchPoint securityContext)static voidwriteResult(CDODataOutput out, InternalCDORevision revision, boolean writePointerTarget, int referenceChunk, CDOBranchPoint securityContext)static voidwriteResult(CDODataOutput out, InternalCDORevision revision, int referenceChunk)Deprecated.static voidwriteResult(CDODataOutput out, InternalCDORevision revision, int referenceChunk, CDOBranchPoint securityContext)Deprecated.protected voidwriteRevision(CDODataOutput out, int referenceChunk)Deprecated.Not called anymore by the framework.protected voidwriteRevision(CDODataOutput out, int referenceChunk, CDOBranchPoint securityContext)
-
-
-
Constructor Detail
-
RevisionInfo
protected RevisionInfo(CDOID id, CDOBranchPoint requestedBranchPoint)
-
RevisionInfo
protected RevisionInfo(CDODataInput in, CDOBranchPoint requestedBranchPoint) throws java.io.IOException
- Throws:
java.io.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 java.io.IOException
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toLongString
public java.lang.String toLongString()
- Since:
- 4.15
-
read
public static RevisionInfo read(CDODataInput in, CDOBranchPoint requestedBranchPoint) throws java.io.IOException
- Throws:
java.io.IOException
-
execute
public void execute(InternalCDORevisionManager revisionManager, int referenceChunk)
-
writeResult
@Deprecated public void writeResult(CDODataOutput out, int referenceChunk) throws java.io.IOException
Deprecated.Not called anymore by the framework- Throws:
java.io.IOException
-
writeResult
public void writeResult(CDODataOutput out, int referenceChunk, CDOBranchPoint securityContext) throws java.io.IOException
- Throws:
java.io.IOException- Since:
- 4.1
-
readResult
public void readResult(CDODataInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
processResult
public void processResult(InternalCDORevisionManager revisionManager, java.util.List<CDORevision> results, SyntheticCDORevision[] synthetics, int i)
-
writeRevision
@Deprecated protected void writeRevision(CDODataOutput out, int referenceChunk) throws java.io.IOException
Deprecated.Not called anymore by the framework.- Throws:
java.io.IOException
-
writeRevision
protected void writeRevision(CDODataOutput out, int referenceChunk, CDOBranchPoint securityContext) throws java.io.IOException
- Throws:
java.io.IOException- Since:
- 4.1
-
readRevision
protected void readRevision(CDODataInput in) throws java.io.IOException
- Throws:
java.io.IOException
-
writeResult
@Deprecated public static void writeResult(CDODataOutput out, InternalCDORevision revision, int referenceChunk) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException- Since:
- 4.0
-
writeResult
@Deprecated public static void writeResult(CDODataOutput out, InternalCDORevision revision, int referenceChunk, CDOBranchPoint securityContext) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException- Since:
- 4.1
-
writeResult
public static void writeResult(CDODataOutput out, InternalCDORevision revision, boolean writePointerTarget, int referenceChunk, CDOBranchPoint securityContext) throws java.io.IOException
- Throws:
java.io.IOException- Since:
- 4.15
- No Reference
- This method is not intended to be referenced by clients.
-
readResult
public static InternalCDORevision readResult(CDODataInput in, CDOID id, CDOBranch branch) throws java.io.IOException
- Throws:
java.io.IOException- Since:
- 4.0
-
doWriteResult
@Deprecated protected void doWriteResult(CDODataOutput out, InternalCDORevision revision, int referenceChunk) throws java.io.IOException
Deprecated.Not called anymore by the framework- Throws:
java.io.IOException
-
doReadResult
@Deprecated protected InternalCDORevision doReadResult(CDODataInput in) throws java.io.IOException
Deprecated.Not called anymore by the framework- Throws:
java.io.IOException
-
-