public class PartsFilterFormHandler extends FilterFormHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
static java.lang.String |
PRICE_ALL |
static java.lang.String |
PRICE_CATEGORY |
RESOURCE_BUNDLE
PARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
PartsFilterFormHandler() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getFrameRule()
Generate a rule to filter on frame type.
|
java.lang.String |
getFrameType() |
protected java.lang.String |
getManufacturerRule()
Optionally generate a rule to filter on manufacturer
|
java.lang.String[] |
getManufacturers() |
java.lang.String |
getPriceCategory() |
protected java.lang.String |
getPriceRule()
Optionally generate Price Category rule
Price Category:
|
java.lang.String |
getPriceSelectionType() |
java.lang.String |
getRuleRepresentation()
Generate the SGML Targeting rule to be used in the filter
|
boolean |
getSearchAllManufacturers() |
boolean |
isAnyFrame() |
void |
setAnyFrame(boolean pBool) |
void |
setFrameType(java.lang.String pFrame) |
void |
setManufacturers(java.lang.String[] pManufacturers) |
void |
setPriceCategory(java.lang.String pPriceCategory)
Price category from product catalog
|
void |
setPriceSelectionType(java.lang.String pPriceType) |
void |
setSearchAllManufacturers(boolean pBool) |
getItemDescriptor, getLoggingIdentifier, getRepository, getRepositoryItemGroup, handleSubmit, setItemDescriptor, setLoggingIdentifier, setRepository, setRepositoryItemGroup, setRuleRepresentation
addFormException, addUncheckedFormException, afterSet, beforeSet, checkFormRedirect, createFormSubmissionMessage, getCancelURL, getCheckForValidSession, getFormError, getFormExceptions, getFormName, getMessagePort, getMessageSource, getMessageType, getPropertyExceptions, getSendMessages, getUncheckedFormExceptions, handleCancel, handleFormException, handleUncheckedFormException, hasUncheckedFormExceptions, isDeferForwardsAndRedirects, isRestorableForm, isUseForwards, isValidSession, redirectOrForward, resetFormExceptions, setCancelURL, setCheckForValidSession, setDeferForwardsAndRedirects, setFormName, setMessagePort, setMessageSource, setMessageType, setRestorableForm, setSendMessages, setUseForwards
afterGet, beforeGet
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static java.lang.String CLASS_VERSION
public static final java.lang.String PRICE_ALL
public static final java.lang.String PRICE_CATEGORY
public void setSearchAllManufacturers(boolean pBool)
pBool
- true to search all manufacturers, false to search
from list of manufacturers in property 'manufacturers'public boolean getSearchAllManufacturers()
public void setManufacturers(java.lang.String[] pManufacturers)
pManufacturers
- zero or more manufacturer names on which to filterpublic java.lang.String[] getManufacturers()
public void setPriceSelectionType(java.lang.String pPriceType)
pPriceType
- one PRICE_ALL | PRICE_CATEGORYpublic java.lang.String getPriceSelectionType()
public void setPriceCategory(java.lang.String pPriceCategory)
public java.lang.String getPriceCategory()
public void setAnyFrame(boolean pBool)
true
- to search all frame types, false to search from list
in property frameTypepublic boolean isAnyFrame()
public void setFrameType(java.lang.String pFrame)
public java.lang.String getFrameType()
public java.lang.String getRuleRepresentation()
getRuleRepresentation
in class FilterFormHandler
protected java.lang.String getManufacturerRule()
protected java.lang.String getFrameRule()
protected java.lang.String getPriceRule()