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 longprivate final Stringprivate intprivate final intprivate final Stringprivate final Stringprivate final byte[]private final Stringprivate intprivate intprivate booleanprivate final Stringprivate intprivate Stringprivate longprivate final longprivate final Subscriptionprivate String[]private longprivate final Stringprivate LightHashMap<Object, Object> private Stringprivate long -
Constructor Summary
ConstructorsConstructorDescriptionSubscriptionResultFilterable(Subscription _subs, SubscriptionResult _result) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()longintbyte[]getHash()getID()final StringgetName()intintintintgetRank()booleangetRead()longlonggetSize()String[]getTags()longgetTime()getUserData(Object key) longvoidsetRead(boolean _read) voidsetUserData(Object key, Object data) voidupdateFrom(SubscriptionResult other) private voidupdateMutables(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
-
desc
-
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 -
completed_count
private int completed_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:
getIDin interfaceSearchSubsResultBase
-
getName
- Specified by:
getNamein interfaceFilterableResult- Specified by:
getNamein interfaceSearchSubsResultBase
-
getHash
public byte[] getHash()- Specified by:
getHashin interfaceSearchSubsResultBase
-
getContentType
public int getContentType()- Specified by:
getContentTypein interfaceSearchSubsResultBase
-
getSize
public long getSize()- Specified by:
getSizein interfaceFilterableResult- Specified by:
getSizein interfaceSearchSubsResultBase
-
getNbSeeds
public int getNbSeeds()- Specified by:
getNbSeedsin interfaceFilterableResult- Specified by:
getNbSeedsin interfaceSearchSubsResultBase
-
getNbPeers
public int getNbPeers()- Specified by:
getNbPeersin interfaceFilterableResult- Specified by:
getNbPeersin interfaceSearchSubsResultBase
-
getSeedsPeers
- Specified by:
getSeedsPeersin interfaceSearchSubsResultBase
-
getSeedsPeersSortValue
public long getSeedsPeersSortValue()- Specified by:
getSeedsPeersSortValuein interfaceSearchSubsResultBase
-
getNbCompleted
public int getNbCompleted()- Specified by:
getNbCompletedin interfaceSearchSubsResultBase
-
getVotesComments
- Specified by:
getVotesCommentsin interfaceSearchSubsResultBase
-
getVotesCommentsSortValue
public long getVotesCommentsSortValue()- Specified by:
getVotesCommentsSortValuein interfaceSearchSubsResultBase
-
getRank
public int getRank()- Specified by:
getRankin interfaceSearchSubsResultBase
-
getTorrentLink
- Specified by:
getTorrentLinkin interfaceSearchSubsResultBase
-
getDetailsLink
- Specified by:
getDetailsLinkin interfaceSearchSubsResultBase
-
getCategory
- Specified by:
getCategoryin interfaceFilterableResult- Specified by:
getCategoryin interfaceSearchSubsResultBase
-
getDescription
- Specified by:
getDescriptionin interfaceSearchSubsResultBase
-
getTags
- Specified by:
getTagsin interfaceFilterableResult- Specified by:
getTagsin interfaceSearchSubsResultBase
-
getTime
public long getTime()- Specified by:
getTimein interfaceFilterableResult- Specified by:
getTimein interfaceSearchSubsResultBase
-
getAssetDate
public long getAssetDate()- Specified by:
getAssetDatein interfaceSearchSubsResultBase
-
getRead
public boolean getRead()- Specified by:
getReadin interfaceSearchSubsResultBase
-
setRead
public void setRead(boolean _read) - Specified by:
setReadin interfaceSearchSubsResultBase
-
delete
public void delete() -
setUserData
- Specified by:
setUserDatain interfaceSearchSubsResultBase
-
getUserData
- Specified by:
getUserDatain interfaceSearchSubsResultBase
-