|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.weblab.util.WebLabQueryParser
org.ow2.weblab.util.PortletQueryParser
public class PortletQueryParser
| Field Summary |
|---|
| Fields inherited from class org.ow2.weblab.util.WebLabQueryParser |
|---|
ASCENDENT_ORDERING_MODE_EXPECTED, HAS_SCOPE, TO_BE_ORDERED_BY |
| Constructor Summary | |
|---|---|
PortletQueryParser()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getComposedRequest(org.ow2.weblab.core.model.ComposedQuery q,
org.ow2.weblab.core.helper.ResourceHelper hlpr)
Build a string query based on the content of a ComposedQuery. |
boolean |
getOrder(org.ow2.weblab.core.model.Query q,
org.ow2.weblab.core.helper.ResourceHelper hlpr)
Test if the property ASCENDENT_ORDERING_MODE_EXPECTED is set to true. |
java.lang.String |
getOrderBy(org.ow2.weblab.core.model.Query q,
org.ow2.weblab.core.helper.ResourceHelper hlpr)
Test if the property TO_BE_ORDERED_BY exists on the query and get its value if applicable. |
java.lang.String |
getRequest(org.ow2.weblab.core.model.Query q,
org.ow2.weblab.core.helper.ResourceHelper hlpr)
Build a string request based on the content of a Query. |
java.lang.String |
getRequestWithScope(org.ow2.weblab.core.model.Query q,
org.ow2.weblab.core.helper.ResourceHelper hlpr)
Extract the request from the StringQuery possibly using the property HAS_SCOPE to restrict request scope and adapt syntax. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortletQueryParser()
| Method Detail |
|---|
public java.lang.String getRequest(org.ow2.weblab.core.model.Query q,
org.ow2.weblab.core.helper.ResourceHelper hlpr)
throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
WebLabQueryParser
getRequest in class WebLabQueryParserq - a Queryhlpr - a JenaResourceHelper initialized on the Query
org.ow2.weblab.core.extended.exception.WebLabCheckedException
public java.lang.String getComposedRequest(org.ow2.weblab.core.model.ComposedQuery q,
org.ow2.weblab.core.helper.ResourceHelper hlpr)
throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
WebLabQueryParser
getComposedRequest in class WebLabQueryParserq - the ComposedQueryhlpr - a JenaResourceHelper initialized on the ComposedQuery
org.ow2.weblab.core.extended.exception.WebLabCheckedException
public java.lang.String getRequestWithScope(org.ow2.weblab.core.model.Query q,
org.ow2.weblab.core.helper.ResourceHelper hlpr)
throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
WebLabQueryParser
getRequestWithScope in class WebLabQueryParserq - a StrinQuery
org.ow2.weblab.core.extended.exception.WebLabCheckedException
public java.lang.String getOrderBy(org.ow2.weblab.core.model.Query q,
org.ow2.weblab.core.helper.ResourceHelper hlpr)
throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
WebLabQueryParser
getOrderBy in class WebLabQueryParserq - a StrinQuery
org.ow2.weblab.core.extended.exception.WebLabCheckedException
public boolean getOrder(org.ow2.weblab.core.model.Query q,
org.ow2.weblab.core.helper.ResourceHelper hlpr)
throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
WebLabQueryParser
getOrder in class WebLabQueryParserq - a StrinQuery
org.ow2.weblab.core.extended.exception.WebLabCheckedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||