
public interface InternalCDORevision extends CDORevision, CDORevisionData, CDOReferenceAdjustable
DEPTH_INFINITE, DEPTH_NONE, FIRST_VERSION, MAIN_BRANCH_ID, PERMISSION_PROVIDER, UNCHUNKEDINVALID_DATE, UNSPECIFIED_DATEUNSPECIFIED_VERSIONNILdata, getEClass, getPermission, isHistorical, isReadable, isResource, isResourceFolder, isResourceNode, isValid, isValid, isWritable, mergegetVersiongetIDgetRevisedgetTimeStampgetVersionaccept, accept, contains, get, getContainerID, getContainingFeatureID, getResourceID, hashCode, indexOf, isEmpty, lastIndexOf, revision, size, toArray, toArrayadjustReferencesInternalCDOClassInfo getClassInfo()
getClassInfo in interface CDORevisionInternalCDOBranch getBranch()
CDOBranchVersiongetBranch in interface CDOBranchPointgetBranch in interface CDOBranchVersionInternalCDORevision getRevisionForID(CDOID id)
InternalCDORevision getProperRevision()
void setID(CDOID id)
void setVersion(int version)
void setBranchPoint(CDOBranchPoint branchPoint)
void setRevised(long revised)
void setResourceID(CDOID resourceID)
void setContainerID(Object containerID)
void setContainingFeatureID(int containingFeatureID)
void adjustForCommit(CDOBranch branch, long timeStamp)
void add(EStructuralFeature feature, int index, Object value)
void clear(EStructuralFeature feature)
Object move(EStructuralFeature feature, int targetIndex, int sourceIndex)
Object remove(EStructuralFeature feature, int index)
Object set(EStructuralFeature feature, int index, Object value)
void unset(EStructuralFeature feature)
Object getValue(EStructuralFeature feature)
CDORevisionData.NILObject setValue(EStructuralFeature feature, Object value)
void setList(EStructuralFeature feature, InternalCDOList list)
CDOList getList(EStructuralFeature feature)
CDOList getList(EStructuralFeature feature, int initialCapacity)
initialCapacity - the initialCapacity of a new list to be created if this revision has no list so far (its size will always
be 0), or -1 to skip list creation and return null in this case.void read(CDODataInput in) throws IOException
IOExceptionboolean readValues(CDODataInput in) throws IOException
IOExceptionvoid write(CDODataOutput out, int referenceChunk) throws IOException
IOExceptionvoid write(CDODataOutput out, int referenceChunk, CDOBranchPoint securityContext) throws IOException
IOExceptionvoid writeValues(CDODataOutput out, int referenceChunk) throws IOException
IOExceptionvoid convertEObjects(CDOIDProvider oidProvider)
InternalCDORevisionDelta compare(CDORevision origin)
compare in interface CDORevisionInternalCDORevision copy()
copy in interface CDORevisionEStructuralFeature[] clearValues()
String getResourceNodeName()
void setPermission(CDOPermission permission)
boolean bypassPermissionChecks(boolean on)
This method is used on the client side if the framework changes the revision on another user's behalf, e.g., during invalidation or general revision copying. It's safe to offer this method on the client side because the server is always the permission checking authority (during load or commit).
void freeze()
boolean isFrozen()
boolean isUnchunked()
void setUnchunked()
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.