public abstract class AbstractFacetLabelDisplayHandler extends Object implements FacetLabelDisplayHandler
Modifier and Type | Field and Description |
---|---|
protected ServiceRegistry |
serviceRegistry |
protected Set<String> |
supportedFieldFacets |
Constructor and Description |
---|
AbstractFacetLabelDisplayHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
init() |
void |
register()
Registers this instance of the facet handler with the registry.
|
void |
setRegistry(FacetLabelDisplayHandlerRegistry registry)
Set the registry to register with
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
Set the service registry
|
void |
setSupportedFieldFacets(Set<String> supportedFieldFacets) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayLabel
protected ServiceRegistry serviceRegistry
public final void register()
init()
method and then register if the registry is available.protected void init()
public void setSupportedFieldFacets(Set<String> supportedFieldFacets)
supportedFieldFacets
- the supportedFieldFacets to setpublic void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry
- the service registrypublic void setRegistry(FacetLabelDisplayHandlerRegistry registry)
registry
- a facet label display handler registryCopyright © 2005–2017 Alfresco Software. All rights reserved.