org.exoplatform.commons.api.indexing.data
Class SearchEntry

java.lang.Object
  extended by org.exoplatform.commons.api.indexing.data.SearchEntry
Direct Known Subclasses:
SimpleEntry

public class SearchEntry
extends Object

The class defines data structure of entry that is as input for indexing


Field Summary
protected  Map<String,Object> content
           
protected  SearchEntryId id
           
 
Constructor Summary
SearchEntry()
          Default constructor
SearchEntry(String collection, String type, String name, Map<String,Object> content)
          Constructor creates a entry with specified parameters
 
Method Summary
 Map<String,Object> getContent()
          Get content
 SearchEntryId getId()
          Get entry id
 void setContent(Map<String,Object> content)
          Set content
 void setId(SearchEntryId id)
          Set entry id
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected SearchEntryId id

content

protected Map<String,Object> content
Constructor Detail

SearchEntry

public SearchEntry()
Default constructor


SearchEntry

public SearchEntry(String collection,
                   String type,
                   String name,
                   Map<String,Object> content)
Constructor creates a entry with specified parameters

Parameters:
collection -
type -
name -
content -
Method Detail

getId

public SearchEntryId getId()
Get entry id

Returns:
SearchEntryId

setId

public void setId(SearchEntryId id)
Set entry id

Parameters:
id -

getContent

public Map<String,Object> getContent()
Get content

Returns:
map

setContent

public void setContent(Map<String,Object> content)
Set content

Parameters:
content -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.