Interface GenericSearchParameterDescriptor
- All Superinterfaces:
PropertyDescriptor,SearchParameterDescriptor
- All Known Implementing Classes:
ClassAttributeSearchDescriptor,CustomerAddressSearchDescriptor,EmployeeCompanyAttributeSearchDescriptor,ItemAttributeSearchDescriptor,SpecialGenericSearchParameterDescriptor
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
Modifier and TypeMethodDescriptioncreateCondition(GenericQuery query, Object value, Operator operator) Creates the condition for the given generic query combined of the specified arguments.Returns the attribute qualifier of the underlying property.Returns the default operator for the property, which can be "equals", "contains", etc..Returns the required composed type that is enclosing type of underlying property descriptor.booleanChecks 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, isWritableMethods inherited from interface de.hybris.platform.cockpit.model.search.SearchParameterDescriptor
getOperators
-
Method Details
-
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
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
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
-