public class OrderURLGeneratorTransformer<O extends Order> extends WicketURLGeneratorTransformer
Transformer
that accepts Order
and produces a Payment Link for it.ChangeListener
hooked to ChangeGenerator.setListeners(java.util.List)
Modifier and Type | Field and Description |
---|---|
protected String |
orderIdParamName |
static String |
PARAM_OID
URL parameter identifier for Order
|
static String |
PARAM_UID
URL parameter identifier for User
|
protected String |
userIdParamName |
secureURLUsingSalt
paramsAdded, usePathAsParams
filter, processors
Constructor and Description |
---|
OrderURLGeneratorTransformer() |
OrderURLGeneratorTransformer(Class<org.apache.wicket.Page> base) |
Modifier and Type | Method and Description |
---|---|
protected String |
cleanAndValidate(String url) |
protected String |
decorateURL(Object input,
String url)
Any stuff to add on the URL
|
String |
getOrderIdParamName() |
String |
getUserIdParamName() |
void |
setOrderIdParamName(String orderIdParamName) |
void |
setUserIdParamName(String userIdParamName) |
Object |
transform(Object input)
|
getBaseUrlStr, getProtocolStrict, getUrlFormat, getWwwStrict, initWithRequestCycle, isAbsolute, isSecureURLUsingSalt, secureURL, setAbsolute, setBaseUrlStr, setProtocolStrict, setSecureURLUsingSalt, setUrlFormat, setWwwStrict
addAnalyticsParams, isParamsAdded, isUsePathAsParams, joinDelimet, setParamsAdded, setProcessors, setUsePathAsParams
cleanDangligngDelimets, getDanglingDelimRegEx, getDelimiter, join, setDanglingDelimRegEx, setDelimiter
getFilter, getProcessors, setFilter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply
public static final String PARAM_OID
public static final String PARAM_UID
public OrderURLGeneratorTransformer()
public OrderURLGeneratorTransformer(Class<org.apache.wicket.Page> base)
protected String decorateURL(Object input, String url)
URLGeneratorTransformer
decorateURL
in class URLGeneratorTransformer
public Object transform(Object input)
URLGeneratorTransformer
URLGeneratorTransformer.secureURL(Object, String)
then URLGeneratorTransformer.decorateURL(Object, String)
and then URLGeneratorTransformer.addAnalyticsParams(Object, String)
transform
in interface org.apache.commons.collections.Transformer
transform
in class WicketURLGeneratorTransformer
public void setOrderIdParamName(String orderIdParamName)
PARAM_OID
Copyright © 2018. All rights reserved.