Liferay 6: How to get categories from a vocabulary
Here is a simple snippet that let you get all categories from a vocabulary. A vocabulary is always pinned to a group (either a simple group or to the global group of a company).
NB: you can use method “getVocabularyRootCategories” to get the level-0 categories of your vocabulary.