Package io.mateu.mdd.ui.cruds
Class JpaRpcCrudView
java.lang.Object
io.mateu.mdd.ui.cruds.JpaRpcCrudView
- All Implemented Interfaces:
Crud<Object,,Object> HasActions,RpcCrudViewExtended,io.mateu.mdd.shared.interfaces.Listing<Object,Object>
@Component
@Scope("stereotype")
public class JpaRpcCrudView
extends Object
implements Crud<Object,Object>, RpcCrudViewExtended, HasActions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreactor.core.publisher.Mono<Long>fetchCount(Object filters) reactor.core.publisher.FluxfetchRows(Object filters, List<io.mateu.mdd.shared.interfaces.SortCriteria> sortOrders, int offset, int limit) 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) booleanbooleanbooleanMethods 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.Crud
getCaptionForDelete, getCaptionForNew, showCheckboxForSelectionMethods inherited from interface io.mateu.mdd.shared.interfaces.Listing
getCaptionForEdit, getSelection
-
Constructor Details
-
JpaRpcCrudView
public JpaRpcCrudView() -
JpaRpcCrudView
public JpaRpcCrudView(MDDOpenCRUDAction action) throws InvocationTargetException, NoSuchMethodException, IllegalAccessException, InstantiationException
-
-
Method Details
-
fetchRows
-
fetchCount
-
getSearchFormClass
-
getRowClass
-
getRow
-
isAddEnabled
public boolean isAddEnabled()- Specified by:
isAddEnabledin interfaceRpcCrudViewExtended
-
isEditHandled
public boolean isEditHandled()- Specified by:
isEditHandledin interfaceRpcCrudViewExtended
-
getColumnIdsPerField
- Specified by:
getColumnIdsPerFieldin interfaceRpcCrudViewExtended
-
getColumnCaptionsPerField
- Specified by:
getColumnCaptionsPerFieldin interfaceRpcCrudViewExtended
-
isDeleteEnabled
public boolean isDeleteEnabled()- Specified by:
isDeleteEnabledin interfaceRpcCrudViewExtended
-
delete
-
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
-
getColumnFieldNames
- Specified by:
getColumnFieldNamesin interfaceRpcCrudViewExtended
-
getCaption
-
getDetail
-
getNewRecordForm
- Specified by:
getNewRecordFormin interfaceCrud<Object,Object> - Throws:
Throwable
-
getActionMethods
- Specified by:
getActionMethodsin interfaceHasActions
-