Interface Subscription
- All Superinterfaces:
UtilitiesImpl.PluginSubscription
- All Known Implementing Classes:
SubscriptionImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final Object -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssociation(byte[] hash) voidvoidaddPotentialAssociation(String result_id, String key) cloneWithNewEngine(Engine engine) longintintintlongintgetID()getJSON()longgetName()Returns local name if setgetName(boolean use_local) longlongvoidgetPopularity(SubscriptionPopularityListener listener) byte[]getResults(boolean include_deleted) shortcut to help plugin interfacelonggetTagID()Tag UIDgetURI()getUserData(Object key) intintbooleanhasAssociation(byte[] hash) booleanbooleanbooleanisMine()booleanisPublic()booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidremove()voidvoidvoidreset()voidvoidsetCategory(String category) voidsetCreatorRef(String str) voidsetDependsOn(List<Subscription> subs) booleansetDetails(String name, boolean is_public, String json) voidbooleanvoidsetLocalName(String str) voidvoidvoidsetPublic(boolean is_public) voidsetSubscribed(boolean subscribed) voidsetTagID(long tag_id) voidsetUserData(Object key, Object data) voidsetViewOptions(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:
getNamein interfaceUtilitiesImpl.PluginSubscription- Returns:
-
getName
-
setLocalName
-
setName
- Throws:
SubscriptionException
-
getNameEx
String getNameEx() -
getQueryKey
String getQueryKey() -
getID
String getID()- Specified by:
getIDin 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:
isSearchTemplatein 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() -
isRemoved
boolean isRemoved() -
getManager
SubscriptionManager getManager() -
getHistory
SubscriptionHistory getHistory() -
getResults
shortcut to help plugin interface- Specified by:
getResultsin interfaceUtilitiesImpl.PluginSubscription- Parameters:
l-
-
getURI
String getURI() -
getFilters
- Throws:
SubscriptionException
-
requestAttention
void requestAttention() -
addListener
-
removeListener
-
setUserData
-
getUserData
-
getString
String getString()
-