|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dotmarketing.viewtools.CategoriesWebAPI
public class CategoriesWebAPI
| Constructor Summary | |
|---|---|
CategoriesWebAPI()
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
fetchCategoriesInodes(java.util.List<Category> cats)
|
java.util.List<java.lang.String> |
fetchCategoriesKeys(java.util.List<Category> cats)
|
java.util.List<java.lang.String> |
fetchCategoriesNames(java.util.List<Category> cats)
|
java.util.List<Category> |
filterCategoriesByUserPermissions(java.util.List<java.lang.Object> catInodes)
|
java.util.List<Category> |
getActiveChildrenCategories(Category cat)
|
java.util.List<Category> |
getActiveChildrenCategories(Inode inode)
|
java.util.List<Category> |
getActiveChildrenCategories(java.lang.String inode)
|
java.util.List<Category> |
getActiveChildrenCategoriesByKey(java.lang.String key)
|
java.util.List<Category> |
getActiveChildrenCategoriesByParent(java.util.ArrayList<java.lang.String> o)
|
java.util.List<Category> |
getActiveChildrenCategoriesOrderByName(Category cat)
|
java.util.List<Category> |
getActiveChildrenCategoriesOrderByName(Inode inode)
|
java.util.List<Category> |
getActiveChildrenCategoriesOrderByName(java.lang.String inode)
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getAllActiveChildrenCategories(Inode inode)
Retrieves a plain list of all the children categories (any depth) of the given parent inode The list returned is a list of maps, each map has the category and the level of this category belongs E.G. |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getAllActiveChildrenCategories(java.lang.String inode)
Retrieves a plain list of all the children categories (any depth) of the given parent inode The list returned is a list of maps, each map has the category and the level of this category belongs E.G. |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getAllActiveChildrenCategoriesByKey(java.lang.String key)
Retrieves a plain list of all the children categories (any depth) of the given parent category key The list returned is a list of maps, each map has the category and the level of this category belongs E.G. |
java.util.List<Category> |
getCategoriesByUser(com.liferay.portal.model.User user)
|
CategoryAPI |
getCategoryAPI()
|
Category |
getCategoryByInode(long inode)
Deprecated. |
Category |
getCategoryByInode(java.lang.String inode)
|
Category |
getCategoryByKey(java.lang.String key)
|
Category |
getCategoryByName(java.lang.String name)
Deprecated. Multiple categories can have the same name so this method should be avoid to search a single category |
java.lang.String |
getCategoryKeyByContentlet(long contentletInode)
Deprecated. |
java.lang.String |
getCategoryKeyByContentlet(java.lang.String contentletInode)
|
java.util.List<Category> |
getChildrenCategories(Category cat)
|
java.util.List<Category> |
getChildrenCategories(Inode inode)
|
java.util.List<Category> |
getChildrenCategories(java.lang.String inode)
|
java.util.List<Category> |
getChildrenCategoriesByKey(java.lang.String key)
|
java.util.List<Category> |
getInodeCategories(Inode inodeObj)
|
java.util.List<Category> |
getInodeCategories(java.lang.String inode)
|
void |
init(java.lang.Object obj)
|
void |
setCategoryAPI(CategoryAPI categoryAPI)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CategoriesWebAPI()
| Method Detail |
|---|
public CategoryAPI getCategoryAPI()
public void setCategoryAPI(CategoryAPI categoryAPI)
public void init(java.lang.Object obj)
init in interface org.apache.velocity.tools.view.tools.ViewToolpublic java.util.List<Category> getChildrenCategoriesByKey(java.lang.String key)
public Category getCategoryByKey(java.lang.String key)
public Category getCategoryByName(java.lang.String name)
name -
public java.util.List<Category> getChildrenCategories(Category cat)
public java.util.List<Category> getChildrenCategories(Inode inode)
public java.util.List<Category> getChildrenCategories(java.lang.String inode)
public java.util.List<Category> getActiveChildrenCategories(Category cat)
public java.util.List<Category> getActiveChildrenCategoriesByKey(java.lang.String key)
public java.util.List<Category> getActiveChildrenCategories(Inode inode)
public java.util.List<Category> getActiveChildrenCategories(java.lang.String inode)
public java.util.List<Category> getActiveChildrenCategoriesOrderByName(Category cat)
public java.util.List<Category> getActiveChildrenCategoriesOrderByName(Inode inode)
public java.util.List<Category> getActiveChildrenCategoriesOrderByName(java.lang.String inode)
public java.util.List<Category> getActiveChildrenCategoriesByParent(java.util.ArrayList<java.lang.String> o)
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAllActiveChildrenCategoriesByKey(java.lang.String key)
key - parent category key
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAllActiveChildrenCategories(Inode inode)
inode - parent inode
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAllActiveChildrenCategories(java.lang.String inode)
inode - parent inode
public java.util.List<Category> getInodeCategories(java.lang.String inode)
public java.util.List<Category> getInodeCategories(Inode inodeObj)
public Category getCategoryByInode(java.lang.String inode)
@Deprecated public Category getCategoryByInode(long inode)
@Deprecated public java.lang.String getCategoryKeyByContentlet(long contentletInode)
public java.lang.String getCategoryKeyByContentlet(java.lang.String contentletInode)
public java.util.List<Category> getCategoriesByUser(com.liferay.portal.model.User user)
public java.util.List<Category> filterCategoriesByUserPermissions(java.util.List<java.lang.Object> catInodes)
public java.util.List<java.lang.String> fetchCategoriesInodes(java.util.List<Category> cats)
public java.util.List<java.lang.String> fetchCategoriesNames(java.util.List<Category> cats)
public java.util.List<java.lang.String> fetchCategoriesKeys(java.util.List<Category> cats)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||