|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientRequest
Client request interface
Field Summary | |
---|---|
static int |
BROWSE
|
static int |
CATEGORIZE
|
static int |
INSPECT
|
static int |
QUERY
this is the simplest way to maintain backward compatibility. |
static java.lang.String |
REQUEST_TAG_BROWSE
Deprecated. as of 2007.0 |
static java.lang.String |
REQUEST_TAG_CATEGORIZE
Deprecated. as of 2007.0 |
static java.lang.String |
REQUEST_TAG_QUERY
Deprecated. as of 2007.0 |
static java.lang.String |
REQUEST_TAG_SIMILARDOCS
Deprecated. as of 2007.0 |
static java.lang.String |
REQUEST_TAG_STRUCTQUERY
Deprecated. as of 2007.0 |
static java.lang.String |
REQUEST_TAG_VIC
Deprecated. as of 2007.0 |
static int |
SIMILARDOCS
|
static int |
STRUCTQUERY
|
static java.lang.String[] |
TAGS
|
static int |
VIC
|
Fields inherited from interface atg.search.routing.command.SearchEngineRequest |
---|
CLASS_VERSION |
Method Summary | |
---|---|
DocumentSetConstraint |
getConstraints()
Returns the constraints object, which might be null. |
ParserOptions |
getParsingOptions()
|
int |
getRequestId()
|
java.lang.String |
getRequestIdentifier()
|
long |
getRequestTime()
The time of day that the request occured, in milliseconds since 1970. |
boolean |
isListPropertyAllowed()
Returns false by default. |
boolean |
isLoggingEnabled()
Indicates whether DB logging is enabled or disabled |
void |
setConstraints(DocumentSetConstraint constraints)
Sets the document set constraints for the query |
void |
setListPropertyAllowed(boolean listPropertiesAllowed)
Enables storage of multi-valued properties in the Result's properties HashMap. |
void |
setLoggingEnabled(boolean loggingEnabled)
Enables or disables DB logging |
void |
setParsingOptions(ParserOptions parsingOptions)
|
void |
setRequestIdentifier(java.lang.String pId)
|
void |
setRequestTime(long pRequestTime)
Sets the time of request in milliseconds (as in the time of day). |
Methods inherited from interface atg.search.routing.command.SearchEngineRequest |
---|
getRequestAttribute, getRequestAttributes, getRequestTag, isFiringSearchEvents, isKeepingResponseData, isLoggingThisRequest, processResponse, setFiringSearchEvents, setKeepingResponseData, setLoggingThisRequest, setRequestAttribute, setRequestAttributes, toXML |
Field Detail |
---|
static final int QUERY
TAGS
array
for the corresponding command tag.
static final int BROWSE
static final int STRUCTQUERY
static final int VIC
static final int SIMILARDOCS
static final int CATEGORIZE
static final int INSPECT
static final java.lang.String[] TAGS
static final java.lang.String REQUEST_TAG_QUERY
static final java.lang.String REQUEST_TAG_BROWSE
static final java.lang.String REQUEST_TAG_STRUCTQUERY
static final java.lang.String REQUEST_TAG_VIC
static final java.lang.String REQUEST_TAG_SIMILARDOCS
static final java.lang.String REQUEST_TAG_CATEGORIZE
Method Detail |
---|
java.lang.String getRequestIdentifier()
void setRequestIdentifier(java.lang.String pId)
pId
- unique request identifierint getRequestId()
DocumentSetConstraint getConstraints()
void setConstraints(DocumentSetConstraint constraints)
constraints
- constraintsboolean isListPropertyAllowed()
void setListPropertyAllowed(boolean listPropertiesAllowed)
listPropertiesAllowed
- true to enable list propertiesboolean isLoggingEnabled()
true
if logging is enabledvoid setLoggingEnabled(boolean loggingEnabled)
loggingEnabled
- true
if logging is enabledParserOptions getParsingOptions()
void setParsingOptions(ParserOptions parsingOptions)
parsingOptions
- parsing optionsvoid setRequestTime(long pRequestTime)
pRequestTime
- current time in millisecondslong getRequestTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |