public abstract class DelegatingQueryResourcesContext extends Object implements IStoreAccessor.QueryResourcesContext
IStoreAccessor.QueryResourcesContext.ExactMatch
INVALID_DATE, UNSPECIFIED_DATE
Constructor and Description |
---|
DelegatingQueryResourcesContext() |
Modifier and Type | Method and Description |
---|---|
boolean |
addResource(CDOID resourceID)
Adds the CDOID of one resource to the results of the underlying query.
|
boolean |
exactMatch() |
CDOBranch |
getBranch()
Returns the branch of this branch point, or
null if this branch point is the
base of the main branch . |
protected abstract IStoreAccessor.QueryResourcesContext |
getDelegate() |
CDOID |
getFolderID() |
int |
getMaxResults()
Returns the maximum number of results expected by the client or
CDOQueryInfo.UNLIMITED_RESULTS for no
limitation. |
String |
getName() |
long |
getTimeStamp()
Returns the time stamp of this branch point, or the fixed special time stamp
unspecified if this branch point marks the head of a branch. |
public CDOBranch getBranch()
CDOBranchPoint
null
if this branch point is the
base
of the main branch
.getBranch
in interface CDOBranchPoint
getBranch
in interface CDOBranchProvider
public long getTimeStamp()
CDOBranchPoint
unspecified
if this branch point marks the head
of a branch.getTimeStamp
in interface CDOBranchPoint
getTimeStamp
in interface CDOTimeProvider
public CDOID getFolderID()
getFolderID
in interface IStoreAccessor.QueryResourcesContext
public String getName()
getName
in interface IStoreAccessor.QueryResourcesContext
public boolean exactMatch()
exactMatch
in interface IStoreAccessor.QueryResourcesContext
public int getMaxResults()
IStoreAccessor.QueryResourcesContext
CDOQueryInfo.UNLIMITED_RESULTS
for no
limitation.getMaxResults
in interface IStoreAccessor.QueryResourcesContext
public boolean addResource(CDOID resourceID)
IStoreAccessor.QueryResourcesContext
addResource
in interface IStoreAccessor.QueryResourcesContext
true
to indicate that more results can be passed subsequently, false
otherwise
(i.e. maxResults has been reached or an asynchronous query has been canceled).protected abstract IStoreAccessor.QueryResourcesContext getDelegate()
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html