|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.stock.service.CategoryService
public class CategoryService
| Method Summary | |
|---|---|
void |
doCreateCategory(Category category,
javax.servlet.http.HttpServletRequest request)
|
void |
doDeleteCategory(int nIdCategory)
|
void |
doModifyCategory(Category category,
javax.servlet.http.HttpServletRequest request)
|
java.util.List<Category> |
findByFilter(CategoryFilter filter)
|
Category |
getCategory(int nIdCategory)
|
java.lang.String |
getCategoryClass()
|
Category |
getCategoryWithChildren(java.lang.Integer idCategory)
Finds a category and all his subcategories and fetch children |
Category |
getCategoryWithParent(int nIdCategory)
Finds a category and fetch parent |
java.lang.String |
getCreateTemplate()
|
java.lang.String |
getDeleteJsp()
Return the jsp for deleting a product |
static CategoryService |
getInstance()
|
java.lang.String |
getModifyTemplate()
|
ObjectDefinition |
getObjectDefinition()
Return the ObjectDefinition object of the service |
void |
init()
|
void |
initModelForModification(int nIdCategory,
java.util.Map<java.lang.String,java.lang.Object> model)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CategoryService getInstance()
public java.lang.String getCreateTemplate()
getCreateTemplate in interface ICategoryServicepublic java.lang.String getModifyTemplate()
getModifyTemplate in interface ICategoryServicepublic java.lang.String getDeleteJsp()
getDeleteJsp in interface ICategoryServicepublic java.lang.String getCategoryClass()
getCategoryClass in interface ICategoryServicepublic void init()
init in interface ICategoryService
public void doCreateCategory(Category category,
javax.servlet.http.HttpServletRequest request)
doCreateCategory in interface ICategoryService
public void doModifyCategory(Category category,
javax.servlet.http.HttpServletRequest request)
doModifyCategory in interface ICategoryServicepublic void doDeleteCategory(int nIdCategory)
doDeleteCategory in interface ICategoryService
public void initModelForModification(int nIdCategory,
java.util.Map<java.lang.String,java.lang.Object> model)
initModelForModification in interface ICategoryServicepublic Category getCategory(int nIdCategory)
getCategory in interface ICategoryServicepublic Category getCategoryWithParent(int nIdCategory)
getCategoryWithParent in interface ICategoryServicepublic ObjectDefinition getObjectDefinition()
getObjectDefinition in interface ICategoryServicepublic Category getCategoryWithChildren(java.lang.Integer idCategory)
getCategoryWithChildren in interface ICategoryServiceidCategory - the id of upper category
public java.util.List<Category> findByFilter(CategoryFilter filter)
findByFilter in interface ICategoryService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||