|
||||||||||
| 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<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> |
getAllCategoriesListByEntityName(java.lang.String entityName)
|
java.lang.String |
getCategoriesByEntityName(java.lang.String parameterName,
java.lang.String entityName,
boolean displayTitle,
boolean multipleValues,
int size)
Deprecated. |
java.lang.String |
getCategoriesByEntityName(java.lang.String parameterName,
java.lang.String entityName,
long[] selectedCategories,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
Deprecated. |
java.lang.String |
getCategoriesByEntityName(java.lang.String parameterName,
java.lang.String entityName,
long childInode,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
Deprecated. |
java.lang.String |
getCategoriesByEntityName(java.lang.String parameterName,
java.lang.String entityName,
java.lang.String[] selectCatsString,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
Deprecated. |
java.lang.String |
getCategoriesByEntityName(java.lang.String parameterName,
java.lang.String entityName,
java.lang.String childInode,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
|
java.lang.String |
getCategoriesByEntityNameTextMode(java.lang.String parameterName,
java.lang.String entityName,
long[] selectedCats,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
Deprecated. |
java.lang.String |
getCategoriesByEntityNameTextMode(java.lang.String parameterName,
java.lang.String entityName,
long childInode,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
Deprecated. |
java.lang.String |
getCategoriesByEntityNameTextMode(java.lang.String parameterName,
java.lang.String entityName,
java.lang.String[] selectCatsString,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
Deprecated. |
java.lang.String |
getCategoriesByEntityNameTextMode(java.lang.String parameterName,
java.lang.String entityName,
java.lang.String childInode,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
|
java.util.List<Category> |
getCategoriesByUser(com.liferay.portal.model.User user)
|
java.util.List<Category> |
getCategoriesListByEntityName(java.lang.String entityName)
|
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)
|
java.lang.String |
getSimpleCategoriesByEntityName(java.lang.String parameterName,
java.lang.String entityName,
long selectedCategory)
Deprecated. |
java.lang.String |
getSimpleComboByEntityName(java.lang.String parameterName,
java.lang.String entityName,
long selectedCategory)
Deprecated. |
void |
init(java.lang.Object obj)
Initializes this instance using the given data |
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)
org.apache.velocity.tools.view.tools.ViewTool
init in interface org.apache.velocity.tools.view.tools.ViewToolobj - the initialization data
@Deprecated
public java.lang.String getCategoriesByEntityName(java.lang.String parameterName,
java.lang.String entityName,
boolean displayTitle,
boolean multipleValues,
int size)
public java.util.List<Category> getCategoriesListByEntityName(java.lang.String entityName)
public java.util.List<Category> getAllCategoriesListByEntityName(java.lang.String entityName)
public 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 java.lang.String getCategoriesByEntityName(java.lang.String parameterName,
java.lang.String entityName,
java.lang.String childInode,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
@Deprecated
public java.lang.String getCategoriesByEntityName(java.lang.String parameterName,
java.lang.String entityName,
long childInode,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
parameterName - value of the "name" attribute for the
@Deprecated
public java.lang.String getCategoriesByEntityName(java.lang.String parameterName,
java.lang.String entityName,
long[] selectedCategories,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
parameterName - value of the "name" attribute for the
@Deprecated
public java.lang.String getCategoriesByEntityName(java.lang.String parameterName,
java.lang.String entityName,
java.lang.String[] selectCatsString,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
parameterName - value of the "name" attribute for the
@Deprecated
public java.lang.String getCategoriesByEntityNameTextMode(java.lang.String parameterName,
java.lang.String entityName,
long[] selectedCats,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
@Deprecated
public java.lang.String getCategoriesByEntityNameTextMode(java.lang.String parameterName,
java.lang.String entityName,
long childInode,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
public java.lang.String getCategoriesByEntityNameTextMode(java.lang.String parameterName,
java.lang.String entityName,
java.lang.String childInode,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
@Deprecated
public java.lang.String getCategoriesByEntityNameTextMode(java.lang.String parameterName,
java.lang.String entityName,
java.lang.String[] selectCatsString,
boolean displayTitle,
boolean multipleValues,
int size,
boolean readonly)
@Deprecated
public java.lang.String getSimpleComboByEntityName(java.lang.String parameterName,
java.lang.String entityName,
long selectedCategory)
parameterName - value of the "name" attribute for the
@Deprecated
public java.lang.String getSimpleCategoriesByEntityName(java.lang.String parameterName,
java.lang.String entityName,
long selectedCategory)
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||