Package io.mateu.mdd.ui.cruds
Class JpaRpcCrudView
java.lang.Object
io.mateu.mdd.ui.cruds.JpaRpcCrudView
- All Implemented Interfaces:
RpcCrudView<Object,,Object, Object> io.mateu.mdd.shared.interfaces.RpcView<Object,Object>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgatherCount(Object filters) static List<FieldInterfaced>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
delete, deserializeId, onEdit, onNew, save, showCheckboxForSelectionMethods inherited from interface io.mateu.mdd.shared.interfaces.RpcView
buildColumns, decorateGrid, getSelectedRows, getSums, isSelectHandled, onSelect
-
Constructor Details
-
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 static List<FieldInterfaced> getColumnFields(Class objectType, boolean forGrid, String fieldsFilter, List<String> columNames, Map<String, FieldInterfaced> fieldsByColumnName) -
getFilterFields
-
getFilterFields
-