public class BrokerTaxonomyProvider extends BaseBrokerProvider implements TaxonomyProvider
cacheProvider, contentIsBase64Encoded, contentIsCompressed| Constructor and Description |
|---|
BrokerTaxonomyProvider() |
| Modifier and Type | Method and Description |
|---|---|
List<com.tridion.storage.RelatedKeyword> |
getRelatedComponentsBySchema(String taxonomyURI,
String schemaURI)
Returns a list of RelatedKeyword objects representing the usage of each Keyword under the given taxonomy URI
and its direct using item.
|
List<com.tridion.storage.RelatedKeyword> |
getRelatedItems(String taxonomyURI,
int itemType)
Returns a list of RelatedKeyword objects representing the usage of each Keyword under the given taxonomy URI
and its direct using item.
|
com.tridion.taxonomies.Keyword |
getTaxonomy(String taxonomyURI)
Retrieves the Keyword object model with all its Parent/Children relationships resloved.
|
String |
getTaxonomyByURI(String taxonomyURI,
boolean resolveContent) |
String |
getTaxonomyFilterBySchema(String taxonomyURI,
String schemaURI) |
convertStreamToString, decodeAndDecompressContent, encodeUrl, getKey, isContentIsBase64Encoded, setCacheProvider, setContentIsBase64Encoded, setContentIsCompressedpublic com.tridion.taxonomies.Keyword getTaxonomy(String taxonomyURI) throws com.tridion.broker.StorageException
taxonomyURI - String representing the taxonomy TCMURIcom.tridion.broker.StorageException - if something went wrong during accessing the CD DBpublic List<com.tridion.storage.RelatedKeyword> getRelatedItems(String taxonomyURI, int itemType) throws ParseException, com.tridion.broker.StorageException
taxonomyURI - String representing the root taxonomy Keyword TCMURIitemType - int representing the item type id to retrieveParseException - if the given Keyword URI does not represent a valid TCMURIcom.tridion.broker.StorageException - if something went wrong during accessing the CD DBpublic List<com.tridion.storage.RelatedKeyword> getRelatedComponentsBySchema(String taxonomyURI, String schemaURI) throws ParseException, com.tridion.broker.StorageException
taxonomyURI - String representing the root taxonomy Keyword TCMURIschemaURI - String representing the filter for classified related Components to return for each KeywordParseException - if the given Keyword URI does not represent a valid TCMURIcom.tridion.broker.StorageException - if something went wrong during accessing the CD DBpublic String getTaxonomyByURI(String taxonomyURI, boolean resolveContent) throws org.dd4t.core.exceptions.ItemNotFoundException, org.dd4t.core.exceptions.SerializationException
getTaxonomyByURI in interface TaxonomyProviderorg.dd4t.core.exceptions.ItemNotFoundExceptionorg.dd4t.core.exceptions.SerializationExceptionpublic String getTaxonomyFilterBySchema(String taxonomyURI, String schemaURI) throws org.dd4t.core.exceptions.ItemNotFoundException, org.dd4t.core.exceptions.SerializationException
getTaxonomyFilterBySchema in interface TaxonomyProviderorg.dd4t.core.exceptions.ItemNotFoundExceptionorg.dd4t.core.exceptions.SerializationExceptionCopyright © 2017. All rights reserved.