Class DeleteAppSetting
java.lang.Object
net.solarnetwork.central.common.dao.jdbc.sql.DeleteAppSetting
- All Implemented Interfaces:
org.springframework.jdbc.core.PreparedStatementCreator,org.springframework.jdbc.core.SqlProvider
public class DeleteAppSetting
extends Object
implements org.springframework.jdbc.core.PreparedStatementCreator, org.springframework.jdbc.core.SqlProvider
Delete
AppSetting instances.- Since:
- 2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeleteAppSettingdeleteForKey(String key) Select for a single key.static DeleteAppSettingdeleteForKeyType(String key, String type) Select for a single key and type.getSql()
-
Constructor Details
-
DeleteAppSetting
Constructor.- Parameters:
keys- the optional keys to filter ontypes- the optional types to filter on
-
-
Method Details
-
deleteForKey
Select for a single key.- Parameters:
key- the key- Returns:
- the select statement
- Throws:
IllegalArgumentException- if any argument is null
-
deleteForKeyType
Select for a single key and type.- Parameters:
key- the keytype- the type- Returns:
- the select statement
- Throws:
IllegalArgumentException- if any argument is null
-
getSql
- Specified by:
getSqlin interfaceorg.springframework.jdbc.core.SqlProvider
-
createPreparedStatement
- Specified by:
createPreparedStatementin interfaceorg.springframework.jdbc.core.PreparedStatementCreator- Throws:
SQLException
-