Package com.biglybt.core.tag.impl
Class TagWithState
java.lang.Object
com.biglybt.core.tag.impl.TagBase
com.biglybt.core.tag.impl.TagWithState
- All Implemented Interfaces:
Tag
,DataSourceResolver.ExportableDataSource
,SimpleTimer.TimerTickReceiver
,Tag
- Direct Known Subclasses:
TagDownloadWithState
,TagTypeSwarmTag.TagSwarmTagImpl
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CopyOnWriteSet
<Taggable> private TagFeatureNotifications
private static final String
private final String
Fields inherited from class com.biglybt.core.tag.impl.TagBase
AT_AUTO_APPLY_SORT_INTERVAL, AT_BYTES_DOWN, AT_BYTES_UP, AT_CAN_BE_PUBLIC, AT_COLOR_ID, AT_COLORS_ID, AT_DESCRIPTION, AT_EOS_ASSIGN_TAGS, AT_EOS_OPTIONS_TEMPLATE, AT_EOS_PM, AT_EOS_REMOVE_TAGS, AT_EOS_SCRIPT, AT_FL_COPY_COMP, AT_FL_COPY_COMP_OPT, AT_FL_INIT_LOC, AT_FL_INIT_LOC_OPT, AT_FL_MOVE_ASSIGN, AT_FL_MOVE_ASSIGN_OPT, AT_FL_MOVE_COMP, AT_FL_MOVE_COMP_OPT, AT_FL_MOVE_REM, AT_FL_MOVE_REM_OPT, AT_FL_PREVENT_DELETE, AT_FLAGS, AT_GROUP, AT_IMAGE_FILE, AT_IMAGE_ID, AT_IMAGE_SORT_ORDER, AT_LIMIT_ORDERING, AT_MAX_TAGGABLES, AT_NOTIFICATION_POST, AT_NOTIFICATION_PUBLISH, AT_ORIGINAL_NAME, AT_PROPERTY_PREFIX, AT_PUBLIC, AT_RATELIMIT_ACTIVE_LIMITS_STRICT, AT_RATELIMIT_BOOST, AT_RATELIMIT_DOWN, AT_RATELIMIT_FP_SEEDING, AT_RATELIMIT_MAX_ACTIVE_CD, AT_RATELIMIT_MAX_ACTIVE_DL, AT_RATELIMIT_MAX_AGGREGATE_SR, AT_RATELIMIT_MAX_AGGREGATE_SR_ACTION, AT_RATELIMIT_MAX_AGGREGATE_SR_PRIORITY, AT_RATELIMIT_MAX_SR, AT_RATELIMIT_MAX_SR_ACTION, AT_RATELIMIT_MIN_SR, AT_RATELIMIT_NOT_FP_SEEDING, AT_RATELIMIT_UP, AT_RATELIMIT_UP_PRI, AT_REMOVAL_STRATEGY, AT_RSS_ENABLE, AT_VISIBLE, AT_WEIGHT, AT_XCODE_TARGET, tag_type
Fields inherited from interface com.biglybt.core.util.DataSourceResolver.ExportableDataSource
OPT_CAN_MINIMIZE, OPT_ON_TOP
Fields inherited from interface com.biglybt.core.tag.Tag
FL_IS_FILTER, FL_IS_HIDDEN_WHEN_EMPTY, FL_NONE, TP_CONSTRAINT_ERROR, TP_SETTINGS_REQUESTED
-
Constructor Summary
ConstructorsModifierConstructorDescriptionTagWithState
(TagTypeBase tt, int tag_id, String name) protected
TagWithState
(TagTypeBase tt, int tag_id, Map map) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
checkNotifications
(Taggable taggable, boolean is_add) protected void
exportDetails
(VuzeFile vf, Map map, boolean do_contents) protected void
exportDetails
(Map map, boolean do_contents) long
getTaggableAddedTime
(Taggable taggble) int
boolean
void
void
void
setTagName
(String name) Methods inherited from class com.biglybt.core.tag.impl.TagBase
addListener, addTag, addTaggableBatch, addTagListener, applySort, canBePublic, checkMaximumTaggables, closing, createTagProperty, destroy, exportDataSource, generate, getActionScript, getAutoApplySortInterval, getCanBePublicDefault, getColor, getColors, getDescription, getEOAString, getFirstPrioritySeeding, getFlag, getGroup, getGroupContainer, getImageFile, getImageID, getImageSortOrder, getManager, getMaxActiveDownloads, getMaxActiveSeeds, getMaximumTaggables, getNotFirstPrioritySeeding, getNotifyMessageChannel, getOptionsTemplateHandler, getOrdering, getPostingNotifications, getPostMessageChannel, getPreventDelete, getPropertiesString, getProperty, getPublicDefault, getRecentHistory, getRemovalStrategy, getStrictActivityLimits, getSupportedActions, getSupportedProperties, getTag, getTagAggregateShareRatio, getTagAssigns, getTagBoost, getTagCopyOnCompleteFolder, getTagCopyOnCompleteOptions, getTagDownloadTotal, getTaggables, getTagID, getTagInitialSaveFolder, getTagInitialSaveOptions, getTagMaxAggregateShareRatio, getTagMaxAggregateShareRatioAction, getTagMaxAggregateShareRatioHasPriority, getTagMaxShareRatio, getTagMaxShareRatioAction, getTagMinShareRatio, getTagMoveOnAssignFolder, getTagMoveOnAssignOptions, getTagMoveOnCompleteFolder, getTagMoveOnCompleteOptions, getTagMoveOnRemoveFolder, getTagMoveOnRemoveOptions, getTagName, getTagName, getTagNameRaw, getTagRemoves, getTagSessionDownloadTotal, getTagSessionDownloadTotalCurrent, getTagSessionUploadTotal, getTagSessionUploadTotalCurrent, getTagType, getTagUID, getTagUploadTotal, getTransientProperty, getVisibleDefault, getVuzeFile, getWeight, initialized, isActionEnabled, isAnyActionEnabled, isColorDefault, isPublic, isTagAuto, isTagRemoved, isTagRSSFeedEnabled, isVisible, readBooleanAttribute, readLongAttribute, readLongListAttribute, readMapAttribute, readStringAttribute, readStringListAttribute, removeListener, removeTagListener, requestAttention, resetTagSessionDownloadTotal, resetTagSessionUploadTotal, setActionEnabled, setActionScript, setAutoApplySortInterval, setCanBePublic, setColor, setColors, setDescription, setFirstPrioritySeeding, setFlag, setGroup, setImageFile, setImageID, setImageSortOrder, setMaxActiveDownloads, setMaxActiveSeeds, setMaximumTaggables, setNotFirstPrioritySeeding, setNotifyMessageChannel, setOrdering, setPostingNotifications, setPostMessageChannel, setPreventDelete, setPublic, setRecentHistoryRetention, setRemovalStrategy, setStrictActivityLimits, setTagAssigns, setTagBoost, setTagCopyOnCompleteFolder, setTagCopyOnCompleteOptions, setTagInitialSaveFolder, setTagInitialSaveOptions, setTagMaxAggregateShareRatio, setTagMaxAggregateShareRatioAction, setTagMaxAggregateShareRatioHasPriority, setTagMaxShareRatio, setTagMaxShareRatioAction, setTagMinShareRatio, setTagMoveOnAssignFolder, setTagMoveOnAssignOptions, setTagMoveOnCompleteFolder, setTagMoveOnCompleteOptions, setTagMoveOnRemoveFolder, setTagMoveOnRemoveOptions, setTagRemoves, setTagRSSFeedEnabled, setTransientProperty, setVisible, setWeight, supportsAction, supportsTagCopyOnComplete, supportsTagInitialSaveFolder, supportsTagMoveOnAssign, supportsTagMoveOnComplete, supportsTagMoveOnRemove, sync, tick, writeBooleanAttribute, writeLongAttribute, writeLongListAttribute, writeMapAttribute, writeStringAttribute, writeStringListAttribute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.core.util.DataSourceResolver.ExportableDataSource
getBooleanOption
Methods inherited from interface com.biglybt.core.tag.Tag
dependsOnTags, getStatus, getTaggableTypes, isHiddenWhenEmpty, setHiddenWhenEmpty
-
Field Details
-
TP_KEY
- See Also:
-
objects
-
TP_KEY_TAG_ADDED_TIME
-
tag_notifications
-
-
Constructor Details
-
TagWithState
-
TagWithState
-
-
Method Details
-
exportDetails
-
exportDetails
-
setTagName
- Specified by:
setTagName
in interfaceTag
- Overrides:
setTagName
in classTagBase
- Throws:
TagException
-
getTaggableAddedTime
- Specified by:
getTaggableAddedTime
in interfaceTag
- Overrides:
getTaggableAddedTime
in classTagBase
-
addTaggable
- Specified by:
addTaggable
in interfaceTag
- Overrides:
addTaggable
in classTagBase
-
removeTaggable
- Specified by:
removeTaggable
in interfaceTag
- Overrides:
removeTaggable
in classTagBase
-
checkNotifications
-
removeTag
public void removeTag() -
getTaggedCount
public int getTaggedCount() -
hasTaggable
-
getTagged
-