public interface CatalogDao extends GenericDao<CatalogModel>
CatalogModel DAO.| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<CatalogModel> |
findAllCatalogs()
Return all
CatalogModels sorted in ascending order by CatalogModel.ID. |
CatalogModel |
findCatalogById(java.lang.String id)
Returns
CatalogModel with the given id. |
java.util.Collection<CatalogModel> |
findDefaultCatalogs()
Returns a collection of
CatalogModels with the current default CatalogModel of the system (one
element). |
CatalogModel findCatalogById(java.lang.String id)
CatalogModel with the given id.id - catalog idCatalogModeljava.lang.IllegalArgumentException - if id was null.UnknownIdentifierException - if no CatalogModel with the given id could be found.java.util.Collection<CatalogModel> findAllCatalogs()
CatalogModels sorted in ascending order by CatalogModel.ID.Collection of CatalogModels or empty collection.java.util.Collection<CatalogModel> findDefaultCatalogs()
CatalogModels with the current default CatalogModel of the system (one
element).Copyright © 2018 SAP SE. All Rights Reserved.