Allows to remove subscriptions.
- Author
- Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
- Version
- 1.2.2
- Since
- 1.0.0
◆ RemoveSubscriptionController()
eu.baltrad.dex.net.controller.RemoveSubscriptionController.RemoveSubscriptionController |
( |
| ) |
|
|
inline |
◆ cancelDownloads()
int eu.baltrad.dex.net.controller.RemoveSubscriptionController.cancelDownloads |
( |
String | peerName, |
|
|
User | local, |
|
|
List< Subscription > | downloads ) |
|
inlineprotected |
Cancel subscriptions at the peer node.
- Parameters
-
peerName | Peer node name |
local | Local node user |
downloads | Active subscriptions to cancel |
- Returns
- HTTP status code
◆ downloadsByPeer()
String eu.baltrad.dex.net.controller.RemoveSubscriptionController.downloadsByPeer |
( |
Model | model, |
|
|
@RequestParam(value="peer_name", required=false) String | peerName ) |
|
inline |
Shows list of subscriptions for a given peer node.
- Parameters
-
model | Model |
peerName | Peer node name |
- Returns
- Subscriptions by peer view
◆ initConfiguration()
void eu.baltrad.dex.net.controller.RemoveSubscriptionController.initConfiguration |
( |
| ) |
|
|
inlineprotected |
Initializes controller with current configuration
◆ removeDownloads()
int eu.baltrad.dex.net.controller.RemoveSubscriptionController.removeDownloads |
( |
List< Subscription > | downloads | ) |
|
|
inlineprotected |
Remove subscriptions from local registry.
- Parameters
-
downloads | Subscriptions to remove |
- Returns
- Operation status code: 0 in case of success, otherwise 1
◆ removeDownloadsStatus()
String eu.baltrad.dex.net.controller.RemoveSubscriptionController.removeDownloadsStatus |
( |
Model | model | ) |
|
|
inline |
Removes selected downloads.
- Parameters
-
- Returns
- View name
◆ removeSelectedDownloads()
String eu.baltrad.dex.net.controller.RemoveSubscriptionController.removeSelectedDownloads |
( |
HttpServletRequest | request, |
|
|
Model | model ) |
|
inline |
Creates list of downloads selected fro removal.
- Parameters
-
request | Http servlet request |
model | Model map |
- Returns
- View name
◆ removeSelectedUploads()
String eu.baltrad.dex.net.controller.RemoveSubscriptionController.removeSelectedUploads |
( |
HttpServletRequest | request, |
|
|
Model | model ) |
|
inline |
Creates list of uploads selected fro removal.
- Parameters
-
request | Http servlet request |
model | Model map |
- Returns
- View name
◆ removeUploads()
String eu.baltrad.dex.net.controller.RemoveSubscriptionController.removeUploads |
( |
Model | model | ) |
|
|
inline |
Creates list of all available uploads.
- Parameters
-
- Returns
- View name
◆ removeUploadsStatus()
String eu.baltrad.dex.net.controller.RemoveSubscriptionController.removeUploadsStatus |
( |
Model | model | ) |
|
|
inline |
Removes selected uploads.
- Parameters
-
- Returns
- View name
◆ setAuthenticator()
void eu.baltrad.dex.net.controller.RemoveSubscriptionController.setAuthenticator |
( |
Authenticator | authenticator | ) |
|
|
inline |
- Parameters
-
authenticator | the authenticator to set |
◆ setConfigurationManager()
void eu.baltrad.dex.net.controller.RemoveSubscriptionController.setConfigurationManager |
( |
IConfigurationManager | confManager | ) |
|
|
inline |
◆ setDataSourceManager()
void eu.baltrad.dex.net.controller.RemoveSubscriptionController.setDataSourceManager |
( |
IDataSourceManager | dataSourceManager | ) |
|
|
inline |
- Parameters
-
dataSourceManager | the dataSourceManager to set |
◆ setHttpClient()
void eu.baltrad.dex.net.controller.RemoveSubscriptionController.setHttpClient |
( |
IHttpClientUtil | httpClient | ) |
|
|
inline |
- Parameters
-
httpClient | the httpClient to set |
◆ setNodeStatusManager()
void eu.baltrad.dex.net.controller.RemoveSubscriptionController.setNodeStatusManager |
( |
INodeStatusManager | nodeStatusManager | ) |
|
|
inline |
- Parameters
-
nodeStatusManager | the nodeStatusManager to set |
◆ setSubscriptionManager()
void eu.baltrad.dex.net.controller.RemoveSubscriptionController.setSubscriptionManager |
( |
ISubscriptionManager | subscriptionManager | ) |
|
|
inline |
- Parameters
-
subscriptionManager | the subscriptionManager to set |
◆ setTxManager()
void eu.baltrad.dex.net.controller.RemoveSubscriptionController.setTxManager |
( |
PlatformTransactionManager | txManager | ) |
|
|
inline |
- Parameters
-
txManager | the txManager to set |
◆ setUserManager()
void eu.baltrad.dex.net.controller.RemoveSubscriptionController.setUserManager |
( |
IUserManager | userManager | ) |
|
|
inline |
- Parameters
-
userManager | the userManager to set |
◆ subscribedPeers()
String eu.baltrad.dex.net.controller.RemoveSubscriptionController.subscribedPeers |
( |
Model | model | ) |
|
|
inline |
Shows lists of subscribed peer nodes.
- Parameters
-
- Returns
- Subscribed peers view
The documentation for this class was generated from the following file:
- src/java/eu/baltrad/dex/net/controller/RemoveSubscriptionController.java