Package com.biglybt.core.subs.util
Class SubscriptionResultFilterable
java.lang.Object
com.biglybt.core.subs.util.SubscriptionResultFilterable
- All Implemented Interfaces:
FilterableResult
,SearchSubsResultBase
public class SubscriptionResultFilterable
extends Object
implements SearchSubsResultBase, FilterableResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate long
private final String
private final int
private final String
private final byte[]
private final String
private int
private int
private boolean
private final String
private int
private String
private long
private final long
private final Subscription
private String[]
private long
private final String
private LightHashMap<Object,
Object> private String
private long
-
Constructor Summary
ConstructorsConstructorDescriptionSubscriptionResultFilterable
(Subscription _subs, SubscriptionResult _result) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
long
int
byte[]
getHash()
getID()
final String
getName()
int
int
int
getRank()
boolean
getRead()
long
long
getSize()
String[]
getTags()
long
getTime()
getUserData
(Object key) long
void
setRead
(boolean _read) void
setUserData
(Object key, Object data) void
updateFrom
(SubscriptionResult other) private void
updateMutables
(SubscriptionResult _result, Map<Integer, Object> properties)
-
Field Details
-
subs
-
result_id
-
name
-
hash
private final byte[] hash -
content_type
private final int content_type -
size
private final long size -
torrent_link
-
details_link
-
category
-
time
private long time -
read
private boolean read -
seeds_peers_sort
private long seeds_peers_sort -
seeds_peers
-
seed_count
private int seed_count -
peer_count
private int peer_count -
votes_comments_sort
private long votes_comments_sort -
votes_comments
-
rank
private int rank -
asset_date
private long asset_date -
tags
-
user_data
-
-
Constructor Details
-
SubscriptionResultFilterable
-
-
Method Details
-
updateMutables
-
updateFrom
-
getSubscription
-
getID
- Specified by:
getID
in interfaceSearchSubsResultBase
-
getName
- Specified by:
getName
in interfaceFilterableResult
- Specified by:
getName
in interfaceSearchSubsResultBase
-
getHash
public byte[] getHash()- Specified by:
getHash
in interfaceSearchSubsResultBase
-
getContentType
public int getContentType()- Specified by:
getContentType
in interfaceSearchSubsResultBase
-
getSize
public long getSize()- Specified by:
getSize
in interfaceFilterableResult
- Specified by:
getSize
in interfaceSearchSubsResultBase
-
getNbSeeds
public int getNbSeeds()- Specified by:
getNbSeeds
in interfaceFilterableResult
- Specified by:
getNbSeeds
in interfaceSearchSubsResultBase
-
getNbPeers
public int getNbPeers()- Specified by:
getNbPeers
in interfaceFilterableResult
-
getSeedsPeers
- Specified by:
getSeedsPeers
in interfaceSearchSubsResultBase
-
getSeedsPeersSortValue
public long getSeedsPeersSortValue()- Specified by:
getSeedsPeersSortValue
in interfaceSearchSubsResultBase
-
getVotesComments
- Specified by:
getVotesComments
in interfaceSearchSubsResultBase
-
getVotesCommentsSortValue
public long getVotesCommentsSortValue()- Specified by:
getVotesCommentsSortValue
in interfaceSearchSubsResultBase
-
getRank
public int getRank()- Specified by:
getRank
in interfaceSearchSubsResultBase
-
getTorrentLink
- Specified by:
getTorrentLink
in interfaceSearchSubsResultBase
-
getDetailsLink
- Specified by:
getDetailsLink
in interfaceSearchSubsResultBase
-
getCategory
- Specified by:
getCategory
in interfaceFilterableResult
- Specified by:
getCategory
in interfaceSearchSubsResultBase
-
getTags
- Specified by:
getTags
in interfaceFilterableResult
- Specified by:
getTags
in interfaceSearchSubsResultBase
-
getTime
public long getTime()- Specified by:
getTime
in interfaceFilterableResult
- Specified by:
getTime
in interfaceSearchSubsResultBase
-
getAssetDate
public long getAssetDate()- Specified by:
getAssetDate
in interfaceSearchSubsResultBase
-
getRead
public boolean getRead()- Specified by:
getRead
in interfaceSearchSubsResultBase
-
setRead
public void setRead(boolean _read) - Specified by:
setRead
in interfaceSearchSubsResultBase
-
delete
public void delete() -
setUserData
- Specified by:
setUserData
in interfaceSearchSubsResultBase
-
getUserData
- Specified by:
getUserData
in interfaceSearchSubsResultBase
-