fr.paris.lutece.plugins.stock.web
Class StockJspBean

java.lang.Object
  extended by fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
      extended by fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
          extended by fr.paris.lutece.plugins.stock.web.StockJspBean

public class StockJspBean
extends fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean

This class provides the user interface to manage form features ( manage, create, modify, remove)


Field Summary
static java.lang.String RIGHT_MANAGE_STOCK
           
 
Constructor Summary
StockJspBean()
           
 
Method Summary
 java.lang.String doCreateCategory(javax.servlet.http.HttpServletRequest request, java.lang.String strClassName)
          Process the data capture form of a new category
 java.lang.String doCreateProduct(javax.servlet.http.HttpServletRequest request, java.lang.String strProductClassName)
          Process the data capture form of a new product
 java.lang.String doDeleteCategory(javax.servlet.http.HttpServletRequest request, java.lang.String strCategoryClassName)
          Delete a category
 java.lang.String doDeleteProduct(javax.servlet.http.HttpServletRequest request, java.lang.String strProductClassName)
          Delete a product
 java.lang.String doModifyCategory(javax.servlet.http.HttpServletRequest request, java.lang.String strCategoryClassName)
          Process the data capture form to modify a category
 java.lang.String doModifyProduct(javax.servlet.http.HttpServletRequest request, java.lang.String strProductClassName)
          Process the data capture form to modify a product
 java.lang.String getCreateCategory(javax.servlet.http.HttpServletRequest request, java.lang.String strCategoryClassName)
          Returns the form to create a category
 java.lang.String getCreateProduct(javax.servlet.http.HttpServletRequest request, java.lang.String strProductClassName)
          Returns the form to create a product
 java.lang.String getDeleteCategory(javax.servlet.http.HttpServletRequest request, java.lang.String strProductClassName)
          Returns the confirmation message to delete a category
 java.lang.String getDeleteProduct(javax.servlet.http.HttpServletRequest request, java.lang.String strProductClassName)
          Returns the confirmation message to delete a product
static java.lang.String getJspManageProduct(javax.servlet.http.HttpServletRequest request)
          return url of the jsp manage product
 java.lang.String getManageCategories(javax.servlet.http.HttpServletRequest request)
           
 java.lang.String getManageCreationCategory(javax.servlet.http.HttpServletRequest request)
          Return the Html code for choosing the categorie type to create
 java.lang.String getManageCreationProduct(javax.servlet.http.HttpServletRequest request)
          Return the Html code for choosing the categorie type to create
 java.lang.String getManageProducts(javax.servlet.http.HttpServletRequest request)
          Return management page of product
 java.lang.String getManageStock(javax.servlet.http.HttpServletRequest request)
          Return management page of plugin stock
 java.lang.String getModifyCategory(javax.servlet.http.HttpServletRequest request, java.lang.String strCategoryClassName)
          Returns the form to modify a category
 java.lang.String getModifyProduct(javax.servlet.http.HttpServletRequest request, java.lang.String strProductClassName)
          Returns the form to modify a product
 
Methods inherited from class fr.paris.lutece.portal.web.admin.PluginAdminPageJspBean
getPlugin, init
 
Methods inherited from class fr.paris.lutece.portal.web.admin.AdminFeaturesPageJspBean
getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, setFeatureIcon, setPageTitleProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RIGHT_MANAGE_STOCK

public static final java.lang.String RIGHT_MANAGE_STOCK
See Also:
Constant Field Values
Constructor Detail

StockJspBean

public StockJspBean()
Method Detail

getManageStock

public java.lang.String getManageStock(javax.servlet.http.HttpServletRequest request)
Return management page of plugin stock

Parameters:
request - The Http request
Returns:
Html management page of plugin stock

getManageProducts

public java.lang.String getManageProducts(javax.servlet.http.HttpServletRequest request)
Return management page of product

Parameters:
request - The Http request
Returns:
Html management page of plugin stock

getManageCreationProduct

public java.lang.String getManageCreationProduct(javax.servlet.http.HttpServletRequest request)
Return the Html code for choosing the categorie type to create

Parameters:
request - The Http request
Returns:
the Html code for choosing the categorie type to create

getCreateProduct

public java.lang.String getCreateProduct(javax.servlet.http.HttpServletRequest request,
                                         java.lang.String strProductClassName)
Returns the form to create a product

Parameters:
request - The Http request
strProductClassName - The class used for the product
Returns:
the html code of the product form

doCreateProduct

public java.lang.String doCreateProduct(javax.servlet.http.HttpServletRequest request,
                                        java.lang.String strProductClassName)
Process the data capture form of a new product

Parameters:
request - The Http Request
strProductClassName - The class used for the product
Returns:
The Jsp URL of the process result

getModifyProduct

public java.lang.String getModifyProduct(javax.servlet.http.HttpServletRequest request,
                                         java.lang.String strProductClassName)
Returns the form to modify a product

Parameters:
request - The Http request
strProductClassName - The class used for the product
Returns:
the html code of the product form

doModifyProduct

public java.lang.String doModifyProduct(javax.servlet.http.HttpServletRequest request,
                                        java.lang.String strProductClassName)
Process the data capture form to modify a product

Parameters:
request - The Http Request
strProductClassName - The class used for the product
Returns:
The Jsp URL of the process result

getDeleteProduct

public java.lang.String getDeleteProduct(javax.servlet.http.HttpServletRequest request,
                                         java.lang.String strProductClassName)
Returns the confirmation message to delete a product

Parameters:
request - The Http request
Returns:
the html code message

doDeleteProduct

public java.lang.String doDeleteProduct(javax.servlet.http.HttpServletRequest request,
                                        java.lang.String strProductClassName)
Delete a product

Parameters:
request - The Http request
Returns:
the html code message

getManageCategories

public java.lang.String getManageCategories(javax.servlet.http.HttpServletRequest request)

getManageCreationCategory

public java.lang.String getManageCreationCategory(javax.servlet.http.HttpServletRequest request)
Return the Html code for choosing the categorie type to create

Parameters:
request - The Http request
Returns:
the Html code for choosing the categorie type to create

getCreateCategory

public java.lang.String getCreateCategory(javax.servlet.http.HttpServletRequest request,
                                          java.lang.String strCategoryClassName)
Returns the form to create a category

Parameters:
request - The Http request
Returns:
the html code of the category form

doCreateCategory

public java.lang.String doCreateCategory(javax.servlet.http.HttpServletRequest request,
                                         java.lang.String strClassName)
Process the data capture form of a new category

Parameters:
request - The Http Request
Returns:
The Jsp URL of the process result

getModifyCategory

public java.lang.String getModifyCategory(javax.servlet.http.HttpServletRequest request,
                                          java.lang.String strCategoryClassName)
Returns the form to modify a category

Parameters:
request - The Http request
strCategoryClassName - The class used for the product
Returns:
the html code of the category form

doModifyCategory

public java.lang.String doModifyCategory(javax.servlet.http.HttpServletRequest request,
                                         java.lang.String strCategoryClassName)
Process the data capture form to modify a category

Parameters:
request - The Http Request
strCategoryClassName - The class used for the category
Returns:
The Jsp URL of the process result

getDeleteCategory

public java.lang.String getDeleteCategory(javax.servlet.http.HttpServletRequest request,
                                          java.lang.String strProductClassName)
Returns the confirmation message to delete a category

Parameters:
request - The Http request
Returns:
the html code message

doDeleteCategory

public java.lang.String doDeleteCategory(javax.servlet.http.HttpServletRequest request,
                                         java.lang.String strCategoryClassName)
Delete a category

Parameters:
request - The Http request
Returns:
the html code message

getJspManageProduct

public static java.lang.String getJspManageProduct(javax.servlet.http.HttpServletRequest request)
return url of the jsp manage product

Parameters:
request - The HTTP request
Returns:
url of the jsp manage product


Copyright © 2010 Mairie de Paris. All Rights Reserved.