org.exoplatform.faq.service
Class ObjectSearchResult

java.lang.Object
  extended by org.exoplatform.faq.service.ObjectSearchResult

public class ObjectSearchResult
extends Object


Constructor Summary
ObjectSearchResult()
          Instantiates a new object form search.
 
Method Summary
 Date getCreatedDate()
          This method get created date of category or question
 String getDescription()
           
 String getExcerpt()
          gets excerpt
 String getIcon()
          This method return icon category or question
 String getId()
          This method get Id of category or question filter
 String getLink()
           
 String getName()
          This method get name of category or question
 int getNumberOfAnswer()
           
 int getNumberOfComment()
           
 String getPath()
           
 double getRatingOfQuestion()
           
 long getRelevancy()
          gets relevancy
 String getType()
          This method return category or question
 void setCreatedDate(Date date)
          This method add created date of category or question to object
 void setDescription(String description)
           
 void setExcerpt(String excerpt)
          sets excerpt
 void setIcon(String icon)
          This method add icon to object.
 void setId(String id)
          With each value filter, this id add to object
 void setLink(String link)
           
 void setName(String name)
          This method add name category or question to object
 void setNumberOfAnswer(int numberOfAnswer)
           
 void setNumberOfComment(int numberOfComment)
           
 void setPath(String path)
           
 void setRatingOfQuestion(double ratingOfQuestion)
           
 void setRelevancy(long relevancy)
          sets relevancy
 void setType(String type)
          With each value filter, this type add to object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectSearchResult

public ObjectSearchResult()
Instantiates a new object form search.

Method Detail

getId

public String getId()
This method get Id of category or question filter

Returns:
id of question or category

setId

public void setId(String id)
With each value filter, this id add to object

Parameters:
id - of category or question when result search

getType

public String getType()
This method return category or question

Returns:
type

setType

public void setType(String type)
With each value filter, this type add to object

Parameters:
type - return category or question

getName

public String getName()
This method get name of category or question

Returns:
name is question or name of category

setName

public void setName(String name)
This method add name category or question to object

Parameters:
name -

getCreatedDate

public Date getCreatedDate()
This method get created date of category or question

Returns:
createdDate

setCreatedDate

public void setCreatedDate(Date date)
This method add created date of category or question to object

Parameters:
date -

getIcon

public String getIcon()
This method return icon category or question

Returns:
icon

setIcon

public void setIcon(String icon)
This method add icon to object. if type is category then name icon is FAQCategorySearch if type is question and not response then name icon NotResponseSearch if type is question and response then name icon QuestionSearch

Parameters:
icon -

getPath

public String getPath()
Returns:
the path

setPath

public void setPath(String path)
Parameters:
path - the path to set

getRatingOfQuestion

public double getRatingOfQuestion()
Returns:
the ratingOfQuestion

setRatingOfQuestion

public void setRatingOfQuestion(double ratingOfQuestion)
Parameters:
ratingOfQuestion - the ratingOfQuestion to set

getNumberOfAnswer

public int getNumberOfAnswer()
Returns:
the numberOfAnswer

setNumberOfAnswer

public void setNumberOfAnswer(int numberOfAnswer)
Parameters:
numberOfAnswer - the numberOfAnswer to set

getNumberOfComment

public int getNumberOfComment()
Returns:
the numberOfComment

setNumberOfComment

public void setNumberOfComment(int numberOfComment)
Parameters:
numberOfComment - the numberOfComment to set

getDescription

public String getDescription()
Returns:

setDescription

public void setDescription(String description)
Parameters:
description -

getLink

public String getLink()
Returns:
the link

setLink

public void setLink(String link)
Parameters:
link - the link to set

getExcerpt

public String getExcerpt()
gets excerpt

Returns:

setExcerpt

public void setExcerpt(String excerpt)
sets excerpt

Parameters:
excerpt -

getRelevancy

public long getRelevancy()
gets relevancy

Returns:

setRelevancy

public void setRelevancy(long relevancy)
sets relevancy

Parameters:
relevancy -


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