public abstract class AbstractLazyController<E extends EntityInterface,A extends Auditing,M extends AbstractLazyModel<E>> extends AbstractEntityController<E,A>
AbstractLazyModel. This class takes care of the necessary setup of the AbstractLazyModel provided in the constructor.clazz, DEFAULT_BUNDLE_NAME, FILTERING, STATEFACESREDIRECTTRUE| Constructor and Description |
|---|
AbstractLazyController(Class<E> clazz,
M lazyModel)
call this constructor from subclasses using the entity class and a lookup
of the related AbstractLazyModel managedBean
|
| Modifier and Type | Method and Description |
|---|---|
abstract List<String> |
complete(String query)
implement this to auto complete user input, see
CrudReadService.find(java.lang.String, java.util.List, java.lang.Integer, java.lang.Integer, java.lang.Class) |
Filtering<E> |
getFiltering() |
M |
getLazyModel() |
boolean |
isSyntaxInvalue()
when true support syntax in parameter value
|
boolean |
isUseOr()
when true use or when several parameters are given
|
void |
setSyntaxInvalue(boolean syntaxInvalue) |
void |
setUseOr(boolean useOr) |
cancelRow, copy, create, create, create, destroy, destroy, fillCopy, fillNew, filterAndRedirect, getBundleName, getFilters, getFilterString, getFilterValue, getLastChanged, getLastChangedInfo, getNewEntity, getSelected, gotoPageContaining, isRememberTableState, onRowSelect, prepareCreate, refreshRow, save, setNewEntity, setRememberTableState, setSelected, updatediacriticsKeyBoard, getCrudWriteService, getSecurityContext, initCrudWriteService, persist, persist, persist, setCrudWriteServicepublic AbstractLazyController(Class<E> clazz, M lazyModel)
clazz - lazyModel - JsfUtil.findInContext(java.lang.String, java.lang.Class)public M getLazyModel()
public Filtering<E> getFiltering()
getFiltering in class AbstractEntityController<E extends EntityInterface,A extends Auditing>public abstract List<String> complete(String query)
CrudReadService.find(java.lang.String, java.util.List, java.lang.Integer, java.lang.Integer, java.lang.Class)query - public boolean isUseOr()
Param.getAndOr()public void setUseOr(boolean useOr)
public boolean isSyntaxInvalue()
Param.Builderpublic void setSyntaxInvalue(boolean syntaxInvalue)
Copyright © 2018 Fryske Akademy. All rights reserved.