|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.faq.service.QueryStatement
public class QueryStatement
Created by The eXo Platform SARL Author : Hung Nguyen Quang hung.nguyen@exoplatform.com Jul 11, 2007
| Field Summary | |
|---|---|
static java.lang.String |
ASC
The Constant ASC. |
static java.lang.String |
CATEGORY
The Constant CATEGORY. |
static java.lang.String |
DESC
The Constant DESC. |
static java.lang.String |
QUESTION
The Constant QUESTION. |
| Constructor Summary | |
|---|---|
QueryStatement()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAuthor()
Gets the author. |
java.lang.String |
getCategoryId()
Gets the category id. |
java.util.Date |
getCreatedDate()
Gets the created date. |
java.lang.String |
getDescription()
Gets the description. |
java.lang.String |
getEmail()
Gets the email. |
java.util.List<java.lang.String> |
getModerators()
Gets the moderators. |
java.lang.String |
getName()
Gets the name. |
java.lang.String[] |
getOrderBy()
Gets the order by. |
java.lang.String |
getOrderType()
Gets the order type. |
java.lang.String |
getQueryStatement()
Gets the query statement. |
java.lang.String |
getQuestion()
Gets the question. |
java.util.List<java.lang.String> |
getRelations()
Gets the relations. |
java.util.List<java.lang.String> |
getResponses()
Gets the responses. |
java.lang.String |
getText()
Gets the text. |
java.lang.String |
getType()
Gets the type. |
boolean |
isActivated()
Checks if is activated. |
boolean |
isApproved()
Checks if is approved. |
void |
setActivated(boolean isActivated)
Sets the activated. |
void |
setApproved(boolean isApproved)
Sets the approved. |
void |
setAuthor(java.lang.String author)
Sets the author. |
void |
setCategoryId(java.lang.String catId)
Sets the category id. |
void |
setCreatedDate(java.util.Date createdDate)
Sets the created date. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setEmail(java.lang.String email)
Sets the email. |
void |
setModerators(java.util.List<java.lang.String> mods)
Sets the moderators. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setOrderBy(java.lang.String[] order)
Sets the order by. |
void |
setOrderType(java.lang.String type)
Sets the order type. |
void |
setQuestion(java.lang.String name)
Sets the question. |
void |
setRelations(java.util.List<java.lang.String> rl)
Sets the relations. |
void |
setResponses(java.util.List<java.lang.String> rp)
Sets the responses. |
void |
setText(java.lang.String fullTextSearch)
Sets the text. |
void |
setType(java.lang.String nt)
Sets the type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String QUESTION
public static final java.lang.String CATEGORY
public static final java.lang.String ASC
public static final java.lang.String DESC
| Constructor Detail |
|---|
public QueryStatement()
| Method Detail |
|---|
public java.lang.String getType()
public void setType(java.lang.String nt)
nt - the new typepublic void setText(java.lang.String fullTextSearch)
fullTextSearch - the new textpublic java.lang.String getText()
public java.lang.String[] getOrderBy()
public void setOrderBy(java.lang.String[] order)
order - the new order bypublic java.lang.String getOrderType()
public void setOrderType(java.lang.String type)
type - the new order typepublic void setCreatedDate(java.util.Date createdDate)
createdDate - the new created datepublic java.util.Date getCreatedDate()
public java.lang.String getQuestion()
public void setQuestion(java.lang.String name)
name - the new questionpublic java.util.List<java.lang.String> getResponses()
public void setResponses(java.util.List<java.lang.String> rp)
rp - the new responsespublic java.util.List<java.lang.String> getRelations()
public void setRelations(java.util.List<java.lang.String> rl)
rl - the new relationspublic void setAuthor(java.lang.String author)
author - the new authorpublic java.lang.String getAuthor()
public void setEmail(java.lang.String email)
email - the new emailpublic java.lang.String getEmail()
public void setActivated(boolean isActivated)
isActivated - the new activatedpublic boolean isActivated()
public void setApproved(boolean isApproved)
isApproved - the new approvedpublic boolean isApproved()
public void setCategoryId(java.lang.String catId)
catId - the new category idpublic java.lang.String getCategoryId()
public java.lang.String getName()
public void setName(java.lang.String name)
name - the new namepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the new descriptionpublic java.util.List<java.lang.String> getModerators()
public void setModerators(java.util.List<java.lang.String> mods)
mods - the new moderators
public java.lang.String getQueryStatement()
throws java.lang.Exception
java.lang.Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||