@UrlBinding(value="/action/featurereport") @StrictBinding public class FeatureReportActionBean extends Object implements net.sourceforge.stripes.action.ActionBean
| Constructor and Description |
|---|
FeatureReportActionBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAuthorization() |
ApplicationLayer |
getAppLayer() |
Application |
getApplication() |
net.sourceforge.stripes.action.ActionBeanContext |
getContext() |
String |
getFid() |
int |
getMaxrelatedfeatures() |
String |
getPrintparams() |
void |
loadLayer() |
net.sourceforge.stripes.action.Resolution |
print()
Create a PDF print for the given feature.
|
void |
setAppLayer(ApplicationLayer appLayer) |
void |
setApplication(Application application) |
void |
setContext(net.sourceforge.stripes.action.ActionBeanContext context) |
void |
setFid(String fid) |
void |
setMaxrelatedfeatures(int maxrelatedfeatures) |
void |
setPrintparams(String printparams) |
public static final String FID
@Before(stages=EventHandling) public void checkAuthorization()
@After(stages=BindingAndValidation) public void loadLayer()
@DefaultHandler
public net.sourceforge.stripes.action.Resolution print()
throws URISyntaxException,
IOException,
Exception
PrintActionBean after modifying the params object; modifications
include setting a proper bbox for the selected object, add a highlighted
version of the object as an overlay, add feature data and add releted
feature data.URISyntaxException - if getting the image fails in the
printgeneratorIOException - if saving the image fails in the printgeneratorException - when setting the InfoText on the PrintExtraInfo failspublic net.sourceforge.stripes.action.ActionBeanContext getContext()
getContext in interface net.sourceforge.stripes.action.ActionBeanpublic void setContext(net.sourceforge.stripes.action.ActionBeanContext context)
setContext in interface net.sourceforge.stripes.action.ActionBeanpublic ApplicationLayer getAppLayer()
public void setAppLayer(ApplicationLayer appLayer)
public String getFid()
public void setFid(String fid)
public String getPrintparams()
public void setPrintparams(String printparams)
public int getMaxrelatedfeatures()
public void setMaxrelatedfeatures(int maxrelatedfeatures)
public Application getApplication()
public void setApplication(Application application)
Copyright © 2019. All rights reserved.