public class UrlFindEntityByPkInjector extends PropertyInjector
| Constructor and Description |
|---|
UrlFindEntityByPkInjector(Method propertySetter,
String name,
boolean mandatory,
Class<?> enityClass,
PropertyMetaModel<?> pkMetaPmm) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createNew(UrlPage page)
Create a new instance.
|
protected Object |
getKeyInstance(QDataContext dc,
UrlPage page,
String pkValue) |
protected String |
getParameterName() |
protected String |
getParameterValue(UrlPage page,
IPageParameters papa) |
void |
inject(UrlPage page,
IPageParameters papa) |
protected boolean |
isMandatory() |
protected boolean |
isNew(UrlPage page,
IPageParameters papa,
String value)
Returns T if the request is to create a new instance.
|
getPropertySetter, setValuepublic UrlFindEntityByPkInjector(Method propertySetter, String name, boolean mandatory, Class<?> enityClass, PropertyMetaModel<?> pkMetaPmm)
protected String getParameterName()
protected boolean isMandatory()
protected String getParameterValue(UrlPage page, IPageParameters papa) throws Exception
Exceptionprotected boolean isNew(UrlPage page, IPageParameters papa, String value) throws Exception
page - papa - value - Exceptionprotected Object getKeyInstance(QDataContext dc, UrlPage page, String pkValue) throws Exception
Exceptionpublic void inject(@Nonnull UrlPage page, @Nonnull IPageParameters papa) throws Exception
inject in class PropertyInjectorExceptionCopyright © 2017 etc.to. All rights reserved.