fr.paris.lutece.plugins.stock.modules.billetterie.web
Class ShowJspBean

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.modules.billetterie.web.AbstractJspBean
              extended by fr.paris.lutece.plugins.stock.modules.billetterie.web.ShowJspBean

public class ShowJspBean
extends AbstractJspBean

The Class ShowJspBean.


Field Summary
static org.apache.log4j.Logger LOGGER
          The Constant LOGGER.
static java.lang.String MARK_PRODUCT
          The Constant MARK_PRODUCT.
static java.lang.String MARK_TITLE
          The Constant MARK_TITLE.
static java.lang.String PARAMETER_CATEGORY_ID
          The Constant PARAMETER_CATEGORY_ID.
static java.lang.String PARAMETER_PRODUCT_CATEGORY_ID
          The Constant PARAMETER_PRODUCT_CATEGORY_ID.
static java.lang.String PARAMETER_PRODUCT_PARTNER_ID
          The Constant PARAMETER_PRODUCT_PARTNER_ID.
static java.lang.String PARAMETER_PRODUCT_TYPE_LIST
          The Constant PARAMETER_PRODUCT_TYPE_LIST.
static java.lang.String PARAMETER_PRODUCT_TYPE_LIST_DEFAULT
          The Constant PARAMETER_PRODUCT_TYPE_LIST_DEFAULT.
static java.lang.String RIGHT_MANAGE_PRODUCTS
          The Constant RIGHT_MANAGE_PRODUCTS.
 
Fields inherited from class fr.paris.lutece.plugins.stock.modules.billetterie.web.AbstractJspBean
MARK_FILTER, MARK_NB_ITEMS_PER_PAGE, MARK_PAGINATOR, N_DEFAULT_ITEMS_PER_PAGE
 
Constructor Summary
ShowJspBean()
          Instantiates a new show jsp bean.
 
Method Summary
 java.lang.String doDeleteProduct(javax.servlet.http.HttpServletRequest request)
          Delete a product.
 java.lang.String doSaveProduct(javax.servlet.http.HttpServletRequest request)
          Save a product.
 java.lang.String getDeleteProduct(javax.servlet.http.HttpServletRequest request)
          Returns the confirmation message to delete a product.
 java.lang.String getManageProducts(javax.servlet.http.HttpServletRequest request)
          Generates a HTML form that displays all products.
 java.lang.String getSaveProduct(javax.servlet.http.HttpServletRequest request, java.lang.String strProductClassName)
          Returns the form to modify a provider.
 
Methods inherited from class fr.paris.lutece.plugins.stock.modules.billetterie.web.AbstractJspBean
getErrorOnce, getHtmlError, getMessage, getMessage, getPaginationProperties, getPaginator, manageFunctionnalException, validate
 
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, populate, setFeatureIcon, setPageTitleProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

public static final org.apache.log4j.Logger LOGGER
The Constant LOGGER.


PARAMETER_CATEGORY_ID

public static final java.lang.String PARAMETER_CATEGORY_ID
The Constant PARAMETER_CATEGORY_ID.

See Also:
Constant Field Values

PARAMETER_PRODUCT_PARTNER_ID

public static final java.lang.String PARAMETER_PRODUCT_PARTNER_ID
The Constant PARAMETER_PRODUCT_PARTNER_ID.

See Also:
Constant Field Values

PARAMETER_PRODUCT_CATEGORY_ID

public static final java.lang.String PARAMETER_PRODUCT_CATEGORY_ID
The Constant PARAMETER_PRODUCT_CATEGORY_ID.

See Also:
Constant Field Values

RIGHT_MANAGE_PRODUCTS

public static final java.lang.String RIGHT_MANAGE_PRODUCTS
The Constant RIGHT_MANAGE_PRODUCTS.

See Also:
Constant Field Values

MARK_PRODUCT

public static final java.lang.String MARK_PRODUCT
The Constant MARK_PRODUCT.

See Also:
Constant Field Values

MARK_TITLE

public static final java.lang.String MARK_TITLE
The Constant MARK_TITLE.

See Also:
Constant Field Values

PARAMETER_PRODUCT_TYPE_LIST

public static final java.lang.String PARAMETER_PRODUCT_TYPE_LIST
The Constant PARAMETER_PRODUCT_TYPE_LIST.

See Also:
Constant Field Values

PARAMETER_PRODUCT_TYPE_LIST_DEFAULT

public static final java.lang.String PARAMETER_PRODUCT_TYPE_LIST_DEFAULT
The Constant PARAMETER_PRODUCT_TYPE_LIST_DEFAULT.

See Also:
Constant Field Values
Constructor Detail

ShowJspBean

public ShowJspBean()
Instantiates a new show jsp bean.

Method Detail

getManageProducts

public java.lang.String getManageProducts(javax.servlet.http.HttpServletRequest request)
Generates a HTML form that displays all products.

Parameters:
request - the Http request
Returns:
HTML

getSaveProduct

@Transactional(readOnly=true)
public java.lang.String getSaveProduct(javax.servlet.http.HttpServletRequest request,
                                                     java.lang.String strProductClassName)
Returns the form to modify a provider.

Parameters:
request - The Http request
strProductClassName - The class name of the provider entity to modify
Returns:
the html code of the provider form

doSaveProduct

public java.lang.String doSaveProduct(javax.servlet.http.HttpServletRequest request)
Save a product.

Parameters:
request - The HTTP request
Returns:
redirection url

getDeleteProduct

public java.lang.String getDeleteProduct(javax.servlet.http.HttpServletRequest request)
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)
Delete a product.

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


Copyright © 2012 Mairie de Paris. All Rights Reserved.