Package org.javlo.data.taxonomy
Class TaxonomyServiceAgregation
- java.lang.Object
-
- org.javlo.data.taxonomy.TaxonomyServiceAgregation
-
public class TaxonomyServiceAgregation extends Object
-
-
Constructor Summary
Constructors Constructor Description TaxonomyServiceAgregation(TaxonomyService... services)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TaxonomyBean>
convert(Collection<String> ids)
convert list of taxonomybean id to a list of taxonomybean instance.TaxonomyBean
getBean(String id)
List<IListItem>
getList(ContentContext ctx, String path)
TaxonomyBean
getRoot()
String
getSelectHtml()
String
getSelectHtml(String name, String cssClass, Collection<String> selection, boolean multiple)
String
getSelectHtml(String name, Collection<String> selection)
String
getSelectHtml(Collection<String> selection)
boolean
isActive()
boolean
isMatch(ITaxonomyContainer cont1, ITaxonomyContainer cont2)
boolean
isMatchWidthParent(ITaxonomyContainer cont1, ITaxonomyContainer cont2)
-
-
-
Constructor Detail
-
TaxonomyServiceAgregation
public TaxonomyServiceAgregation(TaxonomyService... services)
-
-
Method Detail
-
isActive
public boolean isActive()
-
getRoot
public TaxonomyBean getRoot()
-
getBean
public TaxonomyBean getBean(String id)
-
getSelectHtml
public String getSelectHtml()
-
getSelectHtml
public String getSelectHtml(Collection<String> selection)
-
getSelectHtml
public String getSelectHtml(String name, Collection<String> selection)
-
getSelectHtml
public String getSelectHtml(String name, String cssClass, Collection<String> selection, boolean multiple)
-
convert
public List<TaxonomyBean> convert(Collection<String> ids)
convert list of taxonomybean id to a list of taxonomybean instance.- Parameters:
ids
-- Returns:
-
isMatchWidthParent
public boolean isMatchWidthParent(ITaxonomyContainer cont1, ITaxonomyContainer cont2)
-
isMatch
public boolean isMatch(ITaxonomyContainer cont1, ITaxonomyContainer cont2)
-
getList
public List<IListItem> getList(ContentContext ctx, String path)
-
-