public class CommonPseudoContentTypeFacetDefinition extends Object implements FacetDefinition
FacetDefinition
to filter on the pseudo-content type of the documentModifier and Type | Class and Description |
---|---|
private static class |
CommonPseudoContentTypeFacetDefinition.PseudoContentTypeSearchField |
Modifier and Type | Field and Description |
---|---|
protected static String |
__ID
The id of the facet definition
|
(package private) ContentTypeExtensionPoint |
_cTypeEP |
(package private) I18nizableText |
_label |
Constructor and Description |
---|
CommonPseudoContentTypeFacetDefinition(ContentTypeExtensionPoint cTypeEP)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
I18nizableText |
getFacetLabel(String value,
String currentLang)
Gets the label of a facet value
|
String |
getId()
Gets the id of the facet.
|
I18nizableText |
getLabel()
Gets the label of the facet.
|
Optional<Returnable> |
getReturnable()
Gets the (
Returnable ) the facet belongs to. |
SearchField |
getSearchField()
Gets the search field of this facet
|
protected static final String __ID
I18nizableText _label
ContentTypeExtensionPoint _cTypeEP
public CommonPseudoContentTypeFacetDefinition(ContentTypeExtensionPoint cTypeEP)
cTypeEP
- The extension point for content typespublic String getId()
FacetDefinition
getId
in interface FacetDefinition
public I18nizableText getLabel()
FacetDefinition
getLabel
in interface FacetDefinition
public SearchField getSearchField()
FacetDefinition
getSearchField
in interface FacetDefinition
public I18nizableText getFacetLabel(String value, String currentLang)
FacetDefinition
getFacetLabel
in interface FacetDefinition
value
- the facet valuecurrentLang
- the current langpublic Optional<Returnable> getReturnable()
FacetDefinition
Returnable
) the facet belongs to.getReturnable
in interface FacetDefinition
Returnable
) the facet belongs to.