Package com.biglybt.core.subs
Interface Subscription
- All Superinterfaces:
UtilitiesImpl.PluginSubscription
- All Known Implementing Classes:
SubscriptionImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final Object
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAssociation
(byte[] hash) void
void
addPotentialAssociation
(String result_id, String key) cloneWithNewEngine
(Engine engine) long
int
int
int
long
int
getID()
getJSON()
long
getName()
Returns local name if setgetName
(boolean use_local) long
long
void
getPopularity
(SubscriptionPopularityListener listener) byte[]
getResults
(boolean include_deleted) shortcut to help plugin interfacelong
getTagID()
Tag UIDgetURI()
getUserData
(Object key) int
int
boolean
hasAssociation
(byte[] hash) boolean
boolean
boolean
isMine()
boolean
isPublic()
boolean
boolean
boolean
boolean
boolean
boolean
void
remove()
void
void
void
reset()
void
void
setCategory
(String category) void
setCreatorRef
(String str) void
setDependsOn
(List<Subscription> subs) boolean
setDetails
(String name, boolean is_public, String json) void
boolean
void
setLocalName
(String str) void
void
void
setPublic
(boolean is_public) void
setSubscribed
(boolean subscribed) void
setTagID
(long tag_id) void
setUserData
(Object key, Object data) void
setViewOptions
(int options)
-
Field Details
-
AZ_VERSION
static final int AZ_VERSION- See Also:
-
VUZE_FILE_COMPONENT_SUBSCRIPTION_KEY
-
ADD_TYPE_CREATE
static final int ADD_TYPE_CREATE- See Also:
-
ADD_TYPE_IMPORT
static final int ADD_TYPE_IMPORT- See Also:
-
ADD_TYPE_LOOKUP
static final int ADD_TYPE_LOOKUP- See Also:
-
VO_FULL
static final int VO_FULL- See Also:
-
VO_HIDE_HEADER
static final int VO_HIDE_HEADER- See Also:
-
-
Method Details
-
getName
String getName()Returns local name if set- Specified by:
getName
in interfaceUtilitiesImpl.PluginSubscription
- Returns:
-
getName
-
setLocalName
-
setName
- Throws:
SubscriptionException
-
getNameEx
String getNameEx() -
getQueryKey
String getQueryKey() -
getID
String getID()- Specified by:
getID
in interfaceUtilitiesImpl.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
- Throws:
SubscriptionException
-
isAnonymous
boolean isAnonymous() -
isUpdateable
boolean isUpdateable() -
isSubscriptionTemplate
boolean isSubscriptionTemplate() -
getMetadataMutationIndicator
long getMetadataMutationIndicator() -
getDependsOn
List<Subscription> getDependsOn() -
setDependsOn
-
getNewestUnreadResultTime
long getNewestUnreadResultTime() -
getNextUpdateTime
long getNextUpdateTime() -
getExecuteOnNewResult
String getExecuteOnNewResult() -
setExecuteOnNewResult
-
isSearchTemplate
boolean isSearchTemplate()- Specified by:
isSearchTemplate
in interfaceUtilitiesImpl.PluginSubscription
-
isSearchTemplateImportable
boolean isSearchTemplateImportable() -
getSearchTemplateVuzeFile
VuzeFile getSearchTemplateVuzeFile() -
getJSON
- Throws:
SubscriptionException
-
setJSON
- Throws:
SubscriptionException
-
isSubscribed
boolean isSubscribed() -
setSubscribed
void setSubscribed(boolean subscribed) -
getPopularity
- Throws:
SubscriptionException
-
setDetails
- Throws:
SubscriptionException
-
getReferer
String getReferer() -
getCachedPopularity
long getCachedPopularity() -
addAssociation
void addAssociation(byte[] hash) -
addPotentialAssociation
-
getAssociationCount
int getAssociationCount() -
hasAssociation
boolean hasAssociation(byte[] hash) -
getCategory
String getCategory() -
setCategory
-
getTagID
long getTagID()Tag UID -
setTagID
void setTagID(long tag_id) -
getViewOptions
int getViewOptions() -
setViewOptions
void setViewOptions(int options) -
getParent
String getParent() -
setParent
-
getEngine
- Throws:
SubscriptionException
-
cloneWithNewEngine
- Throws:
SubscriptionException
-
isAutoDownloadSupported
boolean isAutoDownloadSupported() -
getVuzeFile
- Throws:
SubscriptionException
-
setCreatorRef
-
getCreatorRef
String getCreatorRef() -
reset
void reset() -
remove
void remove() -
getManager
SubscriptionManager getManager() -
getHistory
SubscriptionHistory getHistory() -
getResults
shortcut to help plugin interface- Specified by:
getResults
in interfaceUtilitiesImpl.PluginSubscription
- Parameters:
l
-
-
getURI
String getURI() -
getFilters
- Throws:
SubscriptionException
-
requestAttention
void requestAttention() -
addListener
-
removeListener
-
setUserData
-
getUserData
-
getString
String getString()
-