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
All Implemented Interfaces:
Serializable

public class PartnerJspBean
extends AbstractJspBean

The Class PartnerJspBean.

See Also:
Serialized Form

Field Summary
static org.apache.log4j.Logger LOGGER
           
static String MACRO_COLUMN_ACTIONS_PARTNER
           
static String MACRO_COLUMN_NAME_PARTNER
           
static String MARK_DATA_TABLE_PARTNER
          The constants for DataTableManager
static String MARK_FILTER_PARTNER
           
static String MARK_LIST_CONTACT
           
static String MARK_LIST_DISTRICT
           
static String MARK_LIST_PARTNERS
           
protected static String MARK_NB_ITEMS_PER_PAGE
           
static String MARK_PARTNER
           
static String MARK_PARTNER_NUMBER_CONTACT
           
static String PARAMETER_ADD_CONTACT
           
static String PARAMETER_CONTACT_ID
           
static String PARAMETER_DEL_CONTACT
           
static String PARAMETER_NAME
           
static String PARAMETER_PARTNER_ID
           
static String PARAMETER_PARTNER_TYPE_LIST
           
static String PARAMETER_PARTNER_TYPE_LIST_DEFAULT
           
protected static String PROPERTY_DEFAULT_SESSION_PER_PAGE
           
static String RIGHT_MANAGE_PARTNERS
           
 
Fields inherited from class fr.paris.lutece.plugins.stock.modules.billetterie.web.AbstractJspBean
_nItemsPerPage, ERROR_MESSAGE_KEY, ERROR_TEMPLATE, FIELD_MESSAGE_PREFIX, MARK_DATA_TABLE_MANAGER, MARK_FILTER, MARK_MESSAGE_LIST, MARK_PAGINATOR, MARK_PLUGIN_NAME, N_DEFAULT_ITEMS_PER_PAGE, PARAMETER_FIND_BY_FILTER_NAME_METHOD
 
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.
 String doDeletePartner(javax.servlet.http.HttpServletRequest request)
          Delete a partner
 String doSavePartner(javax.servlet.http.HttpServletRequest request)
          Save a partner, use to add contact
 String getDeletePartner(javax.servlet.http.HttpServletRequest request)
          Returns the confirmation message to delete a partner
 String getManageProviders(javax.servlet.http.HttpServletRequest request)
          Generates a HTML form that displays all partners.
 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
getAbstractDataTableManager, getDataTableToUse, getErrorOnce, getFilterToUse, getHtmlError, getMessage, getMessage, loadDataTableFromSession, manageFunctionnalException, saveDataTableInSession, validateBilletterie
 
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, validate, validate, validate
 
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

PARAMETER_PARTNER_TYPE_LIST

public static final String PARAMETER_PARTNER_TYPE_LIST
See Also:
Constant Field Values

PARAMETER_PARTNER_TYPE_LIST_DEFAULT

public static final String PARAMETER_PARTNER_TYPE_LIST_DEFAULT
See Also:
Constant Field Values

PARAMETER_PARTNER_ID

public static final String PARAMETER_PARTNER_ID
See Also:
Constant Field Values

PARAMETER_CONTACT_ID

public static final String PARAMETER_CONTACT_ID
See Also:
Constant Field Values

PARAMETER_ADD_CONTACT

public static final String PARAMETER_ADD_CONTACT
See Also:
Constant Field Values

PARAMETER_DEL_CONTACT

public static final String PARAMETER_DEL_CONTACT
See Also:
Constant Field Values

PARAMETER_NAME

public static final String PARAMETER_NAME
See Also:
Constant Field Values

RIGHT_MANAGE_PARTNERS

public static final String RIGHT_MANAGE_PARTNERS
See Also:
Constant Field Values

MARK_PARTNER_NUMBER_CONTACT

public static final String MARK_PARTNER_NUMBER_CONTACT
See Also:
Constant Field Values

MARK_PARTNER

public static final String MARK_PARTNER
See Also:
Constant Field Values

MARK_LIST_CONTACT

public static final String MARK_LIST_CONTACT
See Also:
Constant Field Values

MARK_LIST_PARTNERS

public static final String MARK_LIST_PARTNERS
See Also:
Constant Field Values

MARK_LIST_DISTRICT

public static final String MARK_LIST_DISTRICT
See Also:
Constant Field Values

MARK_DATA_TABLE_PARTNER

public static final String MARK_DATA_TABLE_PARTNER
The constants for DataTableManager

See Also:
Constant Field Values

MARK_FILTER_PARTNER

public static final String MARK_FILTER_PARTNER
See Also:
Constant Field Values

MACRO_COLUMN_ACTIONS_PARTNER

public static final String MACRO_COLUMN_ACTIONS_PARTNER
See Also:
Constant Field Values

MACRO_COLUMN_NAME_PARTNER

public static final String MACRO_COLUMN_NAME_PARTNER
See Also:
Constant Field Values

MARK_NB_ITEMS_PER_PAGE

protected static final String MARK_NB_ITEMS_PER_PAGE
See Also:
Constant Field Values

PROPERTY_DEFAULT_SESSION_PER_PAGE

protected static final 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 String getManageProviders(javax.servlet.http.HttpServletRequest request)
Generates a HTML form that displays all partners.

Parameters:
request - the Http request
Returns:
HTML

getSavePartner

public 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 String doSavePartner(javax.servlet.http.HttpServletRequest request)
Save a partner, use to add contact

Parameters:
request - The HTTP request
Returns:
redirection url

getDeletePartner

public 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 String doDeletePartner(javax.servlet.http.HttpServletRequest request)
Delete a partner

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


Copyright © 2013 Mairie de Paris. All Rights Reserved.