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