com.aelitis.azureus.core.subs.impl
Class SubscriptionResultImpl
java.lang.Object
com.aelitis.azureus.core.subs.impl.SubscriptionResultImpl
- All Implemented Interfaces:
- SubscriptionResult, UtilitiesImpl.PluginSubscriptionResult
public class SubscriptionResultImpl
- extends java.lang.Object
- implements SubscriptionResult
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubscriptionResultImpl
protected SubscriptionResultImpl(SubscriptionHistoryImpl _history,
Result result)
SubscriptionResultImpl
protected SubscriptionResultImpl(SubscriptionHistoryImpl _history,
java.util.Map map)
updateFrom
protected boolean updateFrom(SubscriptionResultImpl other)
getID
public java.lang.String getID()
- Specified by:
getID
in interface SubscriptionResult
getKey1
protected byte[] getKey1()
getKey2
protected byte[] getKey2()
getRead
public boolean getRead()
- Specified by:
getRead
in interface SubscriptionResult
- Specified by:
getRead
in interface UtilitiesImpl.PluginSubscriptionResult
setRead
public void setRead(boolean _read)
- Specified by:
setRead
in interface SubscriptionResult
- Specified by:
setRead
in interface UtilitiesImpl.PluginSubscriptionResult
setReadInternal
protected void setReadInternal(boolean _read)
delete
public void delete()
- Specified by:
delete
in interface SubscriptionResult
deleteInternal
protected void deleteInternal()
isDeleted
public boolean isDeleted()
- Specified by:
isDeleted
in interface SubscriptionResult
toBEncodedMap
protected java.util.Map toBEncodedMap()
toJSONMap
public java.util.Map toJSONMap()
- Specified by:
toJSONMap
in interface SubscriptionResult
getDownloadLink
public java.lang.String getDownloadLink()
- Specified by:
getDownloadLink
in interface SubscriptionResult
getPlayLink
public java.lang.String getPlayLink()
- Specified by:
getPlayLink
in interface SubscriptionResult
getAssetHash
public java.lang.String getAssetHash()
getTimeFound
public long getTimeFound()
- Specified by:
getTimeFound
in interface SubscriptionResult
toPropertyMap
public java.util.Map<java.lang.Integer,java.lang.Object> toPropertyMap()
- Description copied from interface:
SubscriptionResult
- See SearchResult properties for list
- Specified by:
toPropertyMap
in interface SubscriptionResult
- Specified by:
toPropertyMap
in interface UtilitiesImpl.PluginSubscriptionResult