Uses of Class
org.opencms.relations.CmsCategory
Package
Description
Provides core support for GWT.
Core shared stuff.
Utility classes to be used for JSP pages.
Classes to represent and validate the internal and external links/relations of resources in the OpenCms VFS.
Implements the main full text search and indexing functions available in OpenCms.
The package contains the Solr search integration.
-
Uses of CmsCategory in org.opencms.gwt
Modifier and TypeMethodDescriptionstatic List<CmsCategoryTreeEntry>
CmsCoreService.buildCategoryTree
(CmsObject cms, List<CmsCategory> categories) Builds the tree structure for the given categories. -
Uses of CmsCategory in org.opencms.jsp.util
Modifier and TypeMethodDescriptionCmsJspCategoryAccessBean.getAllItems()
Returns all wrapped categories.CmsJspCategoryAccessBean.getLeafItems()
Returns only the leaf categories of the wrapped categories.CmsJspStandardContextBean.getReadCategory()
Transforms the category path of a category to the category.CmsJspStandardContextBean.getReadPathCategories()
Transforms the category path to the list of all categories on that path.CmsJspCategoryAccessBean.getTopItems()
Returns all categories that are direct children of the current main category. -
Uses of CmsCategory in org.opencms.relations
Modifier and TypeMethodDescriptionCmsCategoryService.createCategory
(CmsObject cms, CmsCategory parent, String name, String title, String description, String referencePath) Creates a new category.CmsCategoryService.getCategory
(CmsObject cms, String categoryRootPath) Creates a category from the given category root path.CmsCategoryService.getCategory
(CmsObject cms, CmsResource resource) Creates a category from the given resource.CmsCategoryService.localizeCategory
(CmsObject cms, CmsCategory category, Locale locale) Localizes a single category by reading its locale-specific properties for title and description, if possible.CmsCategoryService.readCategory
(CmsObject cms, String categoryPath, String referencePath) Reads all categories identified by the given category path for the given reference path.Modifier and TypeMethodDescriptionCmsCategoryService.localizeCategories
(CmsObject cms, List<CmsCategory> categories, Locale locale) Localizes a list of categories by reading locale-specific properties for their title and description, if possible.CmsCategoryService.readCategories
(CmsObject cms, String parentCategoryPath, boolean includeSubCats, String referencePath) Returns all categories given some search parameters.CmsCategoryService.readCategoriesForRepositories
(CmsObject cms, String parentCategoryPath, boolean includeSubCats, List<String> repositories) Returns all categories given some search parameters.CmsCategoryService.readCategoriesForRepositories
(CmsObject cms, String parentCategoryPath, boolean includeSubCats, List<String> repositories, boolean includeRepositories) Returns all categories given some search parameters.CmsCategoryService.readResourceCategories
(CmsObject cms, String resourceName) Reads the categories for a resource identified by the given resource name.CmsCategoryService.readResourceCategories
(CmsObject cms, CmsResource resource) Reads the categories for a resource.Modifier and TypeMethodDescriptionvoid
CmsCategoryService.addResourceToCategory
(CmsObject cms, String resourceName, CmsCategory category) Adds a resource identified by the given resource name to the given category.int
CmsCategory.compareTo
(CmsCategory cat) CmsCategoryService.createCategory
(CmsObject cms, CmsCategory parent, String name, String title, String description, String referencePath) Creates a new category.CmsCategoryService.localizeCategory
(CmsObject cms, CmsCategory category, Locale locale) Localizes a single category by reading its locale-specific properties for title and description, if possible.void
CmsCategoryService.removeResourceFromCategory
(CmsObject cms, String resourceName, CmsCategory category) Removes a resource identified by the given resource name from the given category.Modifier and TypeMethodDescriptionCmsCategoryService.localizeCategories
(CmsObject cms, List<CmsCategory> categories, Locale locale) Localizes a list of categories by reading locale-specific properties for their title and description, if possible.ModifierConstructorDescriptionCmsCategory
(CmsCategory other, String title, String description) Creates a new category based on another one, keeping everything except title and description, which are passed in separately. -
Uses of CmsCategory in org.opencms.search
Modifier and TypeMethodDescriptionvoid
CmsLuceneDocument.addCategoryField
(List<CmsCategory> categories) void
I_CmsSearchDocument.addCategoryField
(List<CmsCategory> categories) Adds the list of the given categories to this document. -
Uses of CmsCategory in org.opencms.search.solr
Modifier and TypeMethodDescriptionvoid
CmsSolrDocument.addCategoryField
(List<CmsCategory> categories) -
Uses of CmsCategory in org.opencms.ui.components.categoryselect
Modifier and TypeMethodDescriptionCmsCategoryTree.getSelectedCategories()
Returns the selected categories.Modifier and TypeMethodDescriptionvoid
CmsCategorySelectDialog.addSelectionHandler
(I_CmsSelectionHandler<Collection<CmsCategory>> selectionHandler) Adds a selection handler.void
CmsCategorySelectField.onSelection
(Collection<CmsCategory> selected) void
CmsCategorySelectDialog.removeSelectionHandler
(I_CmsSelectionHandler<Collection<CmsCategory>> selectionHandler) Removes a selection handler.void
CmsCategoryTree.setCategories
(List<CmsCategory> categories) Fills the category tree.void
CmsCategorySelectDialog.setSelectedCategories
(Collection<CmsCategory> categories) Sets the selected categories.void
CmsCategoryTree.setSelectedCategories
(Collection<CmsCategory> categories) Sets the selected categories.