Class DeleteLocationRequest
java.lang.Object
net.solarnetwork.central.common.dao.jdbc.sql.DeleteLocationRequest
- All Implemented Interfaces:
org.springframework.jdbc.core.PreparedStatementCreator,org.springframework.jdbc.core.SqlProvider
public class DeleteLocationRequest
extends Object
implements org.springframework.jdbc.core.PreparedStatementCreator, org.springframework.jdbc.core.SqlProvider
Delete a location request entity.
- Since:
- 1.3
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.DeleteLocationRequest(Long id, LocationRequestCriteria filter) Constructor.Constructor. -
Method Summary
-
Constructor Details
-
DeleteLocationRequest
Constructor.- Parameters:
id- the ID to delete- Throws:
IllegalArgumentException- if any argument is null
-
DeleteLocationRequest
Constructor.- Parameters:
filter- filter to limit the query to- Throws:
IllegalArgumentException- if any argument is null
-
DeleteLocationRequest
Constructor.- Parameters:
id- an optional ID to deletefilter- an optional filter to limit the query to
-
-
Method Details
-
getSql
- Specified by:
getSqlin interfaceorg.springframework.jdbc.core.SqlProvider
-
createPreparedStatement
- Specified by:
createPreparedStatementin interfaceorg.springframework.jdbc.core.PreparedStatementCreator- Throws:
SQLException
-