org.eclipse.emf.cdo.common.revision
Interface CDORevisionManager


public interface CDORevisionManager

Provides access to revisions in a CDO repository by demand loading and caching them.

Since:
3.0
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.

Method Summary
 boolean containsRevision(CDOID id, CDOBranchPoint branchPoint)
           
 boolean containsRevisionByVersion(CDOID id, CDOBranchVersion branchVersion)
           
 EClass getObjectType(CDOID id)
           
 CDORevision getRevision(CDOID id, CDOBranchPoint branchPoint, int referenceChunk, int prefetchDepth, boolean loadOnDemand)
           
 CDORevision getRevisionByVersion(CDOID id, CDOBranchVersion branchVersion, int referenceChunk, boolean loadOnDemand)
           
 List<CDORevision> getRevisions(List<CDOID> ids, CDOBranchPoint branchPoint, int referenceChunk, int prefetchDepth, boolean loadOnDemand)
           
 

Method Detail

getObjectType

EClass getObjectType(CDOID id)
Returns:
The type of an object if a revision for that object is in the revision cache, null otherwise.

containsRevision

boolean containsRevision(CDOID id,
                         CDOBranchPoint branchPoint)

getRevision

CDORevision getRevision(CDOID id,
                        CDOBranchPoint branchPoint,
                        int referenceChunk,
                        int prefetchDepth,
                        boolean loadOnDemand)

getRevisions

List<CDORevision> getRevisions(List<CDOID> ids,
                               CDOBranchPoint branchPoint,
                               int referenceChunk,
                               int prefetchDepth,
                               boolean loadOnDemand)

containsRevisionByVersion

boolean containsRevisionByVersion(CDOID id,
                                  CDOBranchVersion branchVersion)

getRevisionByVersion

CDORevision getRevisionByVersion(CDOID id,
                                 CDOBranchVersion branchVersion,
                                 int referenceChunk,
                                 boolean loadOnDemand)


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