org.exoplatform.faq.service
Class FAQEventQuery

java.lang.Object
  extended by org.exoplatform.faq.service.FAQEventQuery
All Implemented Interfaces:
FAQNodeTypes

public class FAQEventQuery
extends Object
implements FAQNodeTypes


Field Summary
static String CATEGORY_AND_QUESTION
           
static String FAQ_CATEGORY
           
static String FAQ_QUESTION
           
 
Fields inherited from interface org.exoplatform.faq.service.FAQNodeTypes
ASCENDING, AT, DESCENDING, EMPTY_STR, EXO_ACTIVATE_RESPONSES, EXO_ANSWER, EXO_ANSWER_HOME, EXO_ANSWER_PATH, EXO_APPROVE_RESPONSES, EXO_AUTHOR, EXO_CATEGORY_ID, EXO_COMMENT, EXO_COMMENT_BY, EXO_COMMENT_HOME, EXO_COMMENT_LANGUAGE, EXO_COMMENTS, EXO_CONTENT, EXO_CREATED_DATE, EXO_DATE_COMMENT, EXO_DATE_RESPONSE, EXO_DESCRIPTION, EXO_EMAIL, EXO_EMAIL_WATCHING, EXO_FAQ_ATTACHMENT, EXO_FAQ_CATEGORY, EXO_FAQ_CATEGORY_HOME, EXO_FAQ_HOME, EXO_FAQ_LANGUAGE, EXO_FAQ_QUESTION, EXO_FAQ_QUESTION_HOME, EXO_FAQ_R_S_S, EXO_FAQ_RESOURCE, EXO_FAQ_SETTING_HOME, EXO_FAQ_USER_SETTING, EXO_FAQ_USER_SETTING_HOME, EXO_FAQ_WATCHING, EXO_FILE_NAME, EXO_FULL_NAME, EXO_ID, EXO_INDEX, EXO_IS_ACTIVATED, EXO_IS_APPROVED, EXO_IS_MODERATE_ANSWERS, EXO_IS_MODERATE_QUESTIONS, EXO_IS_VIEW, EXO_LANGUAGE, EXO_LAST_ACTIVITY, EXO_LINK, EXO_MARK_VOTE, EXO_MARK_VOTES, EXO_MODERATORS, EXO_NAME, EXO_NAME_ATTACHS, EXO_NUMBER_OF_PUBLIC_ANSWERS, EXO_ORDE_BY, EXO_ORDE_TYPE, EXO_POST_ID, EXO_QUESTION_ID, EXO_QUESTION_LANGUAGE_HOME, EXO_QUESTION_PATH, EXO_RELATIVES, EXO_RESPONSE_BY, EXO_RESPONSE_LANGUAGE, EXO_RESPONSES, EXO_RSS_WATCHING, EXO_SORT_QUESTION_BY_VOTE, EXO_TEMPLATE_HOME, EXO_TITLE, EXO_TOPIC_ID_DISCUSS, EXO_USER_PRIVATE, EXO_USER_WATCHING, EXO_USERS_VOTE, EXO_USERS_VOTE_ANSWER, EXO_VIEW_AUTHOR_INFOR, JCR_CONTENT, JCR_DATA, JCR_LAST_MODIFIED, JCR_MIME_TYPE, JCR_ROOT, JCR_SCORE, MIX_FAQ_SUB_CATEGORY, MIX_FAQI_1_8N, NT_FILE, NT_RESOURCE, REP_EXCERPT, REP_EXCERPT_PATTERN, TEXT_HTML
 
Constructor Summary
FAQEventQuery()
          Instantiates a new fAQ event query.
 
Method Summary
 String getAsteriskConditionSearch()
           
 String getAttachment()
          Gets the attachment.
 String getAuthor()
          Gets the author.
 String getComment()
           
 String getEmail()
          Gets the email.
 Calendar getFromDate()
          Gets the from date.
 boolean getIsAnd()
          Gets the checks.
 String getIsModeQuestion()
          Gets the checks if is mode question.
 String getLanguage()
           
 int getLimit()
           
 String getModerator()
          Gets the moderator.
 String getName()
          Gets the name.
 int getOffset()
           
 String getOrder()
           
 String getPath()
          Gets the path.
 String getQuery()
          This method is query on search Gets the path query.
 String getQuestion()
          Gets the question.
 String getQuestionDisplayMode()
           
 String getResponse()
          Gets the response.
 String getSort()
           
 String getText()
          Gets the text.
 Calendar getToDate()
          Gets the to date.
 String getType()
          Gets the type.
 String getUserId()
           
 List<String> getUserMembers()
           
 List<String> getViewingCategories()
           
 boolean isAdmin()
           
 boolean isAnswerCommentLevelSearch()
           
 boolean isExcerpt()
           
 boolean isLanguageLevelSearch()
           
 boolean isQuestionLevelSearch()
           
 boolean isSearchOnDefaultLanguage()
           
 void setAdmin(boolean isAdmin)
           
 void setAsteriskConditionSearch(String asteriskConditionSearch)
           
 void setAttachment(String attachment)
          Sets the attachment.
 void setAuthor(String author)
          Sets the author.
 void setComment(String comment)
           
 void setEmail(String email)
          Sets the email.
 void setExcerpt(boolean isExcerpt)
           
 void setFromDate(Calendar fromDate)
          Sets the from date.
 void setIsModeQuestion(String isModeQuestion)
          Sets the checks if is mode question.
 void setLanguage(String language)
           
 void setLanguageLevelSearch(boolean isLanguageLevelSearch)
           
 void setLimit(int limit)
           
 void setModerator(String moderator)
          Sets the moderator.
 void setName(String name)
          Sets the name.
 void setOffset(int offset)
           
 void setOrder(String order)
           
 void setPath(String path)
          Sets the path.
 void setQuestion(String question)
          Sets the question.
 void setQuestionDisplayMode(String questionDisplayMode)
           
 void setResponse(String response)
          Sets the response.
 void setSearchOnDefaultLanguage(boolean isSearchOnDefaultLanguage)
           
 void setSort(String sort)
           
 void setText(String text)
          Sets the text.
 void setToDate(Calendar toDate)
          Sets the to date.
 void setType(String type)
          Sets the type.
 void setUserId(String userId)
           
 void setUserMembers(List<String> userMembers)
           
 void setViewingCategories(List<String> viewingCategories)
          This method check date time user input interface Sets the date from to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FAQ_CATEGORY

public static final String FAQ_CATEGORY
See Also:
Constant Field Values

FAQ_QUESTION

public static final String FAQ_QUESTION
See Also:
Constant Field Values

CATEGORY_AND_QUESTION

public static final String CATEGORY_AND_QUESTION
See Also:
Constant Field Values
Constructor Detail

FAQEventQuery

public FAQEventQuery()
Instantiates a new fAQ event query.

Method Detail

getLanguage

public String getLanguage()

setLanguage

public void setLanguage(String language)

setQuestionDisplayMode

public void setQuestionDisplayMode(String questionDisplayMode)

getQuestionDisplayMode

public String getQuestionDisplayMode()

getType

public String getType()
Gets the type.

Returns:
the type

setType

public void setType(String type)
Sets the type.

Parameters:
type - the new type

getText

public String getText()
Gets the text.

Returns:
the text

setText

public void setText(String text)
Sets the text.

Parameters:
text - the new text

getName

public String getName()
Gets the name.

Returns:
the name

setIsModeQuestion

public void setIsModeQuestion(String isModeQuestion)
Sets the checks if is mode question.

Parameters:
isModeQuestion - the new checks if is mode question

getIsModeQuestion

public String getIsModeQuestion()
Gets the checks if is mode question.

Returns:
the checks if is mode question

setName

public void setName(String name)
Sets the name.

Parameters:
name - the new name

getModerator

public String getModerator()
Gets the moderator.

Returns:
the moderator

setModerator

public void setModerator(String moderator)
Sets the moderator.

Parameters:
moderator - the new moderator

getPath

public String getPath()
Gets the path.

Returns:
the path

setPath

public void setPath(String path)
Sets the path.

Parameters:
path - the new path

getAuthor

public String getAuthor()
Gets the author.

Returns:
the author

setUserId

public void setUserId(String userId)

getUserId

public String getUserId()

setAuthor

public void setAuthor(String author)
Sets the author.

Parameters:
author - the new author

getEmail

public String getEmail()
Gets the email.

Returns:
the checks if is lock

setEmail

public void setEmail(String email)
Sets the email.

Parameters:
email - the new email

getQuestion

public String getQuestion()
Gets the question.

Returns:
the question

setQuestion

public void setQuestion(String question)
Sets the question.

Parameters:
question - the new question

getResponse

public String getResponse()
Gets the response.

Returns:
the response

setResponse

public void setResponse(String response)
Sets the response.

Parameters:
response - the new response

getAttachment

public String getAttachment()
Gets the attachment.

Returns:
the attachment

setAttachment

public void setAttachment(String attachment)
Sets the attachment.

Parameters:
attachment - the new attachment

getUserMembers

public List<String> getUserMembers()
Returns:
the userMembers

setUserMembers

public void setUserMembers(List<String> userMembers)
Parameters:
userMembers - the userMembers to set

getFromDate

public Calendar getFromDate()
Gets the from date.

Returns:
the from date

setFromDate

public void setFromDate(Calendar fromDate)
Sets the from date.

Parameters:
fromDate - the new from date

getToDate

public Calendar getToDate()
Gets the to date.

Returns:
the to date

setToDate

public void setToDate(Calendar toDate)
Sets the to date.

Parameters:
toDate - the new to date

getIsAnd

public boolean getIsAnd()
Gets the checks.

Returns:
the checks if is true or false

isAdmin

public boolean isAdmin()
Returns:
the isAdmin

setAdmin

public void setAdmin(boolean isAdmin)
Parameters:
isAdmin - the isAdmin to set

getQuery

public String getQuery()
                throws Exception
This method is query on search Gets the path query.

Returns:
string the path query
Throws:
Exception

setViewingCategories

public void setViewingCategories(List<String> viewingCategories)
This method check date time user input interface Sets the date from to.

Parameters:
fromDate - the from date
toDate - the to date
property - the property

getViewingCategories

public List<String> getViewingCategories()

isQuestionLevelSearch

public boolean isQuestionLevelSearch()
                              throws Exception
Throws:
Exception

isAnswerCommentLevelSearch

public boolean isAnswerCommentLevelSearch()
                                   throws Exception
Throws:
Exception

setSearchOnDefaultLanguage

public void setSearchOnDefaultLanguage(boolean isSearchOnDefaultLanguage)

isSearchOnDefaultLanguage

public boolean isSearchOnDefaultLanguage()

setLanguageLevelSearch

public void setLanguageLevelSearch(boolean isLanguageLevelSearch)

isLanguageLevelSearch

public boolean isLanguageLevelSearch()

isExcerpt

public boolean isExcerpt()

setExcerpt

public void setExcerpt(boolean isExcerpt)

setComment

public void setComment(String comment)

getComment

public String getComment()

getAsteriskConditionSearch

public String getAsteriskConditionSearch()

setAsteriskConditionSearch

public void setAsteriskConditionSearch(String asteriskConditionSearch)

getOffset

public int getOffset()

setOffset

public void setOffset(int offset)

getLimit

public int getLimit()

setLimit

public void setLimit(int limit)

getSort

public String getSort()

setSort

public void setSort(String sort)

getOrder

public String getOrder()

setOrder

public void setOrder(String order)


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