Class DefaultSearchType
- java.lang.Object
-
- de.hybris.platform.cockpit.model.meta.impl.DefaultObjectType
-
- de.hybris.platform.cockpit.model.search.impl.DefaultSearchType
-
- All Implemented Interfaces:
ObjectType,RedeclarableObjectType,SearchType
public class DefaultSearchType extends DefaultObjectType implements SearchType
-
-
Constructor Summary
Constructors Constructor Description DefaultSearchType(java.lang.String code)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Returns type description according to current session languagejava.lang.StringgetDescription(java.lang.String languageIsoCode)Returns type description according to given languagejava.util.Set<Facet>getFacets()java.lang.StringgetName()Returns type name according to current session languagejava.lang.StringgetName(java.lang.String languageIsoCode)Returns type name according to given languagejava.util.List<PropertyDescriptor>getSortProperties()booleanisAbstract()Returns true if this type is not suitable for creating instances.voidsetDeclaredPropertyDescriptors(java.util.Set<PropertyDescriptor> propertyDescriptors)voidsetFacets(java.util.Set<Facet> facets)voidsetSortProperties(java.util.List<PropertyDescriptor> sortDescriptors)-
Methods inherited from class de.hybris.platform.cockpit.model.meta.impl.DefaultObjectType
addToSubtypesInternal, addToSupertypesInternal, equals, getCode, getDeclaredPropertyDescriptors, getPropertyDescriptors, getRedeclaredPropertyDescriptors, getSubtypes, getSupertypes, hashCode, isAssignableFrom, removeFromSubtypesInternal, removeFromSupertypesInternal, setRedeclaredPropertyDescriptors, setSubtypes, setSupertypes, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.model.meta.ObjectType
getCode, getDeclaredPropertyDescriptors, getPropertyDescriptors, getSubtypes, getSupertypes, isAssignableFrom
-
-
-
-
Method Detail
-
setDeclaredPropertyDescriptors
public void setDeclaredPropertyDescriptors(java.util.Set<PropertyDescriptor> propertyDescriptors)
- Overrides:
setDeclaredPropertyDescriptorsin classDefaultObjectType
-
getSortProperties
public java.util.List<PropertyDescriptor> getSortProperties()
- Specified by:
getSortPropertiesin interfaceSearchType
-
getFacets
public java.util.Set<Facet> getFacets()
- Specified by:
getFacetsin interfaceSearchType
-
setFacets
public void setFacets(java.util.Set<Facet> facets)
-
setSortProperties
public void setSortProperties(java.util.List<PropertyDescriptor> sortDescriptors)
-
isAbstract
public boolean isAbstract()
Description copied from interface:ObjectTypeReturns true if this type is not suitable for creating instances.- Specified by:
isAbstractin interfaceObjectType
-
getName
public java.lang.String getName()
Description copied from interface:ObjectTypeReturns type name according to current session language- Specified by:
getNamein interfaceObjectType
-
getName
public java.lang.String getName(java.lang.String languageIsoCode)
Description copied from interface:ObjectTypeReturns type name according to given language- Specified by:
getNamein interfaceObjectType
-
getDescription
public java.lang.String getDescription()
Description copied from interface:ObjectTypeReturns type description according to current session language- Specified by:
getDescriptionin interfaceObjectType
-
getDescription
public java.lang.String getDescription(java.lang.String languageIsoCode)
Description copied from interface:ObjectTypeReturns type description according to given language- Specified by:
getDescriptionin interfaceObjectType
-
-