Package org.eclipse.emf.cdo.spi.server
Class DelegatingQueryResourcesContext
- java.lang.Object
- 
- org.eclipse.emf.cdo.spi.server.DelegatingQueryResourcesContext
 
- 
- All Implemented Interfaces:
- CDOBranchPoint,- CDOBranchProvider,- CDOTimeProvider,- IStoreAccessor.QueryResourcesContext
 
 public abstract class DelegatingQueryResourcesContext extends java.lang.Object implements IStoreAccessor.QueryResourcesContext If the meaning of this type isn't clear, there really should be more of a description here...- Since:
- 4.2
- Author:
- Eike Stepper
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.server.IStoreAccessor.QueryResourcesContextIStoreAccessor.QueryResourcesContext.ExactMatch
 
- 
 - 
Field Summary- 
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPointINVALID_DATE, UNSPECIFIED_DATE
 
- 
 - 
Constructor SummaryConstructors Constructor Description DelegatingQueryResourcesContext()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanaddResource(CDOID resourceID)Adds the CDOID of one resource to the results of the underlying query.booleanexactMatch()CDOBranchgetBranch()Returns the branch of this branch point, ornullif this branch point is thebaseof themain branch.protected abstract IStoreAccessor.QueryResourcesContextgetDelegate()CDOIDgetFolderID()intgetMaxResults()Returns the maximum number of results expected by the client orCDOQueryInfo.UNLIMITED_RESULTSfor no limitation.java.lang.StringgetName()longgetTimeStamp()Returns the time stamp of this branch point, or the fixed special time stampunspecifiedif this branch point marks theheadof a branch.
 
- 
- 
- 
Method Detail- 
getBranchpublic CDOBranch getBranch() Description copied from interface:CDOBranchPointReturns the branch of this branch point, ornullif this branch point is thebaseof themain branch.- Specified by:
- getBranchin interface- CDOBranchPoint
- Specified by:
- getBranchin interface- CDOBranchProvider
 
 - 
getTimeStamppublic long getTimeStamp() Description copied from interface:CDOBranchPointReturns the time stamp of this branch point, or the fixed special time stampunspecifiedif this branch point marks theheadof a branch.- Specified by:
- getTimeStampin interface- CDOBranchPoint
- Specified by:
- getTimeStampin interface- CDOTimeProvider
 
 - 
getFolderIDpublic CDOID getFolderID() - Specified by:
- getFolderIDin interface- IStoreAccessor.QueryResourcesContext
 
 - 
getNamepublic java.lang.String getName() - Specified by:
- getNamein interface- IStoreAccessor.QueryResourcesContext
 
 - 
exactMatchpublic boolean exactMatch() - Specified by:
- exactMatchin interface- IStoreAccessor.QueryResourcesContext
 
 - 
getMaxResultspublic int getMaxResults() Description copied from interface:IStoreAccessor.QueryResourcesContextReturns the maximum number of results expected by the client orCDOQueryInfo.UNLIMITED_RESULTSfor no limitation.- Specified by:
- getMaxResultsin interface- IStoreAccessor.QueryResourcesContext
 
 - 
addResourcepublic boolean addResource(CDOID resourceID) Description copied from interface:IStoreAccessor.QueryResourcesContextAdds the CDOID of one resource to the results of the underlying query.- Specified by:
- addResourcein interface- IStoreAccessor.QueryResourcesContext
- Returns:
- trueto indicate that more results can be passed subsequently,- falseotherwise (i.e. maxResults has been reached or an asynchronous query has been canceled).
 
 - 
getDelegateprotected abstract IStoreAccessor.QueryResourcesContext getDelegate() 
 
- 
 
-