Interface CDODataOutput
- All Superinterfaces:
DataOutput
,org.eclipse.net4j.util.io.ExtendedDataOutput
- All Known Implementing Classes:
CDODataOutputImpl
public interface CDODataOutput
extends org.eclipse.net4j.util.io.ExtendedDataOutput
Provides I/O methods for writing various CDO data types and concepts to streams.
- Since:
- 3.0
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.io.ExtendedDataOutput
org.eclipse.net4j.util.io.ExtendedDataOutput.Delegating, org.eclipse.net4j.util.io.ExtendedDataOutput.Stream
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeCDOBranch
(CDOBranch branch) void
writeCDOBranchPoint
(CDOBranchPoint branchPoint) void
writeCDOBranchVersion
(CDOBranchVersion branchVersion) void
writeCDOChangeSetData
(CDOChangeSetData changeSetData) void
writeCDOClassifierRef
(CDOClassifierRef eClassifierRef) void
writeCDOClassifierRef
(EClassifier eClassifier) void
writeCDOCommitData
(CDOCommitData commitData) void
writeCDOCommitInfo
(CDOCommitInfo commitInfo) void
writeCDOFeatureDelta
(EClass owner, CDOFeatureDelta featureDelta) void
writeCDOFeatureValue
(EStructuralFeature feature, Object value) void
writeCDOID
(CDOID id) void
writeCDOIDAndBranch
(CDOIDAndBranch idAndBranch) void
writeCDOIDAndVersion
(CDOIDAndVersion idAndVersion) void
writeCDOIDReference
(CDOIDReference idReference) void
writeCDOList
(EClass owner, EStructuralFeature feature, CDOList list, int referenceChunk) void
void
writeCDOLockChangeInfo
(CDOLockChangeInfo lockChangeInfo) void
writeCDOLockChangeInfo
(CDOLockChangeInfo lockChangeInfo, Set<CDOID> filter) void
writeCDOLockDelta
(CDOLockDelta lockDelta) default void
writeCDOLockDeltas
(List<CDOLockDelta> lockDeltas, Predicate<CDOLockDelta> filter) void
writeCDOLockOwner
(CDOLockOwner lockOwner) void
writeCDOLockState
(CDOLockState lockState) default void
writeCDOLockStates
(List<CDOLockState> lockStates, Predicate<CDOLockState> filter) void
writeCDOLockType
(org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType) void
writeCDOPackageInfo
(CDOPackageInfo packageInfo) void
writeCDOPackageUnit
(CDOPackageUnit packageUnit, boolean withPackages) void
writeCDOPackageUnits
(CDOPackageUnit... packageUnit) void
void
writeCDOPackageURI
(String uri) void
writeCDORevisable
(CDORevisable revisable) void
writeCDORevision
(CDORevision revision, int referenceChunk) void
writeCDORevision
(CDORevision revision, int referenceChunk, CDOBranchPoint securityContext) void
writeCDORevisionDelta
(CDORevisionDelta revisionDelta) void
writeCDORevisionKey
(CDORevisionKey revisionKey) void
Write either a CDORevision or a primitive value.void
Write either a CDORevision, a primitive value or a EClass.void
writeCDOType
(CDOType cdoType) void
writeXInt
(int v) void
writeXLong
(long v) Methods inherited from interface java.io.DataOutput
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
Methods inherited from interface org.eclipse.net4j.util.io.ExtendedDataOutput
writeByteArray, writeEnum, writeException, writeObject, writeString, writeVarInt, writeVarLong
-
Method Details
-
writeXInt
- Throws:
IOException
- Since:
- 4.6
-
writeXLong
- Throws:
IOException
- Since:
- 4.6
-
getSession
CDOCommonSession getSession()- Since:
- 4.18
-
getPackageRegistry
CDOPackageRegistry getPackageRegistry() -
getIDProvider
CDOIDProvider getIDProvider() -
getPermissionProvider
CDOPermissionProvider getPermissionProvider()- Since:
- 4.1
-
getRevisionUnchunker
CDORevisionUnchunker getRevisionUnchunker()- Since:
- 4.3
-
writeCDOPackageUnit
- Throws:
IOException
-
writeCDOPackageUnits
- Throws:
IOException
-
writeCDOPackageUnitType
- Throws:
IOException
-
writeCDOPackageInfo
- Throws:
IOException
-
writeCDOClassifierRef
- Throws:
IOException
-
writeCDOClassifierRef
- Throws:
IOException
-
writeCDOPackageURI
- Throws:
IOException
-
writeCDOType
- Throws:
IOException
-
writeCDOBranch
- Throws:
IOException
-
writeCDOBranchPoint
- Throws:
IOException
-
writeCDOBranchVersion
- Throws:
IOException
-
writeCDOChangeSetData
- Throws:
IOException
-
writeCDOCommitData
- Throws:
IOException
-
writeCDOCommitInfo
- Throws:
IOException
-
writeCDOID
- Throws:
IOException
-
writeCDOIDReference
- Throws:
IOException
- Since:
- 4.0
-
writeCDOIDAndVersion
- Throws:
IOException
- Since:
- 4.0
-
writeCDOIDAndBranch
- Throws:
IOException
- Since:
- 4.0
-
writeCDORevisionKey
- Throws:
IOException
-
writeCDORevision
- Throws:
IOException
-
writeCDORevision
void writeCDORevision(CDORevision revision, int referenceChunk, CDOBranchPoint securityContext) throws IOException - Throws:
IOException
- Since:
- 4.1
-
writeCDORevisable
- Throws:
IOException
- Since:
- 4.0
-
writeCDOList
void writeCDOList(EClass owner, EStructuralFeature feature, CDOList list, int referenceChunk) throws IOException - Throws:
IOException
-
writeCDOFeatureValue
- Throws:
IOException
-
writeCDORevisionDelta
- Throws:
IOException
-
writeCDOFeatureDelta
- Throws:
IOException
-
writeCDORevisionOrPrimitive
Write either a CDORevision or a primitive value.- Throws:
IOException
-
writeCDORevisionOrPrimitiveOrClassifier
Write either a CDORevision, a primitive value or a EClass.- Throws:
IOException
-
writeCDOLockType
void writeCDOLockType(org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType) throws IOException - Throws:
IOException
-
writeCDOLockChangeInfo
- Throws:
IOException
- Since:
- 4.1
-
writeCDOLockChangeInfo
- Throws:
IOException
- Since:
- 4.12
-
writeCDOLockState
- Throws:
IOException
- Since:
- 4.1
-
writeCDOLockStates
default void writeCDOLockStates(List<CDOLockState> lockStates, Predicate<CDOLockState> filter) throws IOException - Throws:
IOException
- Since:
- 4.15
-
writeCDOLockDelta
- Throws:
IOException
- Since:
- 4.15
-
writeCDOLockDeltas
default void writeCDOLockDeltas(List<CDOLockDelta> lockDeltas, Predicate<CDOLockDelta> filter) throws IOException - Throws:
IOException
- Since:
- 4.15
-
writeCDOLockOwner
- Throws:
IOException
- Since:
- 4.1
-
writeCDOLockArea
- Throws:
IOException
- Since:
- 4.1
-