![]() |
BaltradDex
BALTRAD Data Exchange System
|
Public Member Functions | |
| SubscriptionManager () | |
| void | setJdbcTemplate (JdbcOperations jdbcTemplate) |
| void | setAccountManager (IUserManager accountManager) |
| void | setDataSourceManager (IDataSourceManager dataSourceManager) |
| long | count (String type) |
| Subscription | load (int id) |
| List< Subscription > | load (String type) |
| List< Subscription > | load (String type, String operator) |
| Subscription | load (String type, String user, String dataSource) |
| int | store (Subscription subscription) throws Exception |
| void | update (Subscription s) throws Exception |
| void | delete (int id) throws Exception |
|
inline |
Constructor.
|
inline |
Count subscriptions of a given type.
| type | Subscription type |
Implements eu.baltrad.dex.net.manager.ISubscriptionManager.
|
inline |
Delete subscription by id.
| id | Subscription id |
| Exception |
Implements eu.baltrad.dex.net.manager.ISubscriptionManager.
|
inline |
Load subscription.
| id | Subscription id |
Implements eu.baltrad.dex.net.manager.ISubscriptionManager.
|
inline |
Load subscriptions.
| type | Subscription type |
Implements eu.baltrad.dex.net.manager.ISubscriptionManager.
|
inline |
Load subscriptions.
| type | Subscription type |
| operator | Operator name |
Implements eu.baltrad.dex.net.manager.ISubscriptionManager.
|
inline |
Load subscriptions.
| type | Subscription type |
| user | User name |
| dataSource | Data source name |
Implements eu.baltrad.dex.net.manager.ISubscriptionManager.
|
inline |
| accountManager | the accountManager to set |
|
inline |
| dataSourceManager | the dataSourceManager to set |
|
inline |
| jdbcTemplate | the jdbcTemplate to set |
|
inline |
Store subscription.
| subscription | Subscription to store |
| Exception |
Implements eu.baltrad.dex.net.manager.ISubscriptionManager.
|
inline |
Update subscription.
| s | Subscription to update |
| Exception |
Implements eu.baltrad.dex.net.manager.ISubscriptionManager.