|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dotmarketing.portlets.categories.ajax.CategoryAjax
public class CategoryAjax
| Constructor Summary | |
|---|---|
CategoryAjax()
|
|
| Method Summary | |
|---|---|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
findChildrenCategories(java.lang.String catInode,
java.lang.String filter)
Returns all sub-categories multiple levels depth of the given parent category, it returns them on a single list adding to each category a property that denotes depth |
CategoryAPI |
getCategoryAPI()
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getChildrenCategories(java.lang.String catName)
Deprecated. use getChildrenCategories(String catName, String filter) instead |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getChildrenCategories(java.lang.String categoryInode,
java.lang.String filter)
Returns all the sub-categories multiple levels depth of the given category |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getEntityCategories(java.lang.String entityName,
java.lang.String filter)
Returns all the categories and sub-categories of the given entity |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getSubCategories(java.lang.String cat,
java.lang.String filter)
Returns all the sub-categories multiple levels depth of the given category |
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 CategoryAjax()
| Method Detail |
|---|
public CategoryAPI getCategoryAPI()
public void setCategoryAPI(CategoryAPI categoryAPI)
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getEntityCategories(java.lang.String entityName,
java.lang.String filter)
throws DotDataException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
DotSecurityException
entityName - The name of the entity to search overfilter - A regular expression to use as filter if null, then no filter will be applied
DotDataException
DotSecurityException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getSubCategories(java.lang.String cat,
java.lang.String filter)
throws DotDataException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
DotSecurityException
catName - The inode/key/name of the parent category
DotDataException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
DotSecurityException
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getChildrenCategories(java.lang.String catName)
throws DotDataException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
DotSecurityException
catName - The name of the parent category
DotDataException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
DotSecurityException
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getChildrenCategories(java.lang.String categoryInode,
java.lang.String filter)
throws DotDataException,
DotSecurityException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException
category - tries first to parse by inode, if not tries by key if not tries by name, passing the name of a category is
discouraged and could be removed in later versionsfilter - A filter regular expression
DotDataException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
DotSecurityException
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> findChildrenCategories(java.lang.String catInode,
java.lang.String filter)
throws DotDataException,
DotSecurityException,
com.liferay.portal.PortalException,
com.liferay.portal.SystemException
catName - The name of the parent categoryfilter - A regular expression to use as filter if null, then no filter will be applied
DotDataException
DotSecurityException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||