|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.search.query.messages.SearchMessage
public abstract class SearchMessage
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
protected |
SearchMessage(ClientRequest pClientRequest)
Create a search message |
Method Summary | |
---|---|
protected ClientRequest |
getClientRequest()
Get the request as the base type request |
abstract java.lang.String |
getJMSType()
Get the JMS type |
java.lang.String |
getOpitonSetName()
Get the option set name used in the search or null if the default option set was used. |
int |
getResultCount()
Return the number of results. |
Results |
getResults()
Return the results object. |
java.lang.String |
getSiteName()
Get the site name |
RepositoryItem |
getUserProfile()
Return the user profile for the user issuing this query |
protected int |
parseInt(java.lang.String pValue,
int pDefault)
Parse an string int value |
void |
setOptionSetName(java.lang.String pOptionSetName)
Set the option set name used in the search |
void |
setResults(Results pResults)
Set the search results object |
void |
setSiteName(java.lang.String pSiteName)
Set the siteName value |
void |
setUserProfile(RepositoryItem pUserProfile)
Set the user profile for the user issuing this query |
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
Constructor Detail |
---|
protected SearchMessage(ClientRequest pClientRequest)
pJMSType
- a string identifying the JMS message typepRequest
- the search requestMethod Detail |
---|
public abstract java.lang.String getJMSType()
public void setSiteName(java.lang.String pSiteName)
pSiteName
- the site namepublic java.lang.String getSiteName()
public void setOptionSetName(java.lang.String pOptionSetName)
pOptionSetName
- the option set namepublic java.lang.String getOpitonSetName()
pOptionSetName
- the option set namepublic void setUserProfile(RepositoryItem pUserProfile)
pUserProfile
- the user profilepublic RepositoryItem getUserProfile()
public Results getResults()
public void setResults(Results pResults)
pResults
- the search results objectpublic int getResultCount()
protected ClientRequest getClientRequest()
protected int parseInt(java.lang.String pValue, int pDefault)
pValue
- int value as string to parsepDefault
- default value if string is empty or invalid
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |