com.aelitis.azureus.activities
Class VuzeActivitiesEntry
java.lang.Object
com.aelitis.azureus.activities.VuzeActivitiesEntry
- All Implemented Interfaces:
- TableColumnSortObject, Comparable
public class VuzeActivitiesEntry
- extends Object
- implements TableColumnSortObject
Comparable implementation sorts on timestamp.
equals() implementation compares IDs
- Author:
- TuxPaper
urlInfo
public Object urlInfo
tableColumn
public TableColumnCore tableColumn
VuzeActivitiesEntry
public VuzeActivitiesEntry(long timestamp,
String text,
String typeID)
VuzeActivitiesEntry
public VuzeActivitiesEntry(long timestamp,
String text,
String icon,
String id,
String typeID,
String assetHash)
VuzeActivitiesEntry
public VuzeActivitiesEntry()
updateFrom
protected void updateFrom(VuzeActivitiesEntry other)
loadFromExternalMap
public void loadFromExternalMap(Map<?,?> platformEntry)
- Parameters:
platformEntry
-
loadFromInternalMap
public void loadFromInternalMap(Map<?,?> map)
loadCommonFromMap
public void loadCommonFromMap(Map<?,?> map)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(Object obj)
- Specified by:
compareTo
in interface Comparable
setAssetImageURL
public void setAssetImageURL(String url)
getAssetImageURL
public String getAssetImageURL()
toDeletedMap
public Map<String,Object> toDeletedMap()
setActions
public void setActions(String[] _actions)
getActions
public String[] getActions()
allowReAdd
public boolean allowReAdd()
setCallback
public void setCallback(Class<? extends AZ3Functions.provider.LocalActivityCallback> _callback,
Map<String,String> _callback_data)
invokeCallback
public void invokeCallback(String action)
toMap
public Map<String,Object> toMap()
getTimestamp
public long getTimestamp()
setTimestamp
public void setTimestamp(long timestamp)
setTypeID
public void setTypeID(String typeID,
boolean autoSetIcon)
- Parameters:
typeID
- the typeID to set
getTypeID
public String getTypeID()
- Returns:
- the typeID
setIconID
public void setIconID(String iconID)
- Parameters:
iconID
- the iconID to set
setIconIDRaw
public void setIconIDRaw(String iconID)
getIconID
public String getIconID()
- Returns:
- the iconID
setText
public void setText(String text)
- Parameters:
text
- the text to set
getText
public String getText()
- Returns:
- the text
setID
public void setID(String id)
- Parameters:
id
- the id to set
getID
public String getID()
- Returns:
- the id
setAssetHash
public void setAssetHash(String assetHash)
- Parameters:
assetHash
- the assetHash to set
getAssetHash
public String getAssetHash()
- Returns:
- the assetHash
setDownloadManager
public void setDownloadManager(DownloadManager dm)
- Parameters:
dm
- the dm to set
getDownloadManger
public DownloadManager getDownloadManger()
- Returns:
- the dm
setImageBytes
public void setImageBytes(byte[] imageBytes)
- Parameters:
imageBytes
- the imageBytes to set
getImageBytes
public byte[] getImageBytes()
- Returns:
- the imageBytes
setShowThumb
public void setShowThumb(boolean showThumb)
- Parameters:
showThumb
- the showThumb to set
getShowThumb
public boolean getShowThumb()
- Returns:
- the showThumb
getTorrent
public TOTorrent getTorrent()
- Independant for
getDownloadManger()
. This will be written to
the map.
- Returns:
- Only returns TOTorrent set via
setTorrent(TOTorrent)
- Since:
- 3.0.5.3
setTorrent
public void setTorrent(TOTorrent torrent)
- Not needed if you
setDownloadManager(DownloadManager)
. This will
be written the map.
- Parameters:
torrent
- - Since:
- 3.0.5.3
getTorrentName
public String getTorrentName()
setTorrentName
public void setTorrentName(String torrentName)
createSelectedContentObject
public SelectedContentV3 createSelectedContentObject()
throws Exception
- Throws:
Exception
isPlayable
public boolean isPlayable(boolean blocking)
setPlayable
public void setPlayable(boolean playable)
getReadOn
public long getReadOn()
setReadOn
public void setReadOn(long readOn)
setRead
public void setRead(boolean read)
isRead
public boolean isRead()
setViewed
public void setViewed()
getViewed
public boolean getViewed()
canFlipRead
public boolean canFlipRead()