@UrlBinding(value="/action/attributes") @StrictBinding public class AttributesActionBean extends Object implements net.sourceforge.stripes.action.ActionBean
| Constructor and Description |
|---|
AttributesActionBean() |
| Modifier and Type | Method and Description |
|---|---|
net.sourceforge.stripes.action.Resolution |
attributes() |
void |
checkAuthorization() |
static void |
clearTotalCountCache(net.sourceforge.stripes.action.ActionBeanContext context)
Call this to clear the "total feature count" cached value when a new feature
is added to a feature source.
|
protected org.json.JSONObject |
executeStore(javax.persistence.EntityManager em) |
ApplicationLayer |
getAppLayer() |
Application |
getApplication() |
List<Long> |
getAttributesNotNull() |
List<Long> |
getAttributesToInclude() |
net.sourceforge.stripes.action.ActionBeanContext |
getContext() |
String |
getDir() |
SimpleFeatureType |
getFeatureType() |
String |
getFilter() |
int |
getLimit() |
int |
getPage() |
String |
getSort() |
int |
getStart() |
boolean |
isAliases() |
boolean |
isArrays() |
boolean |
isDebug() |
boolean |
isEdit() |
boolean |
isGraph() |
boolean |
isIncludeRelations() |
boolean |
isNoCache() |
void |
loadLayer() |
void |
setAliases(boolean aliases) |
void |
setAppLayer(ApplicationLayer appLayer) |
void |
setApplication(Application application) |
void |
setArrays(boolean arrays) |
void |
setAttributesNotNull(List<Long> attributesNotNull) |
void |
setAttributesToInclude(List<Long> attributesToInclude) |
void |
setContext(net.sourceforge.stripes.action.ActionBeanContext context) |
void |
setDebug(boolean debug) |
void |
setDir(String dir) |
void |
setEdit(boolean edit) |
void |
setFeatureType(SimpleFeatureType ft) |
void |
setFilter(String filter) |
void |
setGraph(boolean graph) |
void |
setIncludeRelations(boolean includeRelations) |
void |
setLimit(int limit) |
void |
setNoCache(boolean noCache) |
void |
setPage(int page) |
void |
setSort(String sort) |
void |
setStart(int start) |
net.sourceforge.stripes.action.Resolution |
store() |
protected Layer layer
public 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 Application getApplication()
public void setApplication(Application application)
public ApplicationLayer getAppLayer()
public void setAppLayer(ApplicationLayer appLayer)
public int getLimit()
public void setLimit(int limit)
public int getPage()
public void setPage(int page)
public int getStart()
public void setStart(int start)
public boolean isDebug()
public void setDebug(boolean debug)
public String getDir()
public void setDir(String dir)
public String getSort()
public void setSort(String sort)
public boolean isArrays()
public void setArrays(boolean arrays)
public String getFilter()
public void setFilter(String filter)
public boolean isNoCache()
public void setNoCache(boolean noCache)
public SimpleFeatureType getFeatureType()
public void setFeatureType(SimpleFeatureType ft)
public boolean isEdit()
public void setEdit(boolean edit)
public boolean isGraph()
public void setGraph(boolean graph)
public boolean isAliases()
public void setAliases(boolean aliases)
public boolean isIncludeRelations()
public void setIncludeRelations(boolean includeRelations)
@After(stages=BindingAndValidation) public void loadLayer()
@Before(stages=EventHandling) public void checkAuthorization()
public net.sourceforge.stripes.action.Resolution attributes()
throws org.json.JSONException
org.json.JSONExceptionpublic static void clearTotalCountCache(net.sourceforge.stripes.action.ActionBeanContext context)
context - the context that holds the session datapublic net.sourceforge.stripes.action.Resolution store()
throws org.json.JSONException,
Exception
org.json.JSONExceptionExceptionprotected org.json.JSONObject executeStore(javax.persistence.EntityManager em)
Copyright © 2019. All rights reserved.