Interface GenericSearchParameterDescriptor
-
- All Superinterfaces:
PropertyDescriptor,SearchParameterDescriptor
- All Known Implementing Classes:
ClassAttributeSearchDescriptor,CustomerAddressSearchDescriptor,EmployeeCompanyAttributeSearchDescriptor,ItemAttributeSearchDescriptor,SpecialGenericSearchParameterDescriptor
public interface GenericSearchParameterDescriptor extends SearchParameterDescriptor
The interface GenericSearchParameterDescriptor. Contains several fields of search descriptor and method for create generic search condition.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.hybris.platform.cockpit.model.meta.PropertyDescriptor
PropertyDescriptor.Multiplicity, PropertyDescriptor.Occurrence
-
-
Field Summary
-
Fields inherited from interface de.hybris.platform.cockpit.model.meta.PropertyDescriptor
BOOLEAN, DATE, DECIMAL, ENUM, FEATURE, FLOAT, INTEGER, LONG, PK, QUALIFIER_DELIM, QUALIFIER_DELIM_EXP, REFERENCE, TEXT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GenericConditioncreateCondition(GenericQuery query, java.lang.Object value, Operator operator)Creates the condition for the given generic query combined of the specified arguments.java.lang.StringgetAttributeQualifier()Returns the attribute qualifier of the underlying property.OperatorgetDefaultOperator()Returns the default operator for the property, which can be "equals", "contains", etc..ComposedTypeModelgetRequiredComposedType()Returns the required composed type that is enclosing type of underlying property descriptor.booleanisSimpleSearchProperty()Checks if is simple search property.-
Methods inherited from interface de.hybris.platform.cockpit.model.meta.PropertyDescriptor
getDescription, getEditorType, getMultiplicity, getName, getName, getOccurence, getQualifier, getSelectionOf, isLocalized, isReadable, isWritable
-
Methods inherited from interface de.hybris.platform.cockpit.model.search.SearchParameterDescriptor
getOperators
-
-
-
-
Method Detail
-
isSimpleSearchProperty
boolean isSimpleSearchProperty()
Checks if is simple search property.- Returns:
- true, if is simple search property
-
getRequiredComposedType
ComposedTypeModel getRequiredComposedType()
Returns the required composed type that is enclosing type of underlying property descriptor.- Returns:
- the required composed type
-
createCondition
GenericCondition createCondition(GenericQuery query, java.lang.Object value, Operator operator)
Creates the condition for the given generic query combined of the specified arguments.- Parameters:
query- the generic query that condition will be created forvalue- the value used to create conditionoperator- the operator used to create condition- Returns:
- the new create generic condition
-
getAttributeQualifier
java.lang.String getAttributeQualifier()
Returns the attribute qualifier of the underlying property.- Returns:
- the attribute qualifier
-
getDefaultOperator
Operator getDefaultOperator()
Returns the default operator for the property, which can be "equals", "contains", etc..- Returns:
- the default operator for the underlying property
-
-