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 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.QueryResourcesContext
IStoreAccessor.QueryResourcesContext.ExactMatch -
Field Summary
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddResource(CDOID resourceID) Adds the CDOID of one resource to the results of the underlying query.booleanReturns the branch of this branch point, ornullif this branch point is thebaseof themain branch.protected abstract IStoreAccessor.QueryResourcesContextintReturns the maximum number of results expected by the client orCDOQueryInfo.UNLIMITED_RESULTSfor no limitation.getName()longReturns the time stamp of this branch point, or the fixed special time stampunspecifiedif this branch point marks theheadof a branch.
-
Constructor Details
-
DelegatingQueryResourcesContext
public DelegatingQueryResourcesContext()
-
-
Method Details
-
getBranch
Description copied from interface:CDOBranchPointReturns the branch of this branch point, ornullif this branch point is thebaseof themain branch.- Specified by:
getBranchin interfaceCDOBranchPoint- Specified by:
getBranchin interfaceCDOBranchProvider
-
getTimeStamp
public 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 interfaceCDOBranchPoint- Specified by:
getTimeStampin interfaceCDOTimeProvider
-
getFolderID
- Specified by:
getFolderIDin interfaceIStoreAccessor.QueryResourcesContext
-
getName
- Specified by:
getNamein interfaceIStoreAccessor.QueryResourcesContext
-
exactMatch
public boolean exactMatch()- Specified by:
exactMatchin interfaceIStoreAccessor.QueryResourcesContext
-
getMaxResults
public 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 interfaceIStoreAccessor.QueryResourcesContext
-
addResource
Description copied from interface:IStoreAccessor.QueryResourcesContextAdds the CDOID of one resource to the results of the underlying query.- Specified by:
addResourcein interfaceIStoreAccessor.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).
-
getDelegate
-