public class PurchaseJspBean extends AbstractJspBean
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
LOGGER
The logger for this jspBean
|
static String |
MACRO_COLUMN_ACTIONS_PURCHASE |
static String |
MACRO_COLUMN_AGENT_PURCHASE |
static String |
MACRO_COLUMN_CHECKBOX_DELETE_PURCHASE |
static String |
MACRO_COLUMN_DATE_PURCHASE |
static String |
MACRO_COLUMN_NAME_PURCHASE |
static String |
MACRO_COLUMN_OFFER_TYPE_PURCHASE |
static String |
MARK_BASE_URL
The constant String MARK_BASE_URL
|
static String |
MARK_CURRENT_DATE
The constant String MARK_CURRENT_DATE
|
static String |
MARK_DATA_TABLE_PURCHASE
The constants for DataTableManager
|
static String |
MARK_ERRORS
The constant String MARK_ERRORS
|
static String |
MARK_FILTER_PURCHASE |
static String |
MARK_LIST_OFFER_GENRE
The constant String MARK_LIST_OFFER_GENRE
|
static String |
MARK_LOCALE
The constant String MARK_LOCALE
|
static String |
MARK_NEW_ID_OFFER |
static String |
MARK_OFFER_ID
The constant String MARK_OFFER_ID
|
static String |
MARK_OFFERS_AVAILABLES |
static String |
MARK_PURCHASE
The constant String MARK_PURCHASE
|
static String |
MARK_PURCHASE_STATUT_CANCEL
The constant String MARK_PURCHASE_STATUT_CANCEL
|
static String |
MARK_PURCHASSE_ID
The constant String MARK_PURCHASSE_ID
|
static String |
MARK_QUANTITY_LIST
The constant String MARK_QUANTITY_LIST
|
static String |
MARK_SEANCE
The constant String MARK_SEANCE
|
static String |
MARK_TITLE
The constant String MARK_TITLE
|
static String |
PARAMETER_BUTTON_DELETE
The constant String PARAMETER_BUTTON_DELETE
|
static String |
PARAMETER_FILTER
The constant String PARAMETER_FILTER
|
static String |
PARAMETER_FILTER_DATE_BEGIN
The constant String PARAMETER_FILTER_DATE_BEGIN
|
static String |
PARAMETER_FILTER_DATE_END
The constant String PARAMETER_FILTER_DATE_END
|
static String |
PARAMETER_FILTER_ID
The constant String PARAMETER_FILTER_ID
|
static String |
PARAMETER_FILTER_NAME
The constant String PARAMETER_FILTER_NAME
|
static String |
PARAMETER_FILTER_PARTNER_NAME
The constant String PARAMETER_FILTER_PARTNER_NAME
|
static String |
PARAMETER_FILTER_PARTNER_NICKNAME
The constant String PARAMETER_FILTER_PARTNER_NICKNAME
|
static String |
PARAMETER_FILTER_PURCHASE_TYPE
The constant String PARAMETER_FILTER_PURCHASE_TYPE
|
static String |
PARAMETER_ORDER_ASC
The constant String PARAMETER_ORDER_ASC
|
static String |
PARAMETER_ORDER_BY_ID
The constant String PARAMETER_ORDER_BY_ID
|
static String |
PARAMETER_ORDER_BY_LABEL
The constant String PARAMETER_ORDER_BY_LABEL
|
static String |
PARAMETER_ORDER_BY_PLACE
The constant String PARAMETER_ORDER_BY_PLACE
|
static String |
PARAMETER_ORDER_BY_TYPE
The constant String PARAMETER_ORDER_BY_TYPE
|
static String |
PARAMETER_ORDER_DESC
The constant String PARAMETER_ORDER_DESC
|
static String |
PARAMETER_PURCHASE_DUPLICATE
The constant String PARAMETER_PURCHASE_DUPLICATE
|
static String |
PARAMETER_PURCHASE_GENRE_LIST
The constant String PARAMETER_PURCHASE_GENRE_LIST
|
static String |
PARAMETER_PURCHASE_GENRE_LIST_DEFAULT
The constant String PARAMETER_PURCHASE_GENRE_LIST_DEFAULT
|
static String |
PARAMETER_PURCHASE_ID
The constant String PARAMETER_PURCHASE_ID
|
static String |
PARAMETER_PURCHASE_PRODUCT_NAME
The constant String PARAMETER_PURCHASE_PRODUCT_NAME
|
static String |
RESOURCE_TYPE
The constant String RESOURCE_TYPE
|
static String |
RIGHT_MANAGE_PURCHASES
The constant String RIGHT_MANAGE_PURCHASES
|
_nItemsPerPage, ERROR_MESSAGE_KEY, ERROR_TEMPLATE, FIELD_MESSAGE_PREFIX, MARK_ASC_SORT, MARK_DATA_TABLE_MANAGER, MARK_FILTER, MARK_MESSAGE_LIST, MARK_NB_ITEMS_PER_PAGE, MARK_PAGINATOR, MARK_PLUGIN_NAME, N_DEFAULT_ITEMS_PER_PAGE, PARAMETER_FIND_BY_FILTER_NAME_METHOD, PARAMETER_TRUE, PROPERTY_DEFAULT_PAGINATION| Constructor and Description |
|---|
PurchaseJspBean()
Instantiates a new purchase jsp bean.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildFilter(fr.paris.lutece.plugins.stock.modules.tickets.business.ReservationFilter filter,
javax.servlet.http.HttpServletRequest request)
Builds the filter.
|
String |
doDeletePurchase(javax.servlet.http.HttpServletRequest request)
Delete an purchase
|
String |
doNotifyPurchase(javax.servlet.http.HttpServletRequest request)
Send booking notification.
|
String |
doSavePurchase(javax.servlet.http.HttpServletRequest request)
Save a purchase
|
String |
getDeletePurchase(javax.servlet.http.HttpServletRequest request)
Returns the confirmation message to delete an purchase
|
String |
getManagePurchases(javax.servlet.http.HttpServletRequest request)
Get the manage purchases page
|
String |
getMasseDeletePurchase(javax.servlet.http.HttpServletRequest request)
Returns the confirmation message to delete purchases
|
String |
getNotifyPurchase(javax.servlet.http.HttpServletRequest request)
Returns the confirmation message to notify purchaser
|
String |
getSavePurchase(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns the form for purchase creation and modification
|
getAbstractDataTableManager, getAbstractDataTableManager, getDataTableToUse, getErrorOnce, getFilterToUse, getHtmlError, getMessage, getMessage, loadDataTableFromSession, manageFunctionnalException, saveDataTableInSession, validateBilletteriegetPlugin, initgetAdminDashboardsUrl, getAdminPage, getFeatureIcon, getHomeUrl, getLocale, getPageTitle, getUser, isUserHigherThanConnectedUser, populate, populate, setFeatureGroup, setFeatureIcon, setPageTitleProperty, validate, validate, validatepublic static final org.apache.log4j.Logger LOGGER
public static final String RESOURCE_TYPE
public static final String RIGHT_MANAGE_PURCHASES
public static final String PARAMETER_PURCHASE_ID
public static final String PARAMETER_PURCHASE_DUPLICATE
public static final String PARAMETER_PURCHASE_PRODUCT_NAME
public static final String PARAMETER_PURCHASE_GENRE_LIST
public static final String PARAMETER_PURCHASE_GENRE_LIST_DEFAULT
public static final String PARAMETER_BUTTON_DELETE
public static final String PARAMETER_FILTER_NAME
public static final String PARAMETER_FILTER_ID
public static final String PARAMETER_FILTER_PARTNER_NAME
public static final String PARAMETER_FILTER_PARTNER_NICKNAME
public static final String PARAMETER_FILTER_PURCHASE_TYPE
public static final String PARAMETER_FILTER_DATE_BEGIN
public static final String PARAMETER_FILTER_DATE_END
public static final String PARAMETER_ORDER_BY_ID
public static final String PARAMETER_ORDER_BY_LABEL
public static final String PARAMETER_ORDER_BY_PLACE
public static final String PARAMETER_ORDER_BY_TYPE
public static final String PARAMETER_ORDER_ASC
public static final String PARAMETER_ORDER_DESC
public static final String PARAMETER_FILTER
public static final String MARK_DATA_TABLE_PURCHASE
public static final String MARK_FILTER_PURCHASE
public static final String MACRO_COLUMN_ACTIONS_PURCHASE
public static final String MACRO_COLUMN_NAME_PURCHASE
public static final String MACRO_COLUMN_DATE_PURCHASE
public static final String MACRO_COLUMN_OFFER_TYPE_PURCHASE
public static final String MACRO_COLUMN_CHECKBOX_DELETE_PURCHASE
public static final String MACRO_COLUMN_AGENT_PURCHASE
public static final String MARK_PURCHASE
public static final String MARK_TITLE
public static final String MARK_LOCALE
public static final String MARK_PURCHASE_STATUT_CANCEL
public static final String MARK_CURRENT_DATE
public static final String MARK_LIST_OFFER_GENRE
public static final String MARK_OFFER_ID
public static final String MARK_PURCHASSE_ID
public static final String MARK_QUANTITY_LIST
public static final String MARK_ERRORS
public static final String MARK_BASE_URL
public static final String MARK_OFFERS_AVAILABLES
public static final String MARK_NEW_ID_OFFER
public static final String MARK_SEANCE
protected void buildFilter(fr.paris.lutece.plugins.stock.modules.tickets.business.ReservationFilter filter,
javax.servlet.http.HttpServletRequest request)
filter - the filterrequest - the requestpublic String getManagePurchases(javax.servlet.http.HttpServletRequest request)
request - the requestpublic String getSavePurchase(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request - The HTTP requestresponse - The HTTP responsepublic String doSavePurchase(javax.servlet.http.HttpServletRequest request)
request - The HTTP requestpublic String getDeletePurchase(javax.servlet.http.HttpServletRequest request)
request - The Http requestpublic String doDeletePurchase(javax.servlet.http.HttpServletRequest request)
request - The Http requestpublic String getNotifyPurchase(javax.servlet.http.HttpServletRequest request)
request - The Http requestpublic String doNotifyPurchase(javax.servlet.http.HttpServletRequest request)
request - The Http requestpublic String getMasseDeletePurchase(javax.servlet.http.HttpServletRequest request)
request - The Http requestCopyright © 2020 City of Paris. All rights reserved.