|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjgd.schemas.comapi.GDCOMIndexed
public abstract class GDCOMIndexed
| Field Summary | |
|---|---|
private java.lang.String |
schema
|
private com.jacob.com.Variant |
searchResultEntryVariant
|
| Constructor Summary | |
|---|---|
GDCOMIndexed(com.jacob.com.Variant searchResultEntryVariant,
java.lang.String schema)
|
|
| Method Summary | |
|---|---|
java.lang.String |
get_content()
Contains the content to be indexed. |
byte[] |
get_cookie_raw()
Binary cookie. |
java.lang.String |
get_cookie()
String cookie used to pass additional information identifying the event. |
byte[] |
get_extra_binary_data()
Contains optional non-indexable binary metadata for this event Required: No |
java.lang.String |
get_extra_data()
Contains optional non-indexable string metadata for this event Required: No |
java.lang.Byte |
get_format()
Mime type of the indexable content, allowed values are text/plain and text/html. |
java.lang.Long |
get_native_size()
Size of the indexable content in bytes. |
java.lang.String |
get_other_indexed_data()
Contains optional indexable content and metadata. |
java.lang.String |
get_thumbnail_format()
Mime type of the thumbnail image, allowed values are image/gif, image/jpeg, and image/png. |
byte[] |
get_thumbnail()
Thumbnail image of the content. |
java.lang.String |
getCacheUrl()
Deprecated. URL doesn't exists. Use getUrl() or get_content() |
java.lang.String |
getCategory()
Deprecated. Use getSchema() method |
long |
getDocId()
doc_id is the result's GDS internal identifier for doc. |
long |
getEventId()
event_id is the result's GDS internal identifier for event. |
java.lang.String |
getFlags()
Undocumented by google (Only for Desktop2) |
java.lang.String |
getFrom()
from is the name of either the person an email message was from, or the other party in a Instant Message chat. |
java.lang.String |
getIcon()
Deprecated. |
long |
getId()
id is the result's GDS internal identifier. |
java.lang.String |
getMessageId()
Deprecated. Use other GoogleDesktopIndexed method. |
protected com.jacob.com.Variant |
getPropertyVariant(java.lang.String name)
|
protected byte[] |
getPropertyVT_ARRAY(java.lang.String name)
|
protected java.lang.Boolean |
getPropertyVT_BOOL(java.lang.String name)
|
protected java.lang.String |
getPropertyVT_BSTR(java.lang.String name)
|
protected java.util.Date |
getPropertyVT_DATE(java.lang.String name)
|
protected java.lang.Byte |
getPropertyVT_UI2(java.lang.String name)
|
protected java.lang.Integer |
getPropertyVT_UI4(java.lang.String name)
|
protected java.lang.Long |
getPropertyVT_UI8(java.lang.String name)
|
java.lang.String |
getSchema()
|
java.lang.String |
getSnippet()
snippet is a snippet from the result's content that contains at least one of the search terms. |
java.lang.String |
getThumbnail()
Deprecated. Use get_thumbnail() method. |
java.math.BigInteger |
getTime()
time is the time value from the event that put this content into GDS. |
java.util.Date |
getTimestamp()
|
java.lang.String |
getTitle()
Deprecated. Use any other method of GoogleDesktopIndexed |
java.lang.String |
getUrl()
url is the result's URL. |
void |
setCacheUrl(java.lang.String value)
cache_url is the Google Desktop Search-relative URL of this result's internal cache page. |
void |
setCategory(java.lang.String value)
contains the result's type, one of: email, chat, web, file, contact, calendar, task, journal, note. |
void |
setDocId(long value)
doc_id is the result's GDS internal identifier for doc. |
void |
setEventId(long value)
event_id is the result's GDS internal identifier for event. |
void |
setFlags(java.lang.String value)
Undocumented by google (Only for Desktop2) |
void |
setFrom(java.lang.String value)
from is the name of either the person an email message was from, or the other party in a Instant Message chat. |
void |
setIcon(java.lang.String value)
icon is a Google Desktop Search-relative URL to an icon representing this result or its type. |
void |
setId(long value)
id is the result's GDS internal identifier. |
void |
setMessageId(java.lang.String value)
Undocumented by google (Only for Desktop2) |
void |
setSnippet(java.lang.String value)
snippet is a snippet from the result's content that contains at least one of the search terms. |
void |
setThumbnail(java.lang.String value)
thumbnail is a relative URL to the icon for this result at the GDS webserver |
void |
setTime(java.math.BigInteger value)
time is the time value from the event that put this content into GDS. |
void |
setTitle(java.lang.String value)
title is the result's title, which varies depending on its type: Web page: the page's title. |
void |
setUrl(java.lang.String value)
url is the result's URL. |
java.lang.String |
toString()
Representation of an indexed element (schema and format ) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private com.jacob.com.Variant searchResultEntryVariant
private java.lang.String schema
| Constructor Detail |
|---|
public GDCOMIndexed(com.jacob.com.Variant searchResultEntryVariant,
java.lang.String schema)
| Method Detail |
|---|
protected com.jacob.com.Variant getPropertyVariant(java.lang.String name)
protected java.lang.String getPropertyVT_BSTR(java.lang.String name)
protected java.lang.Byte getPropertyVT_UI2(java.lang.String name)
protected java.lang.Integer getPropertyVT_UI4(java.lang.String name)
protected java.lang.Long getPropertyVT_UI8(java.lang.String name)
protected java.util.Date getPropertyVT_DATE(java.lang.String name)
protected byte[] getPropertyVT_ARRAY(java.lang.String name)
protected java.lang.Boolean getPropertyVT_BOOL(java.lang.String name)
public java.lang.String get_content()
GoogleDesktopIndexable
get_content in interface GoogleDesktopIndexableGoogleDesktopIndexable.get_content()public java.lang.Byte get_format()
GoogleDesktopIndexable
get_format in interface GoogleDesktopIndexableGoogleDesktopIndexable.get_format()public java.lang.Long get_native_size()
GoogleDesktopIndexable
get_native_size in interface GoogleDesktopIndexable()public byte[] get_thumbnail()
GoogleDesktopIndexable
get_thumbnail in interface GoogleDesktopIndexableGoogleDesktopIndexable.get_thumbnail()public java.lang.String get_thumbnail_format()
GoogleDesktopIndexable
get_thumbnail_format in interface GoogleDesktopIndexable()public java.lang.String get_cookie()
GoogleDesktopIndexable
get_cookie in interface GoogleDesktopIndexableGoogleDesktopIndexable.get_cookie()public byte[] get_cookie_raw()
GoogleDesktopIndexable
get_cookie_raw in interface GoogleDesktopIndexableGoogleDesktopIndexable.get_cookie_raw()public java.lang.String get_other_indexed_data()
GoogleDesktopIndexable
get_other_indexed_data in interface GoogleDesktopIndexable(New)()public java.lang.String get_extra_data()
GoogleDesktopIndexable
get_extra_data in interface GoogleDesktopIndexable(New)()public byte[] get_extra_binary_data()
GoogleDesktopIndexable
get_extra_binary_data in interface GoogleDesktopIndexable(New)()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String getSchema()
getSchema in interface IJGDResultItempublic java.util.Date getTimestamp()
getTimestamp in interface IJGDResultItempublic java.lang.String getCacheUrl()
getCacheUrl in interface ResultsType.ResultTypepublic java.lang.String getCategory()
ResultsType.ResultType
getCategory in interface ResultsType.ResultTypeStringResultsType.ResultType.getCategory()public long getDocId()
ResultsType.ResultType
getDocId in interface ResultsType.ResultTypepublic long getEventId()
ResultsType.ResultType
getEventId in interface ResultsType.ResultTypepublic java.lang.String getFlags()
ResultsType.ResultType
getFlags in interface ResultsType.ResultTypeStringpublic java.lang.String getFrom()
ResultsType.ResultType
getFrom in interface ResultsType.ResultTypeStringpublic java.lang.String getIcon()
ResultsType.ResultType
getIcon in interface ResultsType.ResultTypeStringpublic long getId()
ResultsType.ResultType
getId in interface ResultsType.ResultTypepublic java.lang.String getMessageId()
getMessageId in interface ResultsType.ResultTypeStringpublic java.lang.String getThumbnail()
getThumbnail in interface ResultsType.ResultTypeStringpublic java.math.BigInteger getTime()
ResultsType.ResultType
getTime in interface ResultsType.ResultTypeBigIntegerpublic java.lang.String getTitle()
getTitle in interface ResultsType.ResultTypeStringpublic java.lang.String getUrl()
ResultsType.ResultType
getUrl in interface ResultsType.ResultTypeStringpublic java.lang.String getSnippet()
ResultsType.ResultType
getSnippet in interface ResultsType.ResultTypeStringpublic void setSnippet(java.lang.String value)
ResultsType.ResultType
setSnippet in interface ResultsType.ResultTypevalue - allowed object is
Stringpublic void setCacheUrl(java.lang.String value)
ResultsType.ResultType
setCacheUrl in interface ResultsType.ResultTypevalue - allowed object is
Stringpublic void setCategory(java.lang.String value)
ResultsType.ResultType
setCategory in interface ResultsType.ResultTypevalue - allowed object is
Stringpublic void setDocId(long value)
ResultsType.ResultType
setDocId in interface ResultsType.ResultTypepublic void setEventId(long value)
ResultsType.ResultType
setEventId in interface ResultsType.ResultTypepublic void setFlags(java.lang.String value)
ResultsType.ResultType
setFlags in interface ResultsType.ResultTypevalue - allowed object is
Stringpublic void setFrom(java.lang.String value)
ResultsType.ResultType
setFrom in interface ResultsType.ResultTypevalue - allowed object is
Stringpublic void setIcon(java.lang.String value)
ResultsType.ResultType
setIcon in interface ResultsType.ResultTypevalue - allowed object is
Stringpublic void setId(long value)
ResultsType.ResultType
setId in interface ResultsType.ResultTypepublic void setMessageId(java.lang.String value)
ResultsType.ResultType
setMessageId in interface ResultsType.ResultTypevalue - allowed object is
Stringpublic void setThumbnail(java.lang.String value)
ResultsType.ResultType
setThumbnail in interface ResultsType.ResultTypevalue - allowed object is
Stringpublic void setTime(java.math.BigInteger value)
ResultsType.ResultType
setTime in interface ResultsType.ResultTypevalue - allowed object is
BigIntegerpublic void setTitle(java.lang.String value)
ResultsType.ResultType
setTitle in interface ResultsType.ResultTypevalue - allowed object is
Stringpublic void setUrl(java.lang.String value)
ResultsType.ResultType
setUrl in interface ResultsType.ResultTypevalue - allowed object is
String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||