![]() |
BaltradDex
BALTRAD Data Exchange System
|
Public Member Functions | |
| RemoveSubscriptionController () | |
| String | subscribedPeers (Model model) |
| String | downloadsByPeer (Model model, @RequestParam(value="peer_name", required=false) String peerName) |
| String | removeSelectedDownloads (HttpServletRequest request, Model model) |
| String | removeDownloadsStatus (Model model) |
| String | removeUploads (Model model) |
| String | removeSelectedUploads (HttpServletRequest request, Model model) |
| String | removeUploadsStatus (Model model) |
| void | setConfigurationManager (IConfigurationManager confManager) |
| void | setAuthenticator (Authenticator authenticator) |
| void | setUserManager (IUserManager userManager) |
| void | setHttpClient (IHttpClientUtil httpClient) |
| void | setSubscriptionManager (ISubscriptionManager subscriptionManager) |
| void | setDataSourceManager (IDataSourceManager dataSourceManager) |
| void | setNodeStatusManager (INodeStatusManager nodeStatusManager) |
| void | setTxManager (PlatformTransactionManager txManager) |
| void | setProtocolManager (ProtocolManager protocolManager) |
| void | setMessageHelper (ModelMessageHelper messageHelper) |
Protected Member Functions | |
| void | initConfiguration () |
| int | cancelDownloads (String peerName, User local, List< Subscription > downloads) |
| int | removeDownloads (List< Subscription > downloads) |
Protected Attributes | |
| List< Subscription > | selectedDownloads |
| List< Subscription > | selectedActiveDownloads |
| List< Subscription > | selectedUploads |
| String | peerName |
| User | localNode |
Allows to remove subscriptions.
|
inline |
Constructor.
|
inlineprotected |
Cancel subscriptions at the peer node.
| peerName | Peer node name |
| local | Local node user |
| downloads | Active subscriptions to cancel |
|
inline |
Shows list of subscriptions for a given peer node.
| model | Model |
| peerName | Peer node name |
|
inlineprotected |
Initializes controller with current configuration
|
inlineprotected |
Remove subscriptions from local registry.
| downloads | Subscriptions to remove |
|
inline |
Removes selected downloads.
| model | Model map |
|
inline |
Creates list of downloads selected fro removal.
| request | Http servlet request |
| model | Model map |
|
inline |
Creates list of uploads selected fro removal.
| request | Http servlet request |
| model | Model map |
|
inline |
Creates list of all available uploads.
| model | Model map |
|
inline |
Removes selected uploads.
| model | Model map |
|
inline |
| authenticator | the authenticator to set |
|
inline |
| configurationManager |
|
inline |
| dataSourceManager | the dataSourceManager to set |
|
inline |
| httpClient | the httpClient to set |
|
inline |
| nodeStatusManager | the nodeStatusManager to set |
|
inline |
| subscriptionManager | the subscriptionManager to set |
|
inline |
| txManager | the txManager to set |
|
inline |
| userManager | the userManager to set |
|
inline |
Shows lists of subscribed peer nodes.
| model | Model |