@Service public class SqlComponentDao extends Object
| Constructor and Description |
|---|
SqlComponentDao(org.springframework.context.ApplicationContext applicationContext,
io.tesler.api.config.TeslerBeanProperties teslerBeanProperties,
SessionService sessionService,
org.springframework.orm.jpa.vendor.Database primaryDatabase) |
| Modifier and Type | Method and Description |
|---|---|
long |
count(BusinessComponent bc,
QueryParameters queryParameters) |
SqlComponentObject |
getOne(BusinessComponent bc,
QueryParameters queryParameters) |
io.tesler.api.data.ResultPage<SqlComponentObject> |
getPage(BusinessComponent bc,
QueryParameters queryParameters) |
@Autowired
public SqlComponentDao(org.springframework.context.ApplicationContext applicationContext,
io.tesler.api.config.TeslerBeanProperties teslerBeanProperties,
SessionService sessionService,
@Qualifier(value="primaryDatabase")
org.springframework.orm.jpa.vendor.Database primaryDatabase)
public io.tesler.api.data.ResultPage<SqlComponentObject> getPage(BusinessComponent bc, QueryParameters queryParameters)
public SqlComponentObject getOne(BusinessComponent bc, QueryParameters queryParameters)
public long count(BusinessComponent bc, QueryParameters queryParameters)
Copyright © 2018–2022 Tesler. All rights reserved.