Class SpecialGenericSearchParameterDescriptor
java.lang.Object
de.hybris.platform.cockpit.model.meta.impl.AbstractPropertyDescriptor
de.hybris.platform.cockpit.model.search.impl.AbstractSearchParameterDescriptor
de.hybris.platform.cockpit.services.search.impl.SpecialGenericSearchParameterDescriptor
- All Implemented Interfaces:
PropertyDescriptor,SearchParameterDescriptor,GenericSearchParameterDescriptor
- Direct Known Subclasses:
CustomerAddressSearchDescriptor,EmployeeCompanyAttributeSearchDescriptor
public class SpecialGenericSearchParameterDescriptor
extends AbstractSearchParameterDescriptor
implements GenericSearchParameterDescriptor
-
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCondition(GenericQuery query, Object value, Operator operator) Creates the condition for the given generic query combined of the specified arguments.protected GenericQueryParameterCreatorReturns the attribute qualifier of the underlying property.Returns the default operator for the property, which can be "equals", "contains", etc..protected GenericQueryParameterCreatorReturns the required composed type that is enclosing type of underlying property descriptor.booleanbooleanChecks if is simple search property.booleanvoidsetAttributeQualifier(String attributeQualifier) voidsetRequiredComposedTypeCode(String requiredComposedType) voidsetSimpleSearchProperty(boolean simpleSearchProperty) Methods inherited from class de.hybris.platform.cockpit.model.search.impl.AbstractSearchParameterDescriptor
getOperators, setOperatorsMethods inherited from class de.hybris.platform.cockpit.model.meta.impl.AbstractPropertyDescriptor
equals, getDescription, getEditorType, getMultiplicity, getName, getOccurence, getQualifier, getSelectionOf, hashCode, isLocalized, setEditorType, setLocalized, setMultiplicity, setOccurence, setQualifier, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.cockpit.model.meta.PropertyDescriptor
getDescription, getEditorType, getMultiplicity, getName, getOccurence, getQualifier, getSelectionOf, isLocalizedMethods inherited from interface de.hybris.platform.cockpit.model.search.SearchParameterDescriptor
getOperators
-
Constructor Details
-
SpecialGenericSearchParameterDescriptor
public SpecialGenericSearchParameterDescriptor()
-
-
Method Details
-
createCreator
-
getQueryCreator
-
getRequiredComposedTypeCode
-
setRequiredComposedTypeCode
-
getAttributeQualifier
Description copied from interface:GenericSearchParameterDescriptorReturns the attribute qualifier of the underlying property.- Specified by:
getAttributeQualifierin interfaceGenericSearchParameterDescriptor- Returns:
- the attribute qualifier
-
setAttributeQualifier
-
isSimpleSearchProperty
public boolean isSimpleSearchProperty()Description copied from interface:GenericSearchParameterDescriptorChecks if is simple search property.- Specified by:
isSimpleSearchPropertyin interfaceGenericSearchParameterDescriptor- Returns:
- true, if is simple search property
-
setSimpleSearchProperty
public void setSimpleSearchProperty(boolean simpleSearchProperty) -
getRequiredComposedType
Description copied from interface:GenericSearchParameterDescriptorReturns the required composed type that is enclosing type of underlying property descriptor.- Specified by:
getRequiredComposedTypein interfaceGenericSearchParameterDescriptor- Returns:
- the required composed type
-
createCondition
Description copied from interface:GenericSearchParameterDescriptorCreates the condition for the given generic query combined of the specified arguments.- Specified by:
createConditionin interfaceGenericSearchParameterDescriptor- 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
-
getDefaultOperator
Description copied from interface:GenericSearchParameterDescriptorReturns the default operator for the property, which can be "equals", "contains", etc..- Specified by:
getDefaultOperatorin interfaceGenericSearchParameterDescriptor- Returns:
- the default operator for the underlying property
-
getName
- Specified by:
getNamein interfacePropertyDescriptor
-
isReadable
public boolean isReadable()- Specified by:
isReadablein interfacePropertyDescriptor
-
isWritable
public boolean isWritable()- Specified by:
isWritablein interfacePropertyDescriptor
-