Class SelectLocationRequest
java.lang.Object
net.solarnetwork.central.common.dao.jdbc.sql.SelectLocationRequest
- All Implemented Interfaces:
org.springframework.jdbc.core.PreparedStatementCreator,org.springframework.jdbc.core.SqlProvider
public class SelectLocationRequest
extends Object
implements org.springframework.jdbc.core.PreparedStatementCreator, org.springframework.jdbc.core.SqlProvider
Select location request entities.
- Since:
- 1.3
-
Constructor Summary
ConstructorsConstructorDescriptionSelect for a specific entity.SelectLocationRequest(Long id, LocationRequestCriteria filter) Select for matching entities.Select for matching entities. -
Method Summary
-
Constructor Details
-
SelectLocationRequest
Select for a specific entity.- Parameters:
id- the ID of the entity to fetch
-
SelectLocationRequest
Select for matching entities.- Parameters:
filter- the search criteria
-
SelectLocationRequest
Select for matching entities.- Parameters:
id- the ID of the entity to fetchfilter- the search criteria
-
-
Method Details
-
getSql
- Specified by:
getSqlin interfaceorg.springframework.jdbc.core.SqlProvider
-
createPreparedStatement
- Specified by:
createPreparedStatementin interfaceorg.springframework.jdbc.core.PreparedStatementCreator- Throws:
SQLException
-