|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.server.model.versioning.util.HistoryQueryFactoryImpl
public final class HistoryQueryFactoryImpl
Factory for creating HistoryQueries
.
Field Summary | |
---|---|
static HistoryQueryFactoryImpl |
INSTANCE
The instance. |
Method Summary | |
---|---|
ESModelElementQuery |
modelElementQuery(ESPrimaryVersionSpec source,
ESModelElementId id,
int upper,
int lower,
boolean allVersions,
boolean includeCp)
Factory method for creating a ESModelElementQuery . |
ESModelElementQuery |
modelElementQuery(ESPrimaryVersionSpec source,
List<ESModelElementId> modelElements,
int upper,
int lower,
boolean allVersions,
boolean includeChangePackages)
Factory method for creating a ESModelElementQuery . |
ESPathQuery |
pathQuery(ESPrimaryVersionSpec source,
ESPrimaryVersionSpec target,
boolean allVersions,
boolean includeChangePackages)
Factory method for creating a ESPathQuery , which fetches
all changes from source to target . |
ESRangeQuery<?> |
rangeQuery(ESPrimaryVersionSpec source,
int upper,
int lower,
boolean allVersions,
boolean incoming,
boolean outgoing,
boolean includeChangePackages)
Factory method for creating a ESRangeQuery . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final HistoryQueryFactoryImpl INSTANCE
Method Detail |
---|
public ESRangeQuery<?> rangeQuery(ESPrimaryVersionSpec source, int upper, int lower, boolean allVersions, boolean incoming, boolean outgoing, boolean includeChangePackages)
ESRangeQuery
.
rangeQuery
in interface ESHistoryQueryFactory
source
- the source version of the queryupper
- the upper limit of the querylower
- the lower limit of the queryallVersions
- whether to include all versions, from all branchesincoming
- whether to include incoming versions, only if allVersions
is set to false
outgoing
- whether to include include outgoing versionsincludeChangePackages
- whether to include change packages
ESHistoryQueryFactory.rangeQuery(org.eclipse.emf.emfstore.server.model.versionspec.ESPrimaryVersionSpec,
int, int, boolean, boolean, boolean, boolean)
public ESPathQuery pathQuery(ESPrimaryVersionSpec source, ESPrimaryVersionSpec target, boolean allVersions, boolean includeChangePackages)
ESPathQuery
, which fetches
all changes from source
to target
.
pathQuery
in interface ESHistoryQueryFactory
source
- the source version of the querytarget
- the target version of the queryallVersions
- whether to include all versions, from all branchesincludeChangePackages
- whether to include change packages
ESHistoryQueryFactory.pathQuery(org.eclipse.emf.emfstore.server.model.versionspec.ESPrimaryVersionSpec,
org.eclipse.emf.emfstore.server.model.versionspec.ESPrimaryVersionSpec, boolean, boolean)
public ESModelElementQuery modelElementQuery(ESPrimaryVersionSpec source, List<ESModelElementId> modelElements, int upper, int lower, boolean allVersions, boolean includeChangePackages)
ESModelElementQuery
.
modelElementQuery
in interface ESHistoryQueryFactory
source
- the source version of the querymodelElements
- a list containing the IDs of possibly multiple model elementsupper
- the upper limit of the querylower
- the lower limit of the queryallVersions
- include all versions, from all branchesincludeChangePackages
- whether to include change packages
ESHistoryQueryFactory.modelElementQuery(org.eclipse.emf.emfstore.server.model.versionspec.ESPrimaryVersionSpec,
java.util.List, int, int, boolean, boolean)
public ESModelElementQuery modelElementQuery(ESPrimaryVersionSpec source, ESModelElementId id, int upper, int lower, boolean allVersions, boolean includeCp)
ESModelElementQuery
.
modelElementQuery
in interface ESHistoryQueryFactory
source
- the source version of the queryid
- the ID of a model elementupper
- the upper limit of the querylower
- the lower limit of the queryallVersions
- whether to include all versions, from all branchesincludeCp
- whether to include change packages
ESHistoryQueryFactory.modelElementQuery(org.eclipse.emf.emfstore.server.model.versionspec.ESPrimaryVersionSpec,
org.eclipse.emf.emfstore.common.model.ESModelElementId, int, int, boolean, boolean)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |