public class TaxonomyFactory extends Object
TaxonomyElement
objects. The TaxonomyElement
is a universal descriptor of elements in the Taxonomy.
Constructor and Description |
---|
TaxonomyFactory()
This creates a new instance of the TaxonomyFactory and instantiates a TaxonomyHome.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getTaxonomies(String publicationURI)
This method retrieves a list of Taxonomies, and returns the
TCMURI as String. |
Keyword |
getTaxonomyKeyword(String keywordURI)
This allows the retrieval of a specific keyword in a specific Taxonomy.
|
Keyword |
getTaxonomyKeywords(String taxonomyURI)
This retrieves a taxonomy and returns a tree of Keywords.
|
Keyword |
getTaxonomyKeywords(String taxonomyURI,
TaxonomyFilter taxonomyFilter)
This retrieves a specific Taxonomy and applies a set of Filters on this Taxonomy.
|
Keyword |
getTaxonomyKeywords(String taxonomyURI,
TaxonomyFilter taxonomyFilter,
String keywordContextURI)
This retrieves a Taxonomy from the specified Keyword and applies a set of Filters on this Taxonomy.
|
Keyword |
getTaxonomyKeywords(String taxonomyURI,
TaxonomyFilter taxonomyFilter,
String contextKeyword,
Keyword[] selectedKeywords)
This retrieves a specific Taxonomy from a specified Context Keyword and applies a set of Filters on this
Taxonomy.
|
Keyword |
getTaxonomyKeywords(String taxonomyURI,
TaxonomyFilter taxonomyFilter,
String contextElementURI,
Keyword[] selectedKeywords,
TaxonomyFormatter taxonomyFormatter)
This retrieves a specific Taxonomy from a specified Context Keyword and applies a set of Filters on this
Taxonomy.
|
Keyword |
getTaxonomyKeywords(String taxonomyURI,
TaxonomyFilter taxonomyFilter,
String contextElementURI,
TaxonomyFormatter taxonomyFormatter)
This retrieves a Taxonomy from the specified Keyword and applies a set of Filters on this Taxonomy.
|
Keyword |
getTaxonomyKeywords(String taxonomyURI,
TaxonomyFilter taxonomyFilter,
TaxonomyFormatter taxonomyFormatter)
This retrieves a specific Taxonomy and applies a set of Filters on this Taxonomy.
|
Keyword |
getTaxonomyKeywords(String taxonomyURI,
TaxonomyFormatter taxonomyFormatter)
This retrieves a taxonomy and returns a tree of Keywords.
|
public TaxonomyFactory()
public String[] getTaxonomies(String publicationURI)
TCMURI
as String.publicationURI
- The publication to search forpublic Keyword getTaxonomyKeywords(String taxonomyURI)
taxonomyURI
- The uri of the Taxonomy to build a tree forpublic Keyword getTaxonomyKeywords(String taxonomyURI, TaxonomyFormatter taxonomyFormatter)
taxonomyURI
- The uri of the Taxonomy to build a tree fortaxonomyFormatter
- The formatter used to format the resultpublic Keyword getTaxonomyKeywords(String taxonomyURI, TaxonomyFilter taxonomyFilter)
taxonomyURI
- The taxonomy to retrieve and apply filtering ontaxonomyFilter
- The TaxonomyFilter container, containing all the filters to applypublic Keyword getTaxonomyKeywords(String taxonomyURI, TaxonomyFilter taxonomyFilter, TaxonomyFormatter taxonomyFormatter)
taxonomyURI
- The taxonomy to retrieve and apply filtering ontaxonomyFilter
- The TaxonomyFilter container, containing all the filters to applytaxonomyFormatter
- The formatter used to format the resultpublic Keyword getTaxonomyKeywords(String taxonomyURI, TaxonomyFilter taxonomyFilter, String keywordContextURI)
taxonomyURI
- The taxonomy to retrieve and apply filtering ontaxonomyFilter
- The TaxonomyFilter container, containing all the filters to applykeywordContextURI
- The Context Keyword to use as the entry point for the Taxonomypublic Keyword getTaxonomyKeywords(String taxonomyURI, TaxonomyFilter taxonomyFilter, String contextElementURI, TaxonomyFormatter taxonomyFormatter)
taxonomyURI
- The taxonomy to retrieve and apply filtering ontaxonomyFilter
- The TaxonomyFilter container, containing all the filters to applycontextElementURI
- The Taxonomy ContextElement to use as the starting pointtaxonomyFormatter
- The formatter used to format the resultpublic Keyword getTaxonomyKeywords(String taxonomyURI, TaxonomyFilter taxonomyFilter, String contextKeyword, Keyword[] selectedKeywords)
taxonomyURI
- The taxonomy to retrieve and apply filtering ontaxonomyFilter
- The TaxonomyFilter container, containing all the filters to applycontextKeyword
- The Context Keyword to use as the entry point for the TaxonomyselectedKeywords
- The keywords which are already selected, so the counted references are correct for the
found keywordspublic Keyword getTaxonomyKeywords(String taxonomyURI, TaxonomyFilter taxonomyFilter, String contextElementURI, Keyword[] selectedKeywords, TaxonomyFormatter taxonomyFormatter)
taxonomyURI
- The taxonomy to retrieve and apply filtering ontaxonomyFilter
- The TaxonomyFilter container, containing all the filters to applycontextElementURI
- The Context Keyword to use as the entry point for the TaxonomyselectedKeywords
- The keywords which are already selected, so the counted references are correct for
the found keywordspublic Keyword getTaxonomyKeyword(String keywordURI)
keywordURI
- The keywordURI to retrieve from the TaxonomyCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries