|
||||||||||
| 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 String |
ASC
The Constant ASC. |
static String |
CATEGORY
The Constant CATEGORY. |
static String |
DESC
The Constant DESC. |
static String |
QUESTION
The Constant QUESTION. |
| Constructor Summary | |
|---|---|
QueryStatement()
|
|
| Method Summary | |
|---|---|
String |
getAuthor()
Gets the author. |
String |
getCategoryId()
Gets the category id. |
Date |
getCreatedDate()
Gets the created date. |
String |
getDescription()
Gets the description. |
String |
getEmail()
Gets the email. |
List<String> |
getModerators()
Gets the moderators. |
String |
getName()
Gets the name. |
String[] |
getOrderBy()
Gets the order by. |
String |
getOrderType()
Gets the order type. |
String |
getQueryStatement()
Gets the query statement. |
String |
getQuestion()
Gets the question. |
List<String> |
getRelations()
Gets the relations. |
List<String> |
getResponses()
Gets the responses. |
String |
getText()
Gets the text. |
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(String author)
Sets the author. |
void |
setCategoryId(String catId)
Sets the category id. |
void |
setCreatedDate(Date createdDate)
Sets the created date. |
void |
setDescription(String description)
Sets the description. |
void |
setEmail(String email)
Sets the email. |
void |
setModerators(List<String> mods)
Sets the moderators. |
void |
setName(String name)
Sets the name. |
void |
setOrderBy(String[] order)
Sets the order by. |
void |
setOrderType(String type)
Sets the order type. |
void |
setQuestion(String name)
Sets the question. |
void |
setRelations(List<String> rl)
Sets the relations. |
void |
setResponses(List<String> rp)
Sets the responses. |
void |
setText(String fullTextSearch)
Sets the text. |
void |
setType(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 String QUESTION
public static final String CATEGORY
public static final String ASC
public static final String DESC
| Constructor Detail |
|---|
public QueryStatement()
| Method Detail |
|---|
public String getType()
public void setType(String nt)
nt - the new typepublic void setText(String fullTextSearch)
fullTextSearch - the new textpublic String getText()
public String[] getOrderBy()
public void setOrderBy(String[] order)
order - the new order bypublic String getOrderType()
public void setOrderType(String type)
type - the new order typepublic void setCreatedDate(Date createdDate)
createdDate - the new created datepublic Date getCreatedDate()
public String getQuestion()
public void setQuestion(String name)
name - the new questionpublic List<String> getResponses()
public void setResponses(List<String> rp)
rp - the new responsespublic List<String> getRelations()
public void setRelations(List<String> rl)
rl - the new relationspublic void setAuthor(String author)
author - the new authorpublic String getAuthor()
public void setEmail(String email)
email - the new emailpublic 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(String catId)
catId - the new category idpublic String getCategoryId()
public String getName()
public void setName(String name)
name - the new namepublic String getDescription()
public void setDescription(String description)
description - the new descriptionpublic List<String> getModerators()
public void setModerators(List<String> mods)
mods - the new moderators
public String getQueryStatement()
throws Exception
Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||