public class QueryStatement extends Object
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
QueryStatement() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final String QUESTION
public static final String CATEGORY
public static final String ASC
public static final String DESC
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 void setResponses(List<String> rp)
rp - the new responsespublic 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 void setModerators(List<String> mods)
mods - the new moderatorsCopyright © 2003–2015 eXo Platform SAS. All rights reserved.