Modifier and Type | Method and Description |
---|---|
static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
RAnyConverter.getAnySetType(ItemDefinition definition)
This method provides extension type (in real it's table) string for definition and value
defined as parameters.
|
Modifier and Type | Method and Description |
---|---|
<T extends ObjectFilter> |
QueryInterpreter.findAndCreateRestriction(T filter,
QueryContext context,
Restriction parent) |
RQuery |
QueryEngine.interpret(ObjectQuery query,
Class<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> type,
Collection<SelectorOptions<GetOperationOptions>> options,
boolean countingObjects,
org.hibernate.Session session) |
org.hibernate.Criteria |
QueryInterpreter.interpret(ObjectQuery query,
Class<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> type,
Collection<SelectorOptions<GetOperationOptions>> options,
PrismContext prismContext,
boolean countingObjects,
org.hibernate.Session session) |
org.hibernate.criterion.Criterion |
QueryInterpreter.interpretFilter(ObjectFilter filter,
QueryContext context,
Restriction parent) |
Modifier and Type | Method and Description |
---|---|
protected org.hibernate.criterion.Criterion |
Matcher.basicMatch(ItemRestrictionOperation operation,
String propertyName,
Object value,
boolean ignoreCase) |
org.hibernate.criterion.Criterion |
PolyStringMatcher.match(ItemRestrictionOperation operation,
String propertyName,
PolyString value,
String matcher) |
org.hibernate.criterion.Criterion |
StringMatcher.match(ItemRestrictionOperation operation,
String propertyName,
String value,
String matcher) |
abstract org.hibernate.criterion.Criterion |
Matcher.match(ItemRestrictionOperation operation,
String propertyName,
T value,
String matcher)
Create hibernate
Criterion based on matcher defined in filter. |
org.hibernate.criterion.Criterion |
DefaultMatcher.match(ItemRestrictionOperation operation,
String propertyName,
T value,
String matcher) |
Modifier and Type | Method and Description |
---|---|
boolean |
InOidRestriction.canHandle(ObjectFilter filter) |
boolean |
ItemRestriction.canHandle(ObjectFilter filter) |
abstract boolean |
Restriction.canHandle(ObjectFilter filter) |
boolean |
CollectionRestriction.canHandle(ObjectFilter filter) |
boolean |
TypeRestriction.canHandle(ObjectFilter filter) |
boolean |
AnyPropertyRestriction.canHandle(ObjectFilter filter) |
boolean |
PropertyRestriction.canHandle(ObjectFilter filter) |
protected org.hibernate.criterion.Criterion |
ItemRestriction.createCriterion(String propertyName,
Object value,
ValueFilter filter) |
protected List<Definition> |
ItemRestriction.createDefinitionPath(ItemPath path) |
protected String |
ItemRestriction.createPropertyOrReferenceNamePrefix(ItemPath path) |
protected Object |
ItemRestriction.getValueFromFilter(ValueFilter filter,
PropertyDefinition def) |
org.hibernate.criterion.Criterion |
AndRestriction.interpret() |
org.hibernate.criterion.Criterion |
InOidRestriction.interpret() |
org.hibernate.criterion.Criterion |
ItemRestriction.interpret() |
org.hibernate.criterion.Criterion |
NotRestriction.interpret() |
org.hibernate.criterion.Criterion |
OrRestriction.interpret() |
abstract org.hibernate.criterion.Criterion |
Restriction.interpret() |
org.hibernate.criterion.Criterion |
TypeRestriction.interpret() |
org.hibernate.criterion.Criterion |
OrgRestriction.interpret() |
protected org.hibernate.criterion.Criterion |
LogicalRestriction.interpretChildFilter(ObjectFilter filter) |
org.hibernate.criterion.Criterion |
ReferenceRestriction.interpretInternal(RefFilter filter) |
abstract org.hibernate.criterion.Criterion |
ItemRestriction.interpretInternal(T filter) |
org.hibernate.criterion.Criterion |
CollectionRestriction.interpretInternal(ValueFilter filter) |
org.hibernate.criterion.Criterion |
AnyPropertyRestriction.interpretInternal(ValueFilter filter) |
org.hibernate.criterion.Criterion |
PropertyRestriction.interpretInternal(ValueFilter filter) |
protected org.hibernate.criterion.Junction |
NaryLogicalRestriction.updateJunction(List<? extends ObjectFilter> conditions,
org.hibernate.criterion.Junction junction) |
protected void |
NaryLogicalRestriction.validateFilter(NaryLogicalFilter filter) |
protected void |
UnaryLogicalRestriction.validateFilter(UnaryLogicalFilter filter) |
Modifier and Type | Method and Description |
---|---|
<T extends Containerable> |
QueryDefinitionRegistry2.findEntityDefinition(Class<T> type) |
<T extends Containerable> |
QueryDefinitionRegistry2.getQNameForType(Class<T> type) |
RQuery |
QueryEngine2.interpret(ObjectQuery query,
Class<? extends Containerable> type,
Collection<SelectorOptions<GetOperationOptions>> options,
boolean countingObjects,
org.hibernate.Session session) |
RootHibernateQuery |
QueryInterpreter2.interpret(ObjectQuery query,
Class<? extends Containerable> type,
Collection<SelectorOptions<GetOperationOptions>> options,
PrismContext prismContext,
boolean countingObjects,
org.hibernate.Session session) |
Condition |
QueryInterpreter2.interpretFilter(InterpretationContext context,
ObjectFilter filter,
Restriction parent) |
<T extends Containerable> |
QueryInterpreter2.updatePagingAndSorting(InterpretationContext context,
ObjectPaging paging) |
Constructor and Description |
---|
InterpretationContext(QueryInterpreter2 interpreter,
Class<? extends Containerable> type,
PrismContext prismContext,
org.hibernate.Session session) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateQuery.narrowPrimaryEntity(JpaEntityDefinition newDefinition) |
Modifier and Type | Method and Description |
---|---|
protected Condition |
Matcher.basicMatch(RootHibernateQuery hibernateQuery,
ItemRestrictionOperation operation,
String propertyPath,
Object value,
boolean ignoreCase) |
Condition |
PolyStringMatcher.match(RootHibernateQuery hibernateQuery,
ItemRestrictionOperation operation,
String propertyName,
PolyString value,
String matcher) |
Condition |
StringMatcher.match(RootHibernateQuery hibernateQuery,
ItemRestrictionOperation operation,
String propertyName,
String value,
String matcher) |
abstract Condition |
Matcher.match(RootHibernateQuery hibernateQuery,
ItemRestrictionOperation operation,
String propertyPath,
T value,
String matcher)
Create hibernate
Criterion based on matcher defined in filter. |
Condition |
DefaultMatcher.match(RootHibernateQuery hibernateQuery,
ItemRestrictionOperation operation,
String propertyName,
T value,
String matcher) |
Modifier and Type | Method and Description |
---|---|
<T extends JpaDataNodeDefinition> |
ItemPathResolver.findProperDataDefinition(JpaEntityDefinition baseEntityDefinition,
ItemPath path,
ItemDefinition itemDefinition,
Class<T> clazz)
Finds the proper definition for (possibly abstract) entity.
|
JpaEntityDefinition |
ItemPathResolver.findRestrictedEntityDefinition(JpaEntityDefinition baseEntityDefinition,
QName specificTypeName)
Given existing entity definition and a request for narrowing it, tries to find refined definition.
|
ItemPathResolutionState |
ItemPathResolutionState.nextState(ItemDefinition itemDefinition,
boolean singletonOnly)
Executes transition to next state.
|
HqlDataInstance |
ItemPathResolver.resolveItemPath(ItemPath relativePath,
ItemDefinition itemDefinition,
HqlDataInstance baseDataInstance,
boolean singletonOnly) |
HqlDataInstance |
ItemPathResolver.resolveItemPath(ItemPath relativePath,
ItemDefinition itemDefinition,
String currentHqlPath,
JpaEntityDefinition baseEntityDefinition,
boolean singletonOnly)
Resolves item path by creating a sequence of resolution states and preparing joins that are used to access JPA properties.
|
Modifier and Type | Method and Description |
---|---|
protected Condition |
ItemValueRestriction.createPropertyVsConstantCondition(String hqlPropertyPath,
Object value,
ValueFilter filter) |
protected Condition |
PropertyRestriction.createPropertyVsPropertyCondition(String leftPropertyValuePath) |
protected ItemRestrictionOperation |
ItemValueRestriction.findOperationForFilter(ValueFilter filter) |
protected Object |
ItemValueRestriction.getValue(PropertyValueFilter filter) |
protected Object |
PropertyRestriction.getValueFromFilter(ValueFilter filter) |
Condition |
AndRestriction.interpret() |
Condition |
InOidRestriction.interpret() |
Condition |
NotRestriction.interpret() |
Condition |
OrRestriction.interpret() |
Condition |
ExistsRestriction.interpret() |
abstract Condition |
Restriction.interpret() |
Condition |
TypeRestriction.interpret() |
Condition |
ItemValueRestriction.interpret() |
Condition |
OrgRestriction.interpret() |
protected Condition |
UnaryLogicalRestriction.interpretChildFilter() |
Condition |
AnyPropertyRestriction.interpretInternal() |
abstract Condition |
ItemValueRestriction.interpretInternal() |
Condition |
PropertyRestriction.interpretInternal() |
Condition |
ReferenceRestriction.interpretInternal() |
protected void |
NaryLogicalRestriction.updateJunction(List<? extends ObjectFilter> subfilters,
JunctionCondition junction) |
protected void |
NaryLogicalRestriction.validateFilter() |
protected void |
UnaryLogicalRestriction.validateFilter() |
Copyright © 2016 evolveum. All rights reserved.