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
ADD_TYPE_CREATE
static final int ADD_TYPE_CREATE
- See Also:
- Constant Field Values
ADD_TYPE_IMPORT
static final int ADD_TYPE_IMPORT
- See Also:
- Constant Field Values
ADD_TYPE_LOOKUP
static final int ADD_TYPE_LOOKUP
- See Also:
- Constant Field Values
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()
getQueryKey
String getQueryKey()
getID
String getID()
- Specified by:
getID
in interface UtilitiesImpl.PluginSubscription
getPublicKey
byte[] getPublicKey()
getVersion
int getVersion()
getAddTime
long getAddTime()
getAddType
int getAddType()
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
isAnonymous
boolean isAnonymous()
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)
getParent
String getParent()
setParent
void setParent(String parent)
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
-
getURI
String getURI()
requestAttention
void requestAttention()
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()