public class MapiRuleStore extends JdbcAbstractStore
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<R>, JdbcAbstractStore.StatementValues<T>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
folderId |
datasource
Constructor and Description |
---|
MapiRuleStore(javax.sql.DataSource dataSource,
java.lang.String folderId) |
Modifier and Type | Method and Description |
---|---|
java.util.List<MapiRule> |
all() |
void |
delete(long ruleId) |
void |
store(MapiRule value)
Upsert the given
MapiRule |
batchInsert, batchInsert, delete, delete, delete, doOrContinue, doOrFail, getConnection, insert, insert, insert, insert, insertAndReturn, insertWithSerial, lastInsertId, select, select, select, unique, unique, unique, unique, unique, update, update, update, update, update
public MapiRuleStore(javax.sql.DataSource dataSource, java.lang.String folderId)
public void store(MapiRule value) throws java.sql.SQLException
MapiRule
value
- the rule to upsertjava.sql.SQLException
public void delete(long ruleId) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<MapiRule> all() throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.