|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.clapper.curn.PersistentFeedItemData
public class PersistentFeedItemData
A PersistentFeedItemData object contains data and metadata about
a perticular item within a feed, in a form suitable for saving to and
restoring from an external store. The data are organized to make persistence
operations easier. At runtime, the data are reorganized; see the
PersistentFeedData class for more inforamtion.
FeedCache,
DataPersister,
PersistentFeedData| Constructor Summary | |
|---|---|
PersistentFeedItemData(FeedCacheEntry feedCacheEntry)
Creates a new instance of PersistentFeedData |
|
| Method Summary | |
|---|---|
void |
addItemMetadata(java.util.Collection<PersistentMetadataGroup> metadata)
Add a metadata group (i.e., all the metadata within a given namespace) to this object. |
void |
addItemMetadataGroup(PersistentMetadataGroup metadataGroup)
Add a metadata group (i.e., all the metadata within a given namespace) to this object. |
FeedCacheEntry |
getFeedCacheEntry()
Get the FeedCacheEntry for the item |
java.util.Collection<PersistentMetadataGroup> |
getItemMetadata()
Get the extra metadata associated with the feed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistentFeedItemData(FeedCacheEntry feedCacheEntry)
feedCacheEntry - the FeedCacheEntry for the item| Method Detail |
|---|
public FeedCacheEntry getFeedCacheEntry()
FeedCacheEntry for the item
FeedCacheEntrypublic void addItemMetadataGroup(PersistentMetadataGroup metadataGroup)
metadataGroup - the group of metadatapublic void addItemMetadata(java.util.Collection<PersistentMetadataGroup> metadata)
metadata - the metadatapublic java.util.Collection<PersistentMetadataGroup> getItemMetadata()
PersistentMetadataGroup
objects, each one containing the data for one namespace.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||