com.aelitis.azureus.activities
Class VuzeActivitiesEntry
java.lang.Object
com.aelitis.azureus.activities.VuzeActivitiesEntry
- All Implemented Interfaces:
- TableColumnSortObject, java.lang.Comparable
public class VuzeActivitiesEntry
- extends java.lang.Object
- implements TableColumnSortObject
Comparable implementation sorts on timestamp.
equals() implementation compares IDs
- Author:
- TuxPaper
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
urlInfo
public java.lang.Object urlInfo
tableColumn
public TableColumnCore tableColumn
VuzeActivitiesEntry
public VuzeActivitiesEntry(long timestamp,
java.lang.String text,
java.lang.String typeID)
VuzeActivitiesEntry
public VuzeActivitiesEntry(long timestamp,
java.lang.String text,
java.lang.String icon,
java.lang.String id,
java.lang.String typeID,
java.lang.String assetHash)
VuzeActivitiesEntry
public VuzeActivitiesEntry()
updateFrom
protected void updateFrom(VuzeActivitiesEntry other)
loadFromExternalMap
public void loadFromExternalMap(java.util.Map<?,?> platformEntry)
- Parameters:
platformEntry
-
loadFromInternalMap
public void loadFromInternalMap(java.util.Map<?,?> map)
loadCommonFromMap
public void loadCommonFromMap(java.util.Map<?,?> map)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
compareTo
public int compareTo(java.lang.Object obj)
- Specified by:
compareTo
in interface java.lang.Comparable
setAssetImageURL
public void setAssetImageURL(java.lang.String url)
getAssetImageURL
public java.lang.String getAssetImageURL()
toDeletedMap
public java.util.Map<java.lang.String,java.lang.Object> toDeletedMap()
setActions
public void setActions(java.lang.String[] _actions)
getActions
public java.lang.String[] getActions()
allowReAdd
public boolean allowReAdd()
setCallback
public void setCallback(java.lang.Class<? extends AZ3Functions.provider.LocalActivityCallback> _callback,
java.util.Map<java.lang.String,java.lang.String> _callback_data)
invokeCallback
public void invokeCallback(java.lang.String action)
toMap
public java.util.Map<java.lang.String,java.lang.Object> toMap()
getTimestamp
public long getTimestamp()
setTimestamp
public void setTimestamp(long timestamp)
setTypeID
public void setTypeID(java.lang.String typeID,
boolean autoSetIcon)
- Parameters:
typeID
- the typeID to set
getTypeID
public java.lang.String getTypeID()
- Returns:
- the typeID
setIconID
public void setIconID(java.lang.String iconID)
- Parameters:
iconID
- the iconID to set
setIconIDRaw
public void setIconIDRaw(java.lang.String iconID)
getIconID
public java.lang.String getIconID()
- Returns:
- the iconID
setText
public void setText(java.lang.String text)
- Parameters:
text
- the text to set
getText
public java.lang.String getText()
- Returns:
- the text
setID
public void setID(java.lang.String id)
- Parameters:
id
- the id to set
getID
public java.lang.String getID()
- Returns:
- the id
setAssetHash
public void setAssetHash(java.lang.String assetHash)
- Parameters:
assetHash
- the assetHash to set
getAssetHash
public java.lang.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 java.lang.String getTorrentName()
setTorrentName
public void setTorrentName(java.lang.String torrentName)
createSelectedContentObject
public SelectedContentV3 createSelectedContentObject()
throws java.lang.Exception
- Throws:
java.lang.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()