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.String
getDescription()
Returns type description according to current session languagejava.lang.String
getDescription(java.lang.String languageIsoCode)
Returns type description according to given languagejava.util.Set<Facet>
getFacets()
java.lang.String
getName()
Returns type name according to current session languagejava.lang.String
getName(java.lang.String languageIsoCode)
Returns type name according to given languagejava.util.List<PropertyDescriptor>
getSortProperties()
boolean
isAbstract()
Returns true if this type is not suitable for creating instances.void
setDeclaredPropertyDescriptors(java.util.Set<PropertyDescriptor> propertyDescriptors)
void
setFacets(java.util.Set<Facet> facets)
void
setSortProperties(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:
setDeclaredPropertyDescriptors
in classDefaultObjectType
-
getSortProperties
public java.util.List<PropertyDescriptor> getSortProperties()
- Specified by:
getSortProperties
in interfaceSearchType
-
getFacets
public java.util.Set<Facet> getFacets()
- Specified by:
getFacets
in 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:ObjectType
Returns true if this type is not suitable for creating instances.- Specified by:
isAbstract
in interfaceObjectType
-
getName
public java.lang.String getName()
Description copied from interface:ObjectType
Returns type name according to current session language- Specified by:
getName
in interfaceObjectType
-
getName
public java.lang.String getName(java.lang.String languageIsoCode)
Description copied from interface:ObjectType
Returns type name according to given language- Specified by:
getName
in interfaceObjectType
-
getDescription
public java.lang.String getDescription()
Description copied from interface:ObjectType
Returns type description according to current session language- Specified by:
getDescription
in interfaceObjectType
-
getDescription
public java.lang.String getDescription(java.lang.String languageIsoCode)
Description copied from interface:ObjectType
Returns type description according to given language- Specified by:
getDescription
in interfaceObjectType
-
-