Package org.cxbox.sqlbc.dao
Class SqlComponentDao
- java.lang.Object
-
- org.cxbox.sqlbc.dao.SqlComponentDao
-
@Service public class SqlComponentDao extends Object
-
-
Constructor Summary
Constructors Constructor Description SqlComponentDao(org.springframework.context.ApplicationContext applicationContext, org.cxbox.api.config.CxboxBeanProperties cxboxBeanProperties, SessionService sessionService, org.springframework.orm.jpa.vendor.Database primaryDatabase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcount(BusinessComponent bc, QueryParameters queryParameters)SqlComponentObjectgetOne(BusinessComponent bc, QueryParameters queryParameters)org.cxbox.api.data.ResultPage<SqlComponentObject>getPage(BusinessComponent bc, QueryParameters queryParameters)
-
-
-
Constructor Detail
-
SqlComponentDao
@Autowired public SqlComponentDao(org.springframework.context.ApplicationContext applicationContext, org.cxbox.api.config.CxboxBeanProperties cxboxBeanProperties, SessionService sessionService, @Qualifier("primaryDatabase") org.springframework.orm.jpa.vendor.Database primaryDatabase)
-
-
Method Detail
-
getPage
public org.cxbox.api.data.ResultPage<SqlComponentObject> getPage(BusinessComponent bc, QueryParameters queryParameters)
-
getOne
public SqlComponentObject getOne(BusinessComponent bc, QueryParameters queryParameters)
-
count
public long count(BusinessComponent bc, QueryParameters queryParameters)
-
-