|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.gdata.storage.lucenestorage.StorageFeedWrapper
public class StorageFeedWrapper
This immutable class wrapps GDataAccount instances for an internal Storage representation of an account. This class also acts as a Documentfactory for lucene documents to be stored inside the index.
Field Summary | |
---|---|
static String |
FIELD_ACCOUNTREFERENCE
the account who owns the feed |
static String |
FIELD_CONTENT
The xml feed representation |
static String |
FIELD_FEED_ID
the id of the feed |
static String |
FIELD_SERVICE_ID
The Service this feed belongs to. |
static String |
FIELD_TIMESTAMP
The creation timestamp |
Constructor Summary | |
---|---|
StorageFeedWrapper(ServerBaseFeed feed,
String accountname)
|
Method Summary | |
---|---|
com.google.gdata.data.BaseFeed |
getFeed()
|
Document |
getLuceneDocument()
Returns a Lucene document representing the Wrapped Entry |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String FIELD_ACCOUNTREFERENCE
public static final String FIELD_FEED_ID
public static final String FIELD_CONTENT
public static final String FIELD_TIMESTAMP
public static final String FIELD_SERVICE_ID
Constructor Detail |
---|
public StorageFeedWrapper(ServerBaseFeed feed, String accountname) throws IOException
feed
- accountname
-
IOException
Method Detail |
---|
public Document getLuceneDocument()
StorageWrapper
getLuceneDocument
in interface StorageWrapper
StorageWrapper.getLuceneDocument()
public com.google.gdata.data.BaseFeed getFeed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |