|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A BasicQuery represents the query and is able to deliver a SearchQueryResult using the execute method. It serves as a base class for store specific implementations. It hosts the information about the SELECT, FROM, WHERE, ORDERBY and LIMIT. It also holds a tree of BasicSearchExpressions.
Method Summary | |
SearchQueryResult |
execute()
Executes a request. |
IBasicExpression |
getExpression()
Method getExpression |
IBasicExpressionFactory |
getExpressionFactory()
Method getExpressionFactory |
int |
getLimit()
Method getLimit |
PropertyProvider |
getPropertyProvider()
Method getPropertyProvider |
QueryScope |
getScope()
QueryScope accessor |
SearchToken |
getSearchToken()
Method getSearchToken |
java.lang.String |
getSlidePath()
Method getSlidePath |
AbstractStore |
getStore()
Method getStore |
void |
init(SearchToken token)
Method init |
boolean |
isLimitDefined()
Method isLimitDefined |
void |
parseQueryElement(org.jdom.Element basicSearchElement,
PropertyProvider propertyProvider)
Builds the internal structure from the JDOM tree. |
RequestedProperties |
requestedProperties()
Method getSelectedProperties |
Method Detail |
public AbstractStore getStore()
public java.lang.String getSlidePath() throws InvalidScopeException
InvalidScopeException
public SearchToken getSearchToken()
public void parseQueryElement(org.jdom.Element basicSearchElement, PropertyProvider propertyProvider) throws BadQueryException
basicSearchElement
- the (root) expression Element.propertyProvider
- the PropertyProvider to use (may be
null
).
BadQueryException
public SearchQueryResult execute() throws ServiceAccessException
ServiceAccessException
public QueryScope getScope()
public RequestedProperties requestedProperties()
public IBasicExpression getExpression()
public boolean isLimitDefined()
public int getLimit()
public PropertyProvider getPropertyProvider()
public IBasicExpressionFactory getExpressionFactory()
public void init(SearchToken token)
token
- a SearchToken
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |