Package io.mateu.mdd.ui.cruds
Class JpaRpcCrudView
java.lang.Object
io.mateu.mdd.ui.cruds.JpaRpcCrudView
- All Implemented Interfaces:
RpcCrudView<Object,,Object, Object> RpcCrudViewExtended,io.mateu.mdd.shared.interfaces.RpcView<Object,Object>
public class JpaRpcCrudView
extends Object
implements RpcCrudView<Object,Object,Object>, RpcCrudViewExtended
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintgatherCount(Object filters) getColumnFields(Class objectType, boolean forGrid, String fieldsFilter, List<String> columNames, Map<String, FieldInterfaced> fieldsByColumnName) getFilterFields(Class filtersType) getSelectFields(Class targetType, String useColumns, List<String> columnNames, Map<String, FieldInterfaced> fieldsByColumnName) booleanbooleanbooleanrpc(Object filters, List<com.vaadin.data.provider.QuerySortOrder> sortOrders, int offset, int limit) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.mateu.mdd.core.interfaces.RpcCrudView
deserializeId, onEdit, onNew, save, showCheckboxForSelectionMethods inherited from interface io.mateu.mdd.shared.interfaces.RpcView
buildColumns, decorateGrid, getSelectedRows, getSums, isSelectHandled, onSelect
-
Constructor Details
-
JpaRpcCrudView
public JpaRpcCrudView() -
JpaRpcCrudView
-
-
Method Details
-
rpc
-
gatherCount
-
getSearchFormClass
-
getRowClass
-
getEditorClass
- Specified by:
getEditorClassin interfaceRpcCrudView<Object,Object, Object>
-
isAddEnabled
public boolean isAddEnabled()- Specified by:
isAddEnabledin interfaceRpcCrudView<Object,Object, Object>
-
isEditHandled
public boolean isEditHandled()- Specified by:
isEditHandledin interfaceRpcCrudView<Object,Object, Object> - Specified by:
isEditHandledin interfaceio.mateu.mdd.shared.interfaces.RpcView<Object,Object>
-
isDeleteEnabled
public boolean isDeleteEnabled()- Specified by:
isDeleteEnabledin interfaceRpcCrudView<Object,Object, Object>
-
getSelectFields
-
getColumnFields
public List<FieldInterfaced> getColumnFields(Class objectType, boolean forGrid, String fieldsFilter, List<String> columNames, Map<String, FieldInterfaced> fieldsByColumnName) -
getFilterFields
- Specified by:
getFilterFieldsin interfaceRpcCrudViewExtended
-
getEntityClass
- Specified by:
getEntityClassin interfaceRpcCrudViewExtended
-
getFilterFields
-
getColumnFields
- Specified by:
getColumnFieldsin interfaceRpcCrudViewExtended
-
delete
-
getCaption
-