com.aelitis.azureus.core.subs
Interface Subscription
- All Superinterfaces: 
 - UtilitiesImpl.PluginSubscription
 
- All Known Implementing Classes: 
 - SubscriptionImpl
 
public interface Subscription
- extends UtilitiesImpl.PluginSubscription
 
 
 
AZ_VERSION
static final int AZ_VERSION
- See Also:
 - Constant Field Values
 
VUZE_FILE_COMPONENT_SUBSCRIPTION_KEY
static final Object VUZE_FILE_COMPONENT_SUBSCRIPTION_KEY
getName
String getName()
- Returns local name if set
- Specified by:
 getName in interface UtilitiesImpl.PluginSubscription
 
- Returns:
 
 
 
getName
String getName(boolean use_local)
 
 
setLocalName
void setLocalName(String str)
 
 
setName
void setName(String str)
             throws SubscriptionException
 
- Throws:
 SubscriptionException
 
getNameEx
String getNameEx()
 
 
getID
String getID()
- Specified by:
 getID in interface UtilitiesImpl.PluginSubscription
 
 
getPublicKey
byte[] getPublicKey()
 
 
getVersion
int getVersion()
 
 
getAddTime
long getAddTime()
 
 
getHighestVersion
int getHighestVersion()
 
 
resetHighestVersion
void resetHighestVersion()
 
 
getAZVersion
int getAZVersion()
 
 
isMine
boolean isMine()
 
 
isPublic
boolean isPublic()
 
 
setPublic
void setPublic(boolean is_public)
               throws SubscriptionException
 
- Throws:
 SubscriptionException
 
isUpdateable
boolean isUpdateable()
 
 
isShareable
boolean isShareable()
 
 
isSearchTemplate
boolean isSearchTemplate()
- Specified by:
 isSearchTemplate in interface UtilitiesImpl.PluginSubscription
 
 
isSearchTemplateImportable
boolean isSearchTemplateImportable()
 
 
getSearchTemplateVuzeFile
VuzeFile getSearchTemplateVuzeFile()
 
 
getJSON
String getJSON()
               throws SubscriptionException
 
- Throws:
 SubscriptionException
 
setJSON
boolean setJSON(String json)
                throws SubscriptionException
 
- Throws:
 SubscriptionException
 
isSubscribed
boolean isSubscribed()
 
 
setSubscribed
void setSubscribed(boolean subscribed)
 
 
getPopularity
void getPopularity(SubscriptionPopularityListener listener)
                   throws SubscriptionException
 
- Throws:
 SubscriptionException
 
setDetails
boolean setDetails(String name,
                   boolean is_public,
                   String json)
                   throws SubscriptionException
 
- Throws:
 SubscriptionException
 
getReferer
String getReferer()
 
 
getCachedPopularity
long getCachedPopularity()
 
 
addAssociation
void addAssociation(byte[] hash)
 
 
addPotentialAssociation
void addPotentialAssociation(String result_id,
                             String key)
 
 
getAssociationCount
int getAssociationCount()
 
 
hasAssociation
boolean hasAssociation(byte[] hash)
 
 
getCategory
String getCategory()
 
 
setCategory
void setCategory(String category)
 
 
getTagID
long getTagID()
 
 
setTagID
void setTagID(long tag_id)
 
 
getEngine
Engine getEngine()
                 throws SubscriptionException
 
- Throws:
 SubscriptionException
 
cloneWithNewEngine
Subscription cloneWithNewEngine(Engine engine)
                                throws SubscriptionException
 
- Throws:
 SubscriptionException
 
isAutoDownloadSupported
boolean isAutoDownloadSupported()
 
 
getVuzeFile
VuzeFile getVuzeFile()
                     throws SubscriptionException
 
- Throws:
 SubscriptionException
 
setCreatorRef
void setCreatorRef(String str)
 
 
getCreatorRef
String getCreatorRef()
 
 
reset
void reset()
 
 
remove
void remove()
 
 
getManager
SubscriptionManager getManager()
 
 
getHistory
SubscriptionHistory getHistory()
 
 
getResults
SubscriptionResult[] getResults(boolean include_deleted)
- shortcut to help plugin interface
- Specified by:
 getResults in interface UtilitiesImpl.PluginSubscription
 
- Parameters:
 l - 
 
 
addListener
void addListener(SubscriptionListener l)
 
 
removeListener
void removeListener(SubscriptionListener l)
 
 
setUserData
void setUserData(Object key,
                 Object data)
 
 
getUserData
Object getUserData(Object key)
 
 
getString
String getString()