| Package | Description |
|---|---|
| org.jahia.data.beans | |
| org.jahia.services.categories | |
| org.jahia.services.categories.jcr | |
| org.jahia.services.importexport |
| Modifier and Type | Method and Description |
|---|---|
Category |
CategoryBean.getCategory() |
| Modifier and Type | Method and Description |
|---|---|
static Set<CategoryBean> |
CategoryBean.getCategoryBeans(Set<Category> categories) |
| Constructor and Description |
|---|
CategoryBean(Category category)
Constructor for wrapper
|
| Modifier and Type | Method and Description |
|---|---|
abstract Category |
CategoryService.addCategory(String key,
Category parentCategory)
Add a new category under a specified category.
|
Category |
CategoryServiceImpl.addCategory(String key,
Category parentCategory) |
static Category |
Category.createCategory(String key,
Category parentCategory)
New category constructor.
|
static Category |
Category.getCategory(String key) |
Category |
CategoryServiceImpl.getCategory(String key,
Category parentCategory) |
static Category |
Category.getCategory(String key,
JahiaUser p) |
abstract Category |
CategoryService.getCategoryByPath(String categoryPath) |
Category |
CategoryServiceImpl.getCategoryByPath(String categoryPath) |
static Category |
Category.getCategoryByPath(String categoryPath,
JahiaUser p) |
abstract Category |
CategoryService.getCategoryByUUID(String categoryUUID) |
Category |
CategoryServiceImpl.getCategoryByUUID(String categoryUUID) |
static Category |
Category.getCategoryByUUID(String categoryUUID) |
static Category |
Category.getCategoryByUUID(String categoryUUID,
JahiaUser p) |
static Category |
Category.getChildInstance(String IDInType) |
static Category |
Category.getChildInstance(String IDInType,
JahiaUser p) |
static Category |
Category.getLastCategoryNode(String path)
The last category node for a category path of the form /root/catKey1/catKeyB
|
| Modifier and Type | Method and Description |
|---|---|
abstract List<Category> |
CategoryService.findCategoriesByPropNameAndValue(String propName,
String propValue,
JahiaUser user) |
List<Category> |
CategoryServiceImpl.findCategoriesByPropNameAndValue(String propName,
String propValue,
JahiaUser user) |
static List<Category> |
Category.findCategoriesByPropNameAndValue(String propName,
String propValue,
JahiaUser p)
Finds categories by specifying property name and
property value.
|
abstract List<Category> |
CategoryService.getCategoriesContainingStringInTitle(String string,
String languageCode)
Retrieves the list of categories which have a title that contains a given String.
|
List<Category> |
CategoryServiceImpl.getCategoriesContainingStringInTitle(String string,
String languageCode) |
static List<Category> |
Category.getCategoriesContainingStringInTitle(String string,
String rootCategoryKey,
String languageCode,
JahiaUser p) |
static List<Category> |
Category.getCategoriesWithKeyPrefix(String keyPrefix,
String rootCategoryKey,
JahiaUser p) |
static List<Category> |
Category.getCategoriesWithtitlePrefix(String titlePrefix,
String rootCategoryKey,
String languageCode,
JahiaUser p) |
abstract List<Category> |
CategoryService.getCategory(String key) |
List<Category> |
CategoryServiceImpl.getCategory(String key) |
abstract List<Category> |
CategoryService.getCategoryChildCategories(Category parentCategory,
JahiaUser user)
Retrieves the child category keys that are associated with the given
parent category.
|
List<Category> |
CategoryServiceImpl.getCategoryChildCategories(Category parentCategory,
JahiaUser user) |
abstract List<Category> |
CategoryService.getCategoryStartingByKeyPrefix(String keyPrefix)
Retrieves the list of categories which have a categoryKey that starts with a given prefix.
|
List<Category> |
CategoryServiceImpl.getCategoryStartingByKeyPrefix(String keyPrefix) |
abstract List<Category> |
CategoryService.getCategoryStartingByTitlePrefix(String titlePrefix,
String languageCode)
Retrieves the list of categories which have a title that starts with a given prefix.
|
List<Category> |
CategoryServiceImpl.getCategoryStartingByTitlePrefix(String titlePrefix,
String languageCode) |
List<Category> |
Category.getChildCategories()
Retrieves the list of child category keys for this category.
|
List<Category> |
Category.getChildCategories(boolean recursive)
Retrieves the list of child category keys for this category.
|
List<Category> |
Category.getChildCategories(JahiaUser p)
Retrieves the list of child categories for this category and at the same
time checking permissions for the principal.
|
abstract Set<Category> |
CategoryService.getObjectCategories(ObjectKey objectKey)
Returns a set of categories with which this object is associated.
|
Set<Category> |
CategoryServiceImpl.getObjectCategories(ObjectKey objectKey) |
static Set<Category> |
Category.getObjectCategories(ObjectKey objectKey)
Returns a set of categories with which this object is associated.
|
List<Category> |
Category.getParentCategories() |
List<Category> |
Category.getParentCategories(JahiaUser p)
Retrieves the list of parent categories for this category, checking the
rights if a principal is specified.
|
abstract List<Category> |
CategoryService.getRootCategories(JahiaUser user) |
List<Category> |
CategoryServiceImpl.getRootCategories(JahiaUser user) |
static List<Category> |
Category.getRootCategories(JahiaUser p) |
| Modifier and Type | Method and Description |
|---|---|
abstract Category |
CategoryService.addCategory(String key,
Category parentCategory)
Add a new category under a specified category.
|
Category |
CategoryServiceImpl.addCategory(String key,
Category parentCategory) |
abstract void |
CategoryService.addObjectKeyToCategory(Category parentCategory,
ObjectKey childKey)
Associate a category with an object key
|
void |
CategoryServiceImpl.addObjectKeyToCategory(Category parentCategory,
ObjectKey childKey) |
static Category |
Category.createCategory(String key,
Category parentCategory)
New category constructor.
|
static void |
Category.getAllChildrenCategoriesFrom(Category startCategory,
JahiaUser p,
List<Category> result) |
Category |
CategoryServiceImpl.getCategory(String key,
Category parentCategory) |
abstract List<Category> |
CategoryService.getCategoryChildCategories(Category parentCategory,
JahiaUser user)
Retrieves the child category keys that are associated with the given
parent category.
|
List<Category> |
CategoryServiceImpl.getCategoryChildCategories(Category parentCategory,
JahiaUser user) |
abstract List<ObjectKey> |
CategoryService.getCategoryChildKeys(Category parentCategory)
Retrieves the child object keys that are associated with the given
parent category.
|
List<ObjectKey> |
CategoryServiceImpl.getCategoryChildKeys(Category parentCategory) |
abstract List<ObjectKey> |
CategoryService.getCategoryParentKeys(Category childCategory)
Retrieves the parent object keys that are associated with the given
child category.
|
List<ObjectKey> |
CategoryServiceImpl.getCategoryParentKeys(Category parentCategory) |
abstract String |
CategoryService.getTitleForCategory(Category category,
Locale locale)
Retrieves a title in a certain locale for a category.
|
String |
CategoryServiceImpl.getTitleForCategory(Category category,
Locale locale) |
abstract Map<String,String> |
CategoryService.getTitlesForCategory(Category category)
Retrieves all titles in all locales for a category.
|
Map<String,String> |
CategoryServiceImpl.getTitlesForCategory(Category category) |
abstract void |
CategoryService.removeCategory(Category category)
Removes a category and all the associations with it, including all the
title translations.
|
void |
CategoryServiceImpl.removeCategory(Category category) |
abstract void |
CategoryService.removeObjectKeyFromCategory(Category parentCategory,
ObjectKey childKey)
Remove an association between a category and an object key
|
void |
CategoryServiceImpl.removeObjectKeyFromCategory(Category parentCategory,
ObjectKey childKey) |
abstract void |
CategoryService.removeTitleForCategory(Category category,
Locale locale)
Remove a title for a category in a given locale.
|
void |
CategoryServiceImpl.removeTitleForCategory(Category category,
Locale locale) |
abstract void |
CategoryService.setTitleForCategory(Category category,
Locale locale,
String title)
Set a title for a category in a given locale.
|
void |
CategoryServiceImpl.setTitleForCategory(Category category,
Locale locale,
String title) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Category.getAllChildrenCategoriesFrom(Category startCategory,
JahiaUser p,
List<Category> result) |
| Modifier and Type | Method and Description |
|---|---|
Category |
JCRCategoryProvider.createCategory(String key,
Category parentCategory)
This is the method that creates a new category in the system, with all the specified attributes.
|
Category |
JCRCategoryProvider.getCategoryByKey(String categoryKey,
Category parentCategory)
Get child category within a parent category (or null for root) by its key
|
Category |
JCRCategoryProvider.getCategoryByPath(String categoryPath)
Get category by path
|
Category |
JCRCategoryProvider.getCategoryByUUID(String categoryUUID)
Get category by its ID
|
| Modifier and Type | Method and Description |
|---|---|
List<Category> |
JCRCategoryProvider.findCategoriesByPropNameAndValue(String propName,
String propValue,
JahiaUser user)
Find category by property name and value (not supported yet, as properties are dropped and will be replaced by category references)
|
List<Category> |
JCRCategoryProvider.findCategoriesContainingTitleString(String title,
String language)
Find categories containing term in title and language anywhere in the tree
|
List<Category> |
JCRCategoryProvider.findCategoriesStartingByKey(String categoryKey)
Find categories by its key prefix anywhere in the tree
|
List<Category> |
JCRCategoryProvider.findCategoriesStartingByTitle(String titlePrefix,
String language)
Find categories by its title prefix and language anywhere in the tree
|
List<Category> |
JCRCategoryProvider.findCategoryByKey(String categoryKey)
Find categories by its key anywhere in the tree
|
List<Category> |
JCRCategoryProvider.getCategoryChildCategories(Category parentCategory,
JahiaUser user)
Get all child categories from a parent category a user is able to see
|
List<Category> |
JCRCategoryProvider.getRootCategories(JahiaUser user)
Get all root categories accessible by the given user
|
| Modifier and Type | Method and Description |
|---|---|
Category |
JCRCategoryProvider.createCategory(String key,
Category parentCategory)
This is the method that creates a new category in the system, with all the specified attributes.
|
Category |
JCRCategoryProvider.getCategoryByKey(String categoryKey,
Category parentCategory)
Get child category within a parent category (or null for root) by its key
|
List<Category> |
JCRCategoryProvider.getCategoryChildCategories(Category parentCategory,
JahiaUser user)
Get all child categories from a parent category a user is able to see
|
String |
JCRCategoryProvider.getTitleForCategory(Category category,
Locale locale)
Get the category title in the specified language
|
Map<String,String> |
JCRCategoryProvider.getTitlesForCategory(Category category)
Get the category title in all languages.
|
void |
JCRCategoryProvider.removeTitleForCategory(Category category,
Locale locale)
Remove category title for specified language
|
void |
JCRCategoryProvider.setTitleForCategory(Category category,
Locale locale,
String title)
Set category title in specified language
|
| Modifier and Type | Method and Description |
|---|---|
void |
ImportExportService.importCategories(Category rootCategory,
InputStream is)
Performs the import of categories from the provided import stream into the specified root category.
|
void |
ImportExportBaseService.importCategories(Category rootCategory,
InputStream is) |
void |
CategoriesImportHandler.setRootCategory(Category cat) |
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.