> For the complete documentation index, see [llms.txt](https://avbravo-2.gitbook.io/trucosjakartaee/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://avbravo-2.gitbook.io/trucosjakartaee/overview/controller-1/showall.md).

# showAll

```java
 @Override
    public String showAll() {
        try {
            marcaList = new ArrayList<>();
            marcaFiltered = new ArrayList<>();
            marcaList = marcaRepository.findAll();
            marcaFiltered = marcaList;
            marcaDataModel = new MarcaDataModel(marcaList);

        } catch (Exception e) {
            JsfUtil.errorMessage("showAll()" + e.getLocalizedMessage());
        }
        return "";
    }
```
