public class TaxonomyFactoryImpl extends BaseFactory implements TaxonomyFactory
| Modifier and Type | Field and Description |
|---|---|
protected Serializer |
serializer |
protected TaxonomyProvider |
taxonomyProvider |
cacheProvider, processors| Constructor and Description |
|---|
TaxonomyFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
Serializer |
getSerializer() |
Keyword |
getTaxonomy(String taxonomyURI)
Returns the root Keyword of Taxonomy by reading the specified taxonomy from the local cache or from the
Taxonomy provider, if not found in cache.
|
Keyword |
getTaxonomyFilterBySchema(String taxonomyURI,
String schemaURI)
Returns the root Keyword of Taxonomy by reading the specified taxonomy from the local cache or from the
Taxonomy provider, if not found in cache.
|
void |
setCacheProvider(PayloadCacheProvider cacheProvider)
Set the cache agent.
|
void |
setSerializer(Serializer serializer) |
void |
setTaxonomyProvider(TaxonomyProvider taxonomyProvider) |
executeProcessors, getProcessors, setProcessorsprotected TaxonomyProvider taxonomyProvider
protected Serializer serializer
public Keyword getTaxonomy(String taxonomyURI) throws IOException
getTaxonomy in interface TaxonomyFactorytaxonomyURI - String representing the taxonomy TCMURI to readIOException - if said taxonomy cannot be found or an error occurred while fetching itpublic Keyword getTaxonomyFilterBySchema(String taxonomyURI, String schemaURI) throws IOException
getTaxonomyFilterBySchema in interface TaxonomyFactorytaxonomyURI - String representing the taxonomy TCMURI to readschemaURI - String representing the filter for classified related Components to return for each KeywordIOException - if said taxonomy cannot be found or an error occurred while fetching itpublic void setCacheProvider(PayloadCacheProvider cacheProvider)
BaseFactorysetCacheProvider in class BaseFactorypublic void setTaxonomyProvider(TaxonomyProvider taxonomyProvider)
public Serializer getSerializer()
public void setSerializer(Serializer serializer)
Copyright © 2017. All rights reserved.