org.exoplatform.services.wcm.utils
Class PaginatedQueryResult.ResultNode

java.lang.Object
  extended by org.exoplatform.services.wcm.utils.PaginatedQueryResult.ResultNode
Enclosing class:
PaginatedQueryResult

public static class PaginatedQueryResult.ResultNode
extends java.lang.Object

The Class ResultNode.


Constructor Summary
PaginatedQueryResult.ResultNode(javax.jcr.Node node, javax.jcr.query.Row row)
          Instantiates a new result node.
 
Method Summary
 java.lang.String getExcerpt()
          Gets the excerpt.
 javax.jcr.Node getNode()
          Gets the node.
 float getScore()
          Gets the score.
 java.lang.String getSpellSuggestion()
          Gets the spell suggestion.
 void setExcerpt(java.lang.String excerpt)
          Sets the excerpt.
 void setNode(javax.jcr.Node node)
          Sets the node.
 void setScore(float score)
          Sets the score.
 void setSpellSuggestion(java.lang.String spellSuggestion)
          Sets the spell suggestion.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaginatedQueryResult.ResultNode

public PaginatedQueryResult.ResultNode(javax.jcr.Node node,
                                       javax.jcr.query.Row row)
                                throws javax.jcr.RepositoryException
Instantiates a new result node.

Parameters:
node - the node
row - the row
Throws:
javax.jcr.RepositoryException - the repository exception
Method Detail

getNode

public javax.jcr.Node getNode()
Gets the node.

Returns:
the node

setNode

public void setNode(javax.jcr.Node node)
Sets the node.

Parameters:
node - the new node

getScore

public float getScore()
Gets the score.

Returns:
the score

setScore

public void setScore(float score)
Sets the score.

Parameters:
score - the new score

getExcerpt

public java.lang.String getExcerpt()
Gets the excerpt.

Returns:
the excerpt

setExcerpt

public void setExcerpt(java.lang.String excerpt)
Sets the excerpt.

Parameters:
excerpt - the new excerpt

getSpellSuggestion

public java.lang.String getSpellSuggestion()
Gets the spell suggestion.

Returns:
the spell suggestion

setSpellSuggestion

public void setSpellSuggestion(java.lang.String spellSuggestion)
Sets the spell suggestion.

Parameters:
spellSuggestion - the new spell suggestion


Copyright © 2011 eXo Platform SAS. All Rights Reserved.