com.aelitis.azureus.core.subs
Interface SubscriptionManager
- All Superinterfaces:
- UtilitiesImpl.PluginSubscriptionManager
- All Known Implementing Classes:
- SubscriptionManagerImpl
public interface SubscriptionManager
- extends UtilitiesImpl.PluginSubscriptionManager
create
Subscription create(String name,
boolean is_public,
String json)
throws SubscriptionException
- Throws:
SubscriptionException
createRSS
Subscription createRSS(String name,
URL url,
int check_interval_mins,
Map user_data)
throws SubscriptionException
- Throws:
SubscriptionException
createSingletonRSS
Subscription createSingletonRSS(String name,
URL url,
int check_interval_mins)
throws SubscriptionException
- Throws:
SubscriptionException
createFromURI
Subscription createFromURI(String uri)
throws SubscriptionException
- Throws:
SubscriptionException
getKnownSubscriptionCount
int getKnownSubscriptionCount()
getSubscriptionCount
int getSubscriptionCount(boolean subscribed_only)
getSubscriptions
Subscription[] getSubscriptions()
getSubscriptions
Subscription[] getSubscriptions(boolean subscribed_only)
- Specified by:
getSubscriptions
in interface UtilitiesImpl.PluginSubscriptionManager
getSubscriptionByID
Subscription getSubscriptionByID(String id)
lookupAssociations
SubscriptionAssociationLookup lookupAssociations(byte[] hash,
SubscriptionLookupListener listener)
throws SubscriptionException
- Full lookup
- Parameters:
hash
- listener
-
- Returns:
-
- Throws:
SubscriptionException
getKnownSubscriptions
Subscription[] getKnownSubscriptions(byte[] hash)
- Cached view of hash's subs
- Parameters:
hash
-
- Returns:
getLinkedSubscriptions
Subscription[] getLinkedSubscriptions(byte[] hash)
getScheduler
SubscriptionScheduler getScheduler()
getMaxNonDeletedResults
int getMaxNonDeletedResults()
setMaxNonDeletedResults
void setMaxNonDeletedResults(int max)
getAutoStartDownloads
boolean getAutoStartDownloads()
setAutoStartDownloads
void setAutoStartDownloads(boolean auto_start)
getAutoStartMinMB
int getAutoStartMinMB()
setAutoStartMinMB
void setAutoStartMinMB(int mb)
getAutoStartMaxMB
int getAutoStartMaxMB()
setAutoStartMaxMB
void setAutoStartMaxMB(int mb)
isRSSPublishEnabled
boolean isRSSPublishEnabled()
setRSSPublishEnabled
void setRSSPublishEnabled(boolean enabled)
isSearchEnabled
boolean isSearchEnabled()
setSearchEnabled
void setSearchEnabled(boolean enabled)
isSubsDownloadEnabled
boolean isSubsDownloadEnabled()
setSubsDownloadEnabled
void setSubsDownloadEnabled(boolean enabled)
hideSearchTemplates
boolean hideSearchTemplates()
getRSSLink
String getRSSLink()
setRateLimits
void setRateLimits(String limits)
getRateLimits
String getRateLimits()
addListener
void addListener(SubscriptionManagerListener listener)
removeListener
void removeListener(SubscriptionManagerListener listener)