|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStoreReader
StoreUtil.getReader()
Method Summary | |
---|---|
IStoreChunkReader |
createChunkReader(CDORevision revision,
CDOFeature feature)
|
ISession |
getSession()
|
org.eclipse.net4j.util.collection.CloseableIterator<CDOID> |
readObjectIDs(boolean withTypes)
Returns an iterator that iterates over all objects in the store and makes their ids available for processing. |
CDOClassRef |
readObjectType(CDOID id)
Reads the type of an object from the associated store and returns a class reference of it. |
void |
readPackage(CDOPackage cdoPackage)
Demand loads a given package proxy that has been created on startup of the repository. |
java.util.Collection<CDOPackageInfo> |
readPackageInfos()
|
CDOID |
readResourceID(java.lang.String path)
Returns the CDOID of the resource with the given path if a resource with this path exists in the
store, null otherwise. |
java.lang.String |
readResourcePath(CDOID id)
Returns the path of the resource with the given CDOID if a resource with this CDOID
exists in the store, null otherwise. |
CDORevision |
readRevision(CDOID id,
int referenceChunk)
|
CDORevision |
readRevisionByTime(CDOID id,
int referenceChunk,
long timeStamp)
|
CDORevision |
readRevisionByVersion(CDOID id,
int referenceChunk,
int version)
|
CDORevision |
verifyRevision(CDORevision revision)
|
Methods inherited from interface org.eclipse.emf.cdo.server.IStoreAccessor |
---|
getStore, release |
Method Detail |
---|
ISession getSession()
IStoreChunkReader createChunkReader(CDORevision revision, CDOFeature feature)
java.util.Collection<CDOPackageInfo> readPackageInfos()
void readPackage(CDOPackage cdoPackage)
org.eclipse.net4j.util.collection.CloseableIterator<CDOID> readObjectIDs(boolean withTypes)
CDOClassRef readObjectType(CDOID id)
IStore#hasEfficientTypeLookup()
returns false
.
CDORevision readRevision(CDOID id, int referenceChunk)
CDORevision readRevisionByTime(CDOID id, int referenceChunk, long timeStamp)
CDORevision readRevisionByVersion(CDOID id, int referenceChunk, int version)
CDOID readResourceID(java.lang.String path)
CDOID
of the resource with the given path if a resource with this path exists in the
store, null
otherwise.
java.lang.String readResourcePath(CDOID id)
CDOID
if a resource with this CDOID
exists in the store, null
otherwise.
CDORevision verifyRevision(CDORevision revision)
|
Copyright (c) 2004 - 2008 Eike Stepper, Germany. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |