|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.search.query.messages.SearchMessage atg.search.query.messages.StructuredQueryMessage
public class StructuredQueryMessage
A message corresponding to a <query> request/response
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
static java.lang.String |
JMS_MESSAGE_TYPE
|
Constructor Summary | |
---|---|
StructuredQueryMessage(ClientStructuredRequest pRequest)
Create a instance of this class |
Method Summary | |
---|---|
java.lang.String |
getExcludeQueryText()
Return query text from any <structquery><statement> which uses the "negative" op attribute. |
java.lang.String |
getJMSType()
Get the JMS type |
java.lang.String |
getQueryText()
Return query text from any <structquery><statement> which does not use the "negative" op attribute. |
protected java.lang.StringBuffer |
getQueryText(boolean pInclusive)
Get a concatenation of queryText from each StructuredStatement. |
ClientStructuredRequest |
getRequest()
Return the request object used to generate this query |
protected java.util.ArrayList |
getStatements(boolean pInclusive)
Get StructuredStatement objects from query request. |
Methods inherited from class atg.search.query.messages.SearchMessage |
---|
getClientRequest, getOpitonSetName, getResultCount, getResults, getSiteName, getUserProfile, parseInt, setOptionSetName, setResults, setSiteName, setUserProfile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static final java.lang.String JMS_MESSAGE_TYPE
Constructor Detail |
---|
public StructuredQueryMessage(ClientStructuredRequest pRequest)
pRequest
- the request objectMethod Detail |
---|
public java.lang.String getJMSType()
getJMSType
in class SearchMessage
public ClientStructuredRequest getRequest()
public java.lang.String getQueryText()
public java.lang.String getExcludeQueryText()
protected java.lang.StringBuffer getQueryText(boolean pInclusive)
pInclusive
- if true, return all statement queryText that
not's op="exclude", if false return those with op="exclude"
protected java.util.ArrayList getStatements(boolean pInclusive)
pInclusive
- if true, return statements that are not marked
"negative"
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |