|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.assetapi.query.QueryProperties
public final class QueryProperties
This class defines property keys and values for Query
Constructor Summary | |
---|---|
QueryProperties()
|
Method Summary | |
---|---|
float |
getConfidence()
Gets the confidence sepcified for richtext search |
boolean |
getIsBasicSearch()
Gets if to use Asset.Search for flex asset type, default to be false if the value is not set by the setter method. |
boolean |
getIsCaseSensitive()
Gets whether the flex asset search is case sensitive or not, default to be false if the value is not set by the setter method. |
boolean |
getIsImmediateOnly()
Gets whether to only retrieve the immediate attribute values from flex asset attributes, default value is true |
boolean |
getIsLowerEqual()
Gets whether the lower bound contains equal or not for range search, default to be false if the value is not set by the setter method. |
boolean |
getIsUpperEqual()
Gets whether the upper bound contains equal or not for range search, default to be false if the value is not set by the setter method. |
int |
getLoadDependency()
Gets what kind of depency to log when loading assets returned from Query |
int |
getMaxAnswers()
Gets the max answers specified for richtext search |
int |
getMaxRows()
Gets the max number of items the query wants to return |
java.lang.String |
getParser()
Gets the parser for richtext search |
java.lang.Long |
getSite()
Gets the site id for the Query |
int |
getStartIndex()
|
boolean |
isFixedList()
Gets whether search contains a set of assets whose identities will not change. |
boolean |
isReadAll()
Gets whether all the attributes of the assettype/subtype will be read |
void |
setConfidence(float fConfidence)
Sets the confidence value for richtext search |
void |
setFixedList(boolean isFixedList)
Sets whether search contains a set of assets whose identities will not change. |
void |
setIsBasicSearch(boolean bIsBasicSearch)
Specifies whether to use Asset.Search for flex asset type |
void |
setIsCaseSensitive(boolean bIsCaseSensitive)
Specifies whether the flex asset search is case sensitive or not |
void |
setIsImmediateOnly(boolean bIsImmediateOnly)
Specifies whether to only retrieve the immediate attribute values from flex asset attributes |
void |
setIsLowerEqual(boolean bIsLowerEqual)
Specifies whether the lower bound contains equal or not for range search |
void |
setIsUpperEqual(boolean bIsUpperEqual)
Specifies whether the upper bound contains equal or not for range search |
void |
setLoadDependency(int loadDependency)
Sets the load dependency for the assets that would be returned by the Query |
void |
setMaxAnswers(int iMaxAnswers)
Sets the maxAnswers value for richtext search |
void |
setMaxRows(int iMaxRows)
set the max number of items to return from the query |
void |
setParser(java.lang.String sParser)
Sets teh parser for richtext search |
void |
setReadAll(boolean readAll)
Sets whether all the attributes of the assettype/subtype will be read |
void |
setSite(java.lang.Long site)
Sets the site if for the query |
void |
setStartIndex(int startIndex)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryProperties()
Method Detail |
---|
public int getStartIndex()
public void setStartIndex(int startIndex)
public int getMaxRows()
public void setMaxRows(int iMaxRows)
iMaxRows
- the numberpublic boolean getIsBasicSearch()
false
if the value is not set by the setter method.
true indicates using Asset.Search, false
indicates not using Asset.Search
public void setIsBasicSearch(boolean bIsBasicSearch)
bIsBasicSearch
- true indicates using Asset.Search, false
indicates not using Asset.Search
public boolean getIsLowerEqual()
false
if the value is not set by the setter method.
true
indicates lower bound contains equal, false
indicates lower bound does not contain equalpublic void setIsLowerEqual(boolean bIsLowerEqual)
bIsLowerEqual
- true
indicates lower bound contains equal, false
indicates lower bound does not contain equalpublic boolean getIsUpperEqual()
false
if the value is not set by the setter method.
true
indicates upper bound contains equal, false
indicates upper bound does not contain equalpublic void setIsUpperEqual(boolean bIsUpperEqual)
bIsUpperEqual
- true
indicates upper bound contains equal, false
indicates upper bound does not contain equalpublic boolean getIsCaseSensitive()
false
if the value is not set by the setter method.
true
indicates the flex asset search is case sensitive, false
indicates it is notpublic void setIsCaseSensitive(boolean bIsCaseSensitive)
bIsCaseSensitive
- true
indicates the flex asset search is case sensitive, false
indicates it is notpublic boolean getIsImmediateOnly()
true
true
only retrieve the child attribute value, false
means retrieving the inherited parent values toopublic void setIsImmediateOnly(boolean bIsImmediateOnly)
bIsImmediateOnly
- true
only retrieve the child attribute value, false
means retrieving the inherited parent values toopublic java.lang.String getParser()
public void setParser(java.lang.String sParser)
sParser
- the parser namepublic float getConfidence()
public void setConfidence(float fConfidence)
fConfidence
- the float value fo the confidencepublic int getMaxAnswers()
public void setMaxAnswers(int iMaxAnswers)
iMaxAnswers
- the int value of the maxAnswerspublic int getLoadDependency()
public void setLoadDependency(int loadDependency)
loadDependency
- the value of the dependencypublic java.lang.Long getSite()
public void setSite(java.lang.Long site)
site
- the site idpublic boolean isReadAll()
public void setReadAll(boolean readAll)
readAll
- true indicates all the attributes will be read; false indicates the attributes will be specified in the querypublic boolean isFixedList()
public void setFixedList(boolean isFixedList)
isFixedList
- default is false.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |