|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.binaryfantasy.murq.content.ContentAdapter
public class ContentAdapter
Provides default implementation of the methods described in the
IContent interface.
| Constructor Summary | |
|---|---|
ContentAdapter()
|
|
| Method Summary | |
|---|---|
Set<String> |
defaultProperties()
Returns a Set of properties that should be concatenated
together for default searching as a whole. |
String |
getContentId()
Returns the unique identifier of this content. |
Date |
getCreationDate()
Returns the date the content was first persisted, or null
if not yet persisted. |
Date |
getLastModifiedDate()
Returns the date the content was last persisted, or null
if not yet persisted. |
Locale |
getLocale()
Returns the locale this content is meant for, or null if
default. |
Set<String> |
keywordProperties()
Returns a Set of properties that are not tokenized, but
are indexed. |
void |
setContentId(String contentId)
Sets the unique identifier of this content. |
void |
setCreationDate(Date date)
Sets the date the content was first persisted. |
void |
setLastModifiedDate(Date date)
Sets the date the content was last persisted. |
void |
setLocale(Locale locale)
Sets the locale this content is meant for. |
Set<String> |
textProperties()
Returns a Set of properties that are tokenized and
indexed. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ContentAdapter()
| Method Detail |
|---|
public String getContentId()
IContent
getContentId in interface IContentpublic void setContentId(String contentId)
IContentFOR INTERNAL USE ONLY.
setContentId in interface IContentcontentId - the unique identifier of this content.public Locale getLocale()
IContentnull if
default.
getLocale in interface IContentnull if
default.public void setLocale(Locale locale)
IContent
setLocale in interface IContentlocale - the locale this content is meant for, or null
if default.public Date getLastModifiedDate()
IContentnull
if not yet persisted.
getLastModifiedDate in interface IContentnull
if not yet persisted.public void setLastModifiedDate(Date date)
IContentFOR INTERNAL USE ONLY.
setLastModifiedDate in interface IContentdate - the date the content was last persisted.public Date getCreationDate()
IContentnull
if not yet persisted.
getCreationDate in interface IContentnull
if not yet persisted.public void setCreationDate(Date date)
IContentFOR INTERNAL USE ONLY.
setCreationDate in interface IContentdate - the date the content was first persisted.public Set<String> defaultProperties()
IIndexableSet of properties that should be concatenated
together for default searching as a whole.
defaultProperties in interface IIndexableSet of properties that should be concatenated
together for default searching as a whole.public Set<String> keywordProperties()
IIndexableSet of properties that are not tokenized, but
are indexed.
keywordProperties in interface IIndexableSet of properties that are not tokenized, but
are indexed.public Set<String> textProperties()
IIndexableSet of properties that are tokenized and
indexed.
textProperties in interface IIndexableSet of properties that are tokenized and
indexed.public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||