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

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.PartnerJspBean

public class PartnerJspBean
extends AbstractJspBean

The Class PartnerJspBean.


Field Summary
protected static java.lang.String MARK_NB_ITEMS_PER_PAGE
           
static java.lang.String MARK_PARTNER
           
static java.lang.String PARAMETER_PARTNER_ID
           
static java.lang.String PARAMETER_PARTNER_TYPE_LIST
           
static java.lang.String PARAMETER_PARTNER_TYPE_LIST_DEFAULT
           
protected static java.lang.String PROPERTY_DEFAULT_SESSION_PER_PAGE
           
static java.lang.String RIGHT_MANAGE_PARTNERS
           
 
Fields inherited from class fr.paris.lutece.plugins.stock.modules.billetterie.web.AbstractJspBean
ERROR_MESSAGE_KEY, ERROR_TEMPLATE, FIELD_MESSAGE_PREFIX, MARK_FILTER, MARK_MESSAGE_LIST, MARK_PAGINATOR, N_DEFAULT_ITEMS_PER_PAGE
 
Constructor Summary
PartnerJspBean()
          Instantiates a new partner jsp bean.
 
Method Summary
protected  void buildFilter(fr.paris.lutece.plugins.stock.business.provider.ProviderFilter filter, javax.servlet.http.HttpServletRequest request)
          Builds the filter.
 java.lang.String doDeletePartner(javax.servlet.http.HttpServletRequest request)
          Delete a partner
 java.lang.String doSavePartner(javax.servlet.http.HttpServletRequest request)
          Save a partner
 java.lang.String getDeletePartner(javax.servlet.http.HttpServletRequest request)
          Returns the confirmation message to delete a partner
 java.lang.String getManageProviders(javax.servlet.http.HttpServletRequest request)
          Generates a HTML form that displays all partners.
 java.lang.String getSavePartner(javax.servlet.http.HttpServletRequest request)
          Returns the form for partner creation and modification
 
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

PARAMETER_PARTNER_TYPE_LIST

public static final java.lang.String PARAMETER_PARTNER_TYPE_LIST
See Also:
Constant Field Values

PARAMETER_PARTNER_TYPE_LIST_DEFAULT

public static final java.lang.String PARAMETER_PARTNER_TYPE_LIST_DEFAULT
See Also:
Constant Field Values

PARAMETER_PARTNER_ID

public static final java.lang.String PARAMETER_PARTNER_ID
See Also:
Constant Field Values

RIGHT_MANAGE_PARTNERS

public static final java.lang.String RIGHT_MANAGE_PARTNERS
See Also:
Constant Field Values

MARK_PARTNER

public static final java.lang.String MARK_PARTNER
See Also:
Constant Field Values

MARK_NB_ITEMS_PER_PAGE

protected static final java.lang.String MARK_NB_ITEMS_PER_PAGE
See Also:
Constant Field Values

PROPERTY_DEFAULT_SESSION_PER_PAGE

protected static final java.lang.String PROPERTY_DEFAULT_SESSION_PER_PAGE
See Also:
Constant Field Values
Constructor Detail

PartnerJspBean

public PartnerJspBean()
Instantiates a new partner jsp bean.

Method Detail

buildFilter

protected void buildFilter(fr.paris.lutece.plugins.stock.business.provider.ProviderFilter filter,
                           javax.servlet.http.HttpServletRequest request)
Builds the filter.

Parameters:
filter - the filter
request - the request

getManageProviders

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

Parameters:
request - the Http request
Returns:
HTML

getSavePartner

public java.lang.String getSavePartner(javax.servlet.http.HttpServletRequest request)
Returns the form for partner creation and modification

Parameters:
request - The HTTP request
Returns:
HTML Form

doSavePartner

public java.lang.String doSavePartner(javax.servlet.http.HttpServletRequest request)
Save a partner

Parameters:
request - The HTTP request
Returns:
redirection url

getDeletePartner

public java.lang.String getDeletePartner(javax.servlet.http.HttpServletRequest request)
Returns the confirmation message to delete a partner

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

doDeletePartner

public java.lang.String doDeletePartner(javax.servlet.http.HttpServletRequest request)
Delete a partner

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


Copyright © 2012 Mairie de Paris. All Rights Reserved.