public interface AssetTaggingService
Modifier and Type | Method and Description |
---|---|
void |
addAsset(com.fatwire.assetapi.data.AssetId id)
Deprecated.
Handle adding a tagged asset.
|
void |
clearCacheForTag(Collection<Tag> tags)
Deprecated.
Clear any pagelets containing the specified tags.
|
void |
deleteAsset(com.fatwire.assetapi.data.AssetId id)
Deprecated.
Handle deleting tagged asset.
|
Collection<Tag> |
getTags(com.fatwire.assetapi.data.AssetId id)
Deprecated.
Look up the tags for an asset.
|
Collection<Tag> |
getTags(Collection<com.fatwire.assetapi.data.AssetId> ids)
Deprecated.
Get the tags corresponding to a whole collection of AssetIds.
|
boolean |
isTagged(com.fatwire.assetapi.data.AssetId id)
Deprecated.
Returns true if an asset is tagged, false otherwise
|
Collection<com.fatwire.assetapi.data.AssetId> |
lookupTaggedAssets(Tag tag)
Deprecated.
Return a collection of assets that are tagged with the specified tag.
|
void |
recordCacheDependency(Tag tag)
Deprecated.
Record the specified tag as a dependency on the current pagelet
|
void |
updateAsset(com.fatwire.assetapi.data.AssetId id)
Deprecated.
Handle updating tagged asset.
|
Collection<Tag> getTags(com.fatwire.assetapi.data.AssetId id)
id
- asset idCollection<Tag> getTags(Collection<com.fatwire.assetapi.data.AssetId> ids)
ids
- asset ids, some of which may be taggedvoid clearCacheForTag(Collection<Tag> tags)
tags
- tagsvoid recordCacheDependency(Tag tag)
tag
- tagvoid addAsset(com.fatwire.assetapi.data.AssetId id)
id
- asset with tagvoid updateAsset(com.fatwire.assetapi.data.AssetId id)
id
- asset with tagvoid deleteAsset(com.fatwire.assetapi.data.AssetId id)
id
- tagged assetCollection<com.fatwire.assetapi.data.AssetId> lookupTaggedAssets(Tag tag)
tag
- tag to use to look up assetsboolean isTagged(com.fatwire.assetapi.data.AssetId id)
id
- id of assetCopyright © 2016–2017. All rights reserved.