Package br.com.jarch.faces.controller
Class CrudListController<E extends br.com.jarch.core.model.ICrudEntity,S extends br.com.jarch.core.crud.service.ICrudService<E>,R extends br.com.jarch.core.crud.repository.CrudRepository<E>>
- java.lang.Object
-
- br.com.jarch.faces.controller.BaseJsfController
-
- br.com.jarch.faces.controller.BaseController<E>
-
- br.com.jarch.faces.controller.BaseListController<E,S,R>
-
- br.com.jarch.faces.controller.CrudListController<E,S,R>
-
- All Implemented Interfaces:
IBaseController<E>
,IBaseJsfController
,IBaseListController<E,S,R>
,ICrudListController<E,S,R>
,IListFilter<E>
,java.io.Serializable
- Direct Known Subclasses:
BatchListController
,CommunicationListController
,FieldDynamicListController
,LogListController
,SecretListController
,ValueDynamicListController
@JArchCrudList public abstract class CrudListController<E extends br.com.jarch.core.model.ICrudEntity,S extends br.com.jarch.core.crud.service.ICrudService<E>,R extends br.com.jarch.core.crud.repository.CrudRepository<E>> extends BaseListController<E,S,R> implements ICrudListController<E,S,R>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class br.com.jarch.faces.controller.BaseListController
callFillDataModel
-
-
Constructor Summary
Constructors Constructor Description CrudListController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
callChange(E identity)
void
callChange(java.lang.Long id)
void
callClone(E identity)
void
callClone(java.lang.Long id)
void
callDelete(E identity)
void
callDelete(java.lang.Long id)
void
callInsert()
java.lang.String
getWidgetVar()
boolean
isExclusionLogic()
boolean
isExistColumnsTotalizer()
java.lang.String
totalizer(br.com.jarch.core.model.IColumnList columnList)
-
Methods inherited from class br.com.jarch.faces.controller.BaseListController
activeAndAddParamsWhereJpa, activeAndAddParamWhereJpa, activeWhereJpa, addFieldOrder, addParam, callActionDynamic, callActionDynamic, callActionDynamic, callActionDynamic, callConsult, callConsult, changePageDataTableEvent, clearFieldOrder, clearFilter, configGroupOrder, deactiveWhereJpa, exportFormatCsv, exportFormatExcel, exportFormatPdf, exportFormatTxt, exportFormatXml, fillDataModelList, getAcessMenu, getColumnDataTable, getDataModel, getFieldSearch, getFilters, getIdDynamicAction, getItemMenuSelected, getLabelReport, getListColumnDataTable, getListColumnReport, getListOrderType, getListTabFilter, getMenuActions, getMessageNoRecordFound, getOrderType, getParams, getReportColumnList, getReportGroupList, getReportOrderList, getRepository, getSearch, getSelections, getService, getTemplateReport, isDisabledAttributeOrder, isDisabledInsert, isDisabledPrint, isExistsActionDynamic, isReportPortrait, isShowOptionReport, isVisibleInsert, isVisiblePrint, newSearchField, newSearchField, onReorderReportGroup, onRowSelect, onRowUnselect, onTransferReportColumn, onTransferReportGroup, processDisabledEvaluation, processMethodDisabledEvaluation, processMethodDynamic, processMethodDynamic, processMethodDynamicConfirmation, processMethodDynamicItemMenuSelected, processMethodMenuAction, processMethodMenuAction, processMethodMenuDownload, processMethodRenderedEvaluation, processRenderedEvaluation, redirectPageData, removeFilter, removeParam, restoreLastSearch, saveLastSearch, setItemMenuSelected, setOrderType, setReportColumnList, setReportGroupList, setReportOrderList, setSelections, setValueFilter
-
Methods inherited from class br.com.jarch.faces.controller.BaseController
classEntity, insertDynamicColumn, isUsageDynamicColumn, listDynamicColumn
-
Methods inherited from class br.com.jarch.faces.controller.BaseJsfController
addCallbackParam, addMessageError, efetuaLogoff, executeJavaScript, getContextoAplicacao, getMultiTenant, getParameterRequest, getParameterRequest, getTextoAjuda, getUserInformation, hideMessageHeader, hideMessageProcess, isSystemTest, redireciona, redirect, removeQueryParamsUrl, setAttributeSession, setTextoAjuda, showMessageBodyErrorNoRedirect, showMessageBodyErrorNoRedirect, showMessageBodyErrorRedirect, showMessageBodySuccessNoRedirect, showMessageBodySuccessNoRedirect, showMessageBodySuccessNoRedirect, showMessageBodySuccessRedirect, showMessageBodySuccessRedirect, showMessageBodySuccessRedirect, showMessageBodyWarningNoRedirect, showMessageBodyWarningRedirect, showMessageHeaderError, showMessageHeaderError, showMessageHeaderError, showMessageHeaderInformation, showMessageHeaderInformation, showMessageHeaderSuccess, showMessageHeaderSuccess, showMessageHeaderSuccess, showMessageHeaderWarning, showMessageHeaderWarning, showMessageProcess, updateComponent, updateComponentIfExists, updateComponents
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface br.com.jarch.faces.controller.IBaseJsfController
addCallbackParam, addMessageError, executeJavaScript, getContextoAplicacao, getParameterRequest, getParameterRequest, getTextoAjuda, hideMessageHeader, hideMessageProcess, isSystemTest, redireciona, redirect, removeQueryParamsUrl, setAttributeSession, setTextoAjuda, showMessageBodyErrorNoRedirect, showMessageBodyErrorNoRedirect, showMessageBodyErrorRedirect, showMessageBodySuccessNoRedirect, showMessageBodySuccessNoRedirect, showMessageBodySuccessNoRedirect, showMessageBodySuccessRedirect, showMessageBodySuccessRedirect, showMessageBodySuccessRedirect, showMessageBodyWarningNoRedirect, showMessageBodyWarningRedirect, showMessageHeaderError, showMessageHeaderError, showMessageHeaderError, showMessageHeaderInformation, showMessageHeaderInformation, showMessageHeaderSuccess, showMessageHeaderSuccess, showMessageHeaderSuccess, showMessageHeaderWarning, showMessageHeaderWarning, showMessageProcess, updateComponent, updateComponentIfExists, updateComponents
-
Methods inherited from interface br.com.jarch.faces.controller.IBaseListController
addParam, callActionDynamic, callActionDynamic, callActionDynamic, callActionDynamic, callConsult, callConsult, changePageDataTableEvent, clearFieldOrder, exportFormatCsv, exportFormatExcel, exportFormatPdf, exportFormatTxt, exportFormatXml, getAcessMenu, getColumnDataTable, getDataModel, getFieldSearch, getIdDynamicAction, getItemMenuSelected, getLabelReport, getListColumnDataTable, getListColumnReport, getMenuActions, getPageData, getParams, getRepository, getSelections, getService, getTemplateReport, isDisabledAttributeOrder, isDisabledInsert, isDisabledPrint, isExistsActionDynamic, isReportPortrait, isShowOptionReport, isVisibleInsert, isVisiblePrint, newSearchField, newSearchField, onReorderReportGroup, onRowSelect, onRowUnselect, onTransferReportColumn, onTransferReportGroup, processDisabledEvaluation, processMethodDisabledEvaluation, processMethodDynamic, processMethodDynamic, processMethodDynamicConfirmation, processMethodDynamicItemMenuSelected, processMethodMenuAction, processMethodMenuAction, processMethodMenuDownload, processMethodRenderedEvaluation, processRenderedEvaluation, removeFilter, removeParam, restoreLastSearch, saveLastSearch, setItemMenuSelected, setSelections, setValueFilter
-
Methods inherited from interface br.com.jarch.faces.controller.IListFilter
activeAndAddParamsWhereJpa, activeAndAddParamWhereJpa, activeWhereJpa, addFieldOrder, clearFilter, clearSearchBeforeFillDataModelList, columnsFilter, deactiveWhereJpa, fillDataModelList, getFilters, getListTabFilter, getMessageNoRecordFound, getSearch, listFieldSearch, maxNumberRowFilter, removeColumnDatatable, removeFieldSearch, setMaxResults
-
-
-
-
Method Detail
-
getWidgetVar
public java.lang.String getWidgetVar()
- Specified by:
getWidgetVar
in interfaceICrudListController<E extends br.com.jarch.core.model.ICrudEntity,S extends br.com.jarch.core.crud.service.ICrudService<E>,R extends br.com.jarch.core.crud.repository.CrudRepository<E>>
-
isExclusionLogic
public boolean isExclusionLogic()
- Specified by:
isExclusionLogic
in interfaceICrudListController<E extends br.com.jarch.core.model.ICrudEntity,S extends br.com.jarch.core.crud.service.ICrudService<E>,R extends br.com.jarch.core.crud.repository.CrudRepository<E>>
-
callInsert
public void callInsert()
- Specified by:
callInsert
in interfaceICrudListController<E extends br.com.jarch.core.model.ICrudEntity,S extends br.com.jarch.core.crud.service.ICrudService<E>,R extends br.com.jarch.core.crud.repository.CrudRepository<E>>
-
callClone
public void callClone(java.lang.Long id)
-
callClone
public void callClone(E identity)
-
callChange
public void callChange(java.lang.Long id)
- Specified by:
callChange
in interfaceICrudListController<E extends br.com.jarch.core.model.ICrudEntity,S extends br.com.jarch.core.crud.service.ICrudService<E>,R extends br.com.jarch.core.crud.repository.CrudRepository<E>>
-
callChange
public void callChange(E identity)
- Specified by:
callChange
in interfaceICrudListController<E extends br.com.jarch.core.model.ICrudEntity,S extends br.com.jarch.core.crud.service.ICrudService<E>,R extends br.com.jarch.core.crud.repository.CrudRepository<E>>
-
callDelete
public void callDelete(java.lang.Long id)
- Specified by:
callDelete
in interfaceICrudListController<E extends br.com.jarch.core.model.ICrudEntity,S extends br.com.jarch.core.crud.service.ICrudService<E>,R extends br.com.jarch.core.crud.repository.CrudRepository<E>>
-
callDelete
public void callDelete(E identity)
- Specified by:
callDelete
in interfaceICrudListController<E extends br.com.jarch.core.model.ICrudEntity,S extends br.com.jarch.core.crud.service.ICrudService<E>,R extends br.com.jarch.core.crud.repository.CrudRepository<E>>
-
totalizer
public java.lang.String totalizer(br.com.jarch.core.model.IColumnList columnList)
-
isExistColumnsTotalizer
public boolean isExistColumnsTotalizer()
- Specified by:
isExistColumnsTotalizer
in interfaceICrudListController<E extends br.com.jarch.core.model.ICrudEntity,S extends br.com.jarch.core.crud.service.ICrudService<E>,R extends br.com.jarch.core.crud.repository.CrudRepository<E>>
-
-