Class ClassAttributeSearchDescriptor
java.lang.Object
de.hybris.platform.cockpit.services.search.impl.ClassAttributeSearchDescriptor
- All Implemented Interfaces:
PropertyDescriptor,SearchParameterDescriptor,GenericSearchParameterDescriptor
public class ClassAttributeSearchDescriptor
extends Object
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
ConstructorsConstructorDescriptionClassAttributeSearchDescriptor(ClassAttributePropertyDescriptor propertyDescriptor) -
Method Summary
Modifier and TypeMethodDescriptioncreateCondition(GenericQuery query, Object value, Operator operator) Creates the condition for the given generic query combined of the specified arguments.Deprecated.Returns the attribute qualifier of the underlying property.Returns the default operator for the property, which can be "equals", "contains", etc..localized descriptionThe general editor type.Specifies which type of collection this editor should handle.getName()localized nameTells if this property is mandatory, recommended or optional.The (globally!) unique property qualifier.protected GenericQueryClassParameterCreatorReturns the required composed type that is enclosing type of underlying property descriptor.qualifier of property descriptor that holds the "selectionOf"booleanTells whether this property contains localized data.booleanbooleanChecks if is simple search property.booleanvoidsetOperators(List<Operator> operators) voidsetSimpleSearchProperty(boolean simpleSearchProperty)
-
Constructor Details
-
ClassAttributeSearchDescriptor
-
-
Method Details
-
getQueryCreator
-
getPropertyDescriptor
-
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
-
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
-
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) -
setOperators
-
getOperators
- Specified by:
getOperatorsin interfaceSearchParameterDescriptor
-
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
-
getAttributeAssignment
Deprecated.since 6.3, usegetClassAttributeAssignment()instead -
getClassAttributeAssignment
-
getAttributeQualifier
Description copied from interface:GenericSearchParameterDescriptorReturns the attribute qualifier of the underlying property.- Specified by:
getAttributeQualifierin interfaceGenericSearchParameterDescriptor- Returns:
- the attribute qualifier
-
getDescription
Description copied from interface:PropertyDescriptorlocalized description- Specified by:
getDescriptionin interfacePropertyDescriptor- Returns:
- localized description
-
getEditorType
Description copied from interface:PropertyDescriptorThe general editor type.- Specified by:
getEditorTypein interfacePropertyDescriptor
-
getMultiplicity
Description copied from interface:PropertyDescriptorSpecifies which type of collection this editor should handle. Single valued editors usePropertyDescriptor.Multiplicity.SINGLEor null.- Specified by:
getMultiplicityin interfacePropertyDescriptor
-
getName
Description copied from interface:PropertyDescriptorlocalized name- Specified by:
getNamein interfacePropertyDescriptor- Returns:
- localized name
-
getOccurence
Description copied from interface:PropertyDescriptorTells if this property is mandatory, recommended or optional.- Specified by:
getOccurencein interfacePropertyDescriptor
-
getQualifier
Description copied from interface:PropertyDescriptorThe (globally!) unique property qualifier.- Specified by:
getQualifierin interfacePropertyDescriptor
-
isLocalized
public boolean isLocalized()Description copied from interface:PropertyDescriptorTells whether this property contains localized data.- Specified by:
isLocalizedin interfacePropertyDescriptor
-
getName
- Specified by:
getNamein interfacePropertyDescriptor
-
isReadable
public boolean isReadable()- Specified by:
isReadablein interfacePropertyDescriptor
-
isWritable
public boolean isWritable()- Specified by:
isWritablein interfacePropertyDescriptor
-
getSelectionOf
Description copied from interface:PropertyDescriptorqualifier of property descriptor that holds the "selectionOf"- Specified by:
getSelectionOfin interfacePropertyDescriptor- Returns:
- qualifier of property descriptor
-
getClassAttributeAssignment()instead