atg.svc.ui.formhandlers
Class SearchBaseFormHandler

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.droplet.EmptyFormHandler
              extended by atg.droplet.GenericFormHandler
                  extended by atg.droplet.TransactionalFormHandler
                      extended by atg.web.formhandlers.ApplicationFormHandler
                          extended by atg.svc.ui.formhandlers.ServiceFormHandler
                              extended by atg.svc.ui.formhandlers.FrameworkBaseFormHandler
                                  extended by atg.svc.ui.formhandlers.SearchBaseFormHandler
All Implemented Interfaces:
atg.droplet.DropletFormHandler, atg.naming.NameContextBindingListener, atg.naming.NameContextElement, atg.naming.NameResolver, atg.nucleus.AdminableService, atg.nucleus.logging.ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, atg.nucleus.naming.ComponentNameResolver, atg.nucleus.Service, atg.nucleus.ServiceListener, FormHandlerConstants, TreeTableFormHandler, Listable, Pageable, Sortable, java.util.EventListener
Direct Known Subclasses:
SearchFormHandler, SolutionSearchFormHandler

public abstract class SearchBaseFormHandler
extends FrameworkBaseFormHandler
implements Listable, Pageable, Sortable, TreeTableFormHandler

Base class for InternalSearchFormHandlers


Field Summary
static java.lang.String ACTIVE_CONSTRAINTS
          Key for saving active constraints in window state
static java.lang.String CLASS_VERSION
          Class version string
static java.lang.String CONSTRAINT_STATE_ACTIVE
          The constraint is active
static java.lang.String CONSTRAINT_STATE_INACTIVE
          The constraint was formerly active, but is now inactive
static java.lang.String CONSTRAINT_STATE_UNINITIALIZED
          The constraint has never been active or inactive
static java.lang.String CONSTRAINT_TYPE_CREATION_DATE
          Used by the UI to get type codes
static java.lang.String CONSTRAINT_TYPE_FAVORITE_QUERY
           
static java.lang.String CONSTRAINT_TYPE_FORMAT
           
static java.lang.String CONSTRAINT_TYPE_KEYWORD
           
static java.lang.String CONSTRAINT_TYPE_LAST_MODIFIED_DATE
           
static java.lang.String CONSTRAINT_TYPE_QUERY_LANGUAGE
           
static java.lang.String CONSTRAINT_TYPE_RESULT_LANGUAGE
           
static java.lang.String CONSTRAINT_TYPE_TOPIC
           
static java.lang.String DEFAULT_PAGE_SIZE
          The default page size
static java.lang.String KNOWLEDGE_QUERY_CONTEXT_BROWSE_BUILDER_WINDOW_STATE_KEY
          Key for saving knowledge query context in window state
static java.lang.String KNOWLEDGE_QUERY_CONTEXT_CONTRIBUTE_WINDOW_STATE_KEY
          Key for saving knowledge query context in window state
static java.lang.String KNOWLEDGE_QUERY_CONTEXT_QUERY_BUILDER_WINDOW_STATE_KEY
          Key for saving knowledge query context in window state
static java.lang.String KNOWLEDGE_QUERY_CONTEXT_REVIEW_QUERY_BUILDER_WINDOW_STATE_KEY
          Key for saving knowledge query context in window state
static java.lang.String KNOWLEDGE_QUERY_CONTEXT_WINDOW_STATE_KEY
          Key for saving knowledge query context in window state
static java.lang.String LAST_SEARCH_INFO_KEY
          The search info key for the most recent search
protected  java.util.Map mActiveConstraints
           
protected  java.lang.String mAuthor
           
protected  java.lang.String mAuthorOp
           
protected  boolean mBestBets
           
protected  java.lang.String mCreationDateFrom
           
protected  java.lang.String mCreationDateTo
           
protected  java.lang.String mCreationDateType
           
protected  java.lang.String mCustomSortDefaultField
           
protected  java.lang.String mCustomSortField
           
protected  java.lang.String mDisabledSolutionClasses
           
protected  java.lang.String[] mDocumentFormats
           
protected  java.lang.String mExternalAudience
           
protected  java.lang.String mExternalAudienceOp
           
protected  java.lang.String mFavoriteQuery
           
protected  java.lang.String mFieldNames
           
protected  java.lang.String mFieldOperations
           
protected  java.lang.String mFieldValues
           
protected  java.lang.String mFieldValues2
           
protected  java.lang.String mFocusTopic
          Focus topic
protected  java.lang.Boolean mGroupByDocument
          The property for display the results Individually or Grouped By Document.
protected  java.lang.String mInternalAudience
           
protected  java.lang.String mInternalAudienceOp
           
protected  boolean mIsBrowsing
           
protected  boolean mIsExternal
           
protected  java.lang.String mKeywordAllOfTheWords
          space delimited list of keywords - all must be present.
protected  java.lang.String mKeywordAtLeastOneOfTheWords
          space delimited list of keywords - at least one keyword must be present.
protected  java.lang.String mKeywordNotTheWords
          space delimited list of keywords - none of the keywords may be present.
protected  atg.svc.search.KnowledgeQueryContext mKnowledgeQueryContext
           
protected  java.lang.String mLanguageQuery
           
protected  java.lang.String mLanguageResults
           
protected  java.lang.String mLastModifiedDateFrom
           
protected  java.lang.String mLastModifiedDateTo
           
protected  java.lang.String mLastModifiedDateType
           
protected  java.lang.String mListCreationRange
           
protected  java.lang.String mListLastModifiedRange
           
protected  java.lang.String mModifiedBy
           
protected  java.lang.String mModifiedByOp
           
protected  java.lang.String mOperation
          The current tree table operation, e.g.
protected  java.lang.String mOwningGroup
           
protected  java.lang.String mOwningGroupOp
           
protected  java.lang.String mPageSize
           
protected  ProfileService mProfileService
           
protected  java.lang.String mQueryConstraints
           
protected  java.lang.String mQueryId
           
protected  java.lang.String mQueryName
           
protected  java.lang.String mSearchAllTopics
           
protected  java.lang.String mSearchInfoKey
           
protected  atg.svc.search.SvcSearchResults mSearchResults
           
protected  atg.svc.search.SearchService mSearchService
           
protected  java.lang.String[] mSearchTextInputFields
           
protected  java.lang.String[] mSearchTextValues
           
protected  java.lang.String mShowAnswers
           
protected  java.lang.String[] mSolutionClasses
          Array of SolutionClass repository ids
protected  java.lang.String mSolutionLanguage
           
protected  java.lang.String mSolutionLanguageOp
           
protected  java.lang.String mSortDirection
           
protected  java.lang.String mSortField
          The current sort criteria.
protected  java.lang.String mState
          The serialized tree table state for client state only.
protected  StateContainer mStateContainer
          The tree table state container object.
protected  java.lang.String mStatuses
           
protected  java.lang.String mStatusesOp
           
protected  java.lang.String mTitle
           
protected  java.lang.String mTitleHasValue
           
protected  boolean mTitleMatchCase
           
protected  java.lang.String mTitleOp
           
protected  java.lang.String[] mTopics
          Array of Topic repository ids
protected  atg.searchadmin.repository.service.TopicService mTopicService
           
protected  java.lang.String mTopicsOp
           
protected  int mTotalSize
          The total number of results.
protected  java.lang.String mTreeTableId
          The unique identifier of the presentation layer element in which to display the results.
protected  boolean mUseAuthorConstraint
           
protected  boolean mUseBestBetsConstraint
           
protected  java.lang.String mUseCountRelation
           
protected  java.lang.String mUseCountValue
           
protected  java.lang.String mUseCountValue2
           
protected  boolean mUseCreationDateConstraint
           
protected  boolean mUseDisabledSolutionClassesConstraint
           
protected  boolean mUseExternalAudienceConstraint
           
protected  boolean mUseFormatConstraint
           
protected  boolean mUseInternalAudienceConstraint
           
protected  boolean mUseKeywordConstraint
           
protected  boolean mUseLastModifiedDateConstraint
           
protected  boolean mUseModifiedByConstraint
           
protected  boolean mUseOwningGroupConstraint
           
protected  boolean mUseQueryConstraint
           
protected  boolean mUseResultLanguageConstraint
           
protected  boolean mUseSearchLanguageConstraint
           
protected  boolean mUseSolutionLanguageConstraint
           
protected  boolean mUseStatusConstraint
           
protected  boolean mUseTitleConstraint
           
protected  boolean mUseTopicConstraint
           
protected  boolean mUseTopicsConstraint
           
protected  boolean mUseUseCountConstraint
           
protected  boolean mUseViewCountConstraint
           
protected  View mView
          Describes the current view of the results.
protected  java.lang.String mViewCountRelation
           
protected  java.lang.String mViewCountValue
           
protected  java.lang.String mViewCountValue2
           
protected  java.util.List mViewItems
          The current view of the results.
static java.lang.String SEARCH_INFO_KEYS
          The search info keys for the current session
static java.lang.String SEARCH_QUERY_BUILDER
           
static java.lang.String SEARCH_QUERY_REVIEW_BUILDER
           
static java.lang.String SEARCH_TASK_QUERY
           
 
Fields inherited from class atg.svc.ui.formhandlers.ServiceFormHandler
PERFMON_OP_FORM_HANDLER
 
Fields inherited from class atg.web.formhandlers.ApplicationFormHandler
EQUALS, PARAM_DELIMITER, QUERY_DELIMITER, STATUS_ERROR_REDIRECT, STATUS_ERROR_STAY, STATUS_SUCCESS
 
Fields inherited from class atg.droplet.GenericFormHandler
PARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS
 
Fields inherited from class atg.nucleus.GenericService
SERVICE_INFO_KEY
 
Fields inherited from interface atg.svc.ui.formhandlers.FormHandlerConstants
OPTIONS_ANSWER_DISPLAY, OPTIONS_ANSWER_DISPLAY_CURRENT_WINDOW, OPTIONS_ANSWER_DISPLAY_MULTIPLE_WINDOWS, OPTIONS_ANSWER_DISPLAY_SINGLE_WINDOW, OPTIONS_FILTER_BY_DOC_SET, OPTIONS_FILTER_BY_FORMAT, OPTIONS_FILTER_BY_SOURCE, OPTIONS_FILTER_BY_TITLE, OPTIONS_FILTER_OR_GROUPING_FILTER, OPTIONS_FILTER_OR_GROUPING_GROUP, OPTIONS_FILTER_OR_GROUPING_NONE, OPTIONS_QUERY_LANGUAGE, OPTIONS_RESULT_LANGUAGE, OPTIONS_SHOW_ANSWERS_AS, OPTIONS_SHOW_ANSWERS_BY_DOC, OPTIONS_SHOW_ANSWERS_INDIVIDUAL, OPTIONS_SHOW_FAQS_AS_QUESTIONS, OPTIONS_SHOW_FAQS_AS_QUESTIONS_AND_ANSWERS, PARAM_SITE_ID
 
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging
DEFAULT_LOG_TRACE_STATUS
 
Fields inherited from interface atg.nucleus.logging.ApplicationLogging
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
 
Constructor Summary
SearchBaseFormHandler()
           
 
Method Summary
protected  void addDateCreatedMinPredicate(java.util.Date pDateCreated)
           
protected  void addDateModifiedMinPredicate(java.util.Date pDateModify)
           
protected  void formHandlerInit(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
           
 java.util.Map getActiveConstraints()
           
 java.lang.String getAdvancedConstraintsAsXml()
          get AdvancedConstraintsAsXml
 java.lang.String getAdvancedNonSolutionConstraintsAsXml()
          get AdvancedNonSolutionConstraintsAsXml
 java.lang.String getAdvancedSolutionConstraintsAsXml()
          get AdvancedSolutionConstraintsAsXml
 java.lang.String getAudience()
          duplicating externalAudience because of solution indexing right now uses audience field
 java.lang.String getAudienceOp()
          duplicating externalAudience because of solution indexing right now uses audience field
 java.lang.String getAuthor()
           
 java.lang.String getAuthorOp()
           
 java.lang.String getBrowseDefaultSortDirection()
           
 java.lang.String getBrowseDefaultSortField()
           
 java.lang.String getConstraintStateActive()
           
 java.lang.String getConstraintStateInactive()
           
 java.lang.String getConstraintStateUninitialized()
           
 java.lang.String getCreationDateConstraintType()
           
 java.lang.String getCreationDateFrom()
           
 java.lang.String getCreationDateTo()
           
 java.lang.String getCreationDateType()
           
 java.lang.String getDisabledSolutionClasses()
           
 java.lang.String getDisabledSolutionClassesOp()
           
 java.lang.String[] getDocumentFormats()
           
 atg.svc.agent.events.EventTools getEventTools()
          Returns the eventTools.
 java.lang.String getExternalAudience()
           
 java.lang.String getExternalAudienceOp()
           
 java.lang.String getFavoriteQuery()
           
 java.lang.String getFavoriteQueryConstraintType()
           
 atg.svc.repository.beans.FieldDefinition getFieldDefinition(java.lang.String pFieldId)
          Returns field definition of Solution Class-Specific Constraints
 java.lang.String getFieldNames()
           
 java.lang.String getFieldOperations()
           
 java.lang.String getFieldValues()
           
 java.lang.String getFieldValues2()
           
 java.lang.String getFocusTopic()
           
 java.lang.String getFormatConstraintType()
           
 boolean getGroupByDocument()
           
 boolean getHasActiveConstraints()
           
 boolean getHasDocumentFormats()
           
protected  boolean getHasKeywords()
           
 boolean getHasSearchTextInputFields()
           
 boolean getHasSearchTextValues()
           
 boolean getHasSolutionClasses()
           
 boolean getHasTopics()
           
 java.lang.String getInternalAudience()
           
 java.lang.String getInternalAudienceOp()
           
 boolean getIsBrowsing()
           
protected  boolean getIsConstraintTypeActive(java.lang.String pConstraintType)
           
protected  boolean getIsConstraintTypeInitialized(java.lang.String pConstraintType)
           
 boolean getIsCreationDateConstraintActive()
           
 boolean getIsCreationDateConstraintInitialized()
           
 boolean getIsExternal()
           
 boolean getIsFavoriteQueryConstraintActive()
           
 boolean getIsFavoriteQueryConstraintInitialized()
           
 boolean getIsFormatConstraintActive()
           
 boolean getIsFormatConstraintInitialized()
           
 boolean getIsKeywordConstraintActive()
           
 boolean getIsKeywordConstraintInitialized()
           
 boolean getIsLastModifiedDateConstraintActive()
           
 boolean getIsLastModifiedDateConstraintInitialized()
           
 boolean getIsQueryLanguageConstraintActive()
           
 boolean getIsQueryLanguageConstraintInitialized()
           
 boolean getIsResultLanguageConstraintActive()
           
 boolean getIsResultLanguageConstraintInitialized()
           
 boolean getIsTopicConstraintActive()
           
 boolean getIsTopicConstraintInitialized()
           
 java.lang.String getKeywordAllOfTheWords()
           
 java.lang.String getKeywordAtLeastOneOfTheWords()
           
 java.lang.String getKeywordConstraintType()
           
 java.lang.String getKeywordNotTheWords()
           
 atg.svc.search.KnowledgeQueryContext getKnowledgeContributeForWindow()
           
 atg.svc.search.KnowledgeQueryContext getKnowledgeQueryContext()
           
 atg.svc.search.KnowledgeQueryContext getKnowledgeQueryContextBrowseForWindow()
           
 atg.svc.search.KnowledgeQueryContext getKnowledgeQueryContextForWindow()
           
 java.lang.String getLanguageQuery()
           
 java.lang.String getLanguageResults()
           
 java.lang.String getLastModifiedDateConstraintType()
           
 java.lang.String getLastModifiedDateFrom()
           
 java.lang.String getLastModifiedDateTo()
           
 java.lang.String getLastModifiedDateType()
           
 java.lang.String getListCreationRange()
           
 java.lang.String getListLastModifiedRange()
           
 java.lang.String getModifiedBy()
           
 java.lang.String getModifiedByOp()
           
 java.lang.String getOperation()
           
 java.lang.String getOwningGroup()
           
 java.lang.String getOwningGroupOp()
           
 java.lang.String getPageSize()
           
 ProfileService getProfileService()
          Getter for property ProfileService
 java.lang.String getQueryConstraints()
           
 java.lang.String getQueryId()
           
 java.lang.String getQueryLanguageConstraintType()
           
 java.lang.String getQueryName()
           
 java.lang.String getResultLanguageConstraintType()
           
 java.lang.String getSearchAllTopics()
           
 java.lang.String getSearchDefaultSortDirection()
           
 java.lang.String getSearchDefaultSortField()
           
 java.lang.String getSearchInfoKey()
           
 atg.svc.search.SvcSearchResults getSearchResults()
           
 atg.svc.search.SearchService getSearchService()
           
 java.lang.String[] getSearchTextInputFields()
           
 java.lang.String[] getSearchTextValues()
           
 java.lang.String getSearchType()
           
 java.lang.String getShowAnswers()
           
 java.lang.String[] getSolutionClasses()
           
 java.lang.String getSolutionLanguage()
           
 java.lang.String getSolutionLanguageOp()
           
 SolutionMetadataService getSolutionMetadataService()
           
 java.lang.String getSortField()
           
 java.lang.String getState()
           
 StateContainer getStateContainer()
           
 java.lang.String getStatus()
           
 java.lang.String getStatuses()
           
 java.lang.String getStatusesOp()
           
 java.lang.String getStatusOp()
           
 java.lang.String getTitle()
           
 java.lang.String getTitleHasValue()
           
 java.lang.String getTitleOp()
           
 java.lang.String getTopicConstraintType()
           
 java.lang.String[] getTopics()
           
 atg.searchadmin.repository.service.TopicService getTopicService()
           
 java.lang.String getTopicsOp()
           
 int getTotalItemCount()
           
 java.lang.String getTreeTableId()
           
 java.lang.String getUseCountRelation()
           
 java.lang.String getUseCountValue()
           
 java.lang.String getUseCountValue2()
           
 boolean getUseCreationDateConstraint()
           
 boolean getUseFormatConstraint()
           
 boolean getUseKeywordConstraint()
           
 boolean getUseLastModifiedDateConstraint()
           
 boolean getUseQueryConstraint()
           
 boolean getUseResultLanguageConstraint()
           
 UserOptionsService getUserOptionsService()
           
 boolean getUseSearchLanguageConstraint()
           
 boolean getUseTopicConstraint()
           
 View getView()
           
 java.lang.String getViewCountRelation()
           
 java.lang.String getViewCountValue()
           
 java.lang.String getViewCountValue2()
           
 int getViewItemCount()
           
 java.util.List getViewItems()
           
protected  void initializeActiveConstraints()
           
protected  void initializeAdvancedConstriants()
          initialize the advanced constraints
protected  void initializeCreationDateConstraint(boolean pReplacePredicates)
           
protected  void initializeDocumentFormats(boolean pReplacePredicates)
           
protected  void initializeFavoriteQuery(boolean pIsSearch)
           
protected  void initializeFocusTopic()
           
protected  void initializeKeywords(boolean pReplacePredicates)
           
protected  void initializeKnowledgeQueryContext(boolean pReplacePredicates)
           
protected  void initializeLastModifiedDate(boolean pReplacePredicates)
           
protected  void initializeQueryLanguage(boolean pReplacePredicates)
           
protected  void initializeResultLanguage(boolean pReplacePredicates)
           
protected  void initializeSolutionClasses(boolean pReplacePredicates)
           
protected  void initializeTopics(boolean pReplacePredicates)
           
 boolean isBestBets()
           
 boolean isFireSearchMessage()
          Returns the fireSearchMessage.
 boolean isTitleMatchCase()
           
 boolean isUseAudienceConstraint()
          duplicating externalAudience because of solution indexing right now uses audience field
 boolean isUseAuthorConstraint()
           
 boolean isUseBestBetsConstraint()
           
 boolean isUseDisabledSolutionClassesConstraint()
           
 boolean isUseExternalAudienceConstraint()
           
 boolean isUseInternalAudienceConstraint()
           
 boolean isUseModifiedByConstraint()
           
 boolean isUseOwningGroupConstraint()
           
 boolean isUseSolutionLanguageConstraint()
           
 boolean isUseStatusConstraint()
           
 boolean isUseTitleConstraint()
           
 boolean isUseTopicsConstraint()
           
 boolean isUseUseCountConstraint()
           
 boolean isUseViewCountConstraint()
           
abstract  void page(int pStartIndex, int pPageSize)
           
 atg.svc.search.SearchInfo restoreSearchInfo()
           
 void saveSearchInfo(atg.svc.search.SearchInfo pSearchInfo)
           
 void setActiveConstraints(java.util.Map pActiveConstraints)
           
 void setAdvancedConstraintsAsXml(java.lang.String pAdvancedConstraintsAsXml)
          Defines a DocumentSetConstraint that is applied to both unstructured documents and solutions.
 void setAdvancedNonSolutionConstraintsAsXml(java.lang.String pAdvancedNonSolutionConstraintsAsXml)
          Defines a DocumentSetConstraint that is applied only to non solutions (i.e.
 void setAdvancedSolutionConstraintsAsXml(java.lang.String pAdvancedSolutionConstraintsAsXml)
          Defines a DocumentSetConstraint that is applied only to solutions.
 void setAudience(java.lang.String pExternalAudience)
           
 void setAudienceOp(java.lang.String pExternalAudienceOp)
           
 void setAuthor(java.lang.String pAuthor)
           
 void setAuthorOp(java.lang.String pAuthorOp)
           
 void setBestBets(boolean pBestBets)
           
 void setBrowseDefaultSortDirection(java.lang.String pBrowseDefaultSortDirection)
           
 void setBrowseDefaultSortField(java.lang.String pBrowseDefaultSortField)
           
 void setCreationDateFrom(java.lang.String pCreationDateFrom)
           
 void setCreationDateTo(java.lang.String pCreationDateTo)
           
 void setCreationDateType(java.lang.String pCreationDateType)
           
 void setCustomSortDefaultField(java.lang.String pCustomSortDefaultField)
           
 void setCustomSortField(java.lang.String pCustomSortField)
           
 void setDisabledSolutionClasses(java.lang.String dss)
           
 void setDocumentFormats(java.lang.String[] pDocumentFormats)
           
 void setEventTools(atg.svc.agent.events.EventTools pEventTools)
          Sets the eventTools.
 void setExternalAudience(java.lang.String pExternalAudience)
           
 void setExternalAudienceOp(java.lang.String pExternalAudienceOp)
           
 void setFavoriteQuery(java.lang.String pFavoriteQuery)
           
 void setFieldNames(java.lang.String pFieldNames)
           
 void setFieldOperations(java.lang.String pFieldOperations)
           
 void setFieldValues(java.lang.String pFieldValues)
           
 void setFieldValues2(java.lang.String pFieldValues2)
           
 void setFireSearchMessage(boolean pFireSearchMessage)
          Sets the fireSearchMessage.
 void setFocusTopic(java.lang.String focusTopic)
           
 void setGroupByDocument(boolean pGroupByDocument)
           
 void setIgnoreCase(boolean pIgnoreCase)
           
 void setInternalAudience(java.lang.String pInternalAudience)
           
 void setInternalAudienceOp(java.lang.String pInternalAudienceOp)
           
 void setIsBrowsing(boolean pIsBrowsing)
           
 void setIsExternal(boolean pIsExternal)
           
 void setKeywordAllOfTheWords(java.lang.String pKeywordAllOfTheWords)
           
 void setKeywordAtLeastOneOfTheWords(java.lang.String pKeywordAtLeastOneOfTheWords)
           
 void setKeywordNotTheWords(java.lang.String pKeywordNotTheWords)
           
 void setKnowledgeContributeForWindow(atg.svc.search.KnowledgeQueryContext pContext)
           
 void setKnowledgeQueryContext(atg.svc.search.KnowledgeQueryContext pKnowledgeQueryContext)
           
 void setKnowledgeQueryContextBrowseForWindow(atg.svc.search.KnowledgeQueryContext pContext)
           
 void setKnowledgeQueryContextForWindow(atg.svc.search.KnowledgeQueryContext pContext)
           
 void setLanguageQuery(java.lang.String pLanguageQuery)
           
 void setLanguageResults(java.lang.String pLanguageResults)
           
 void setLastModifiedDateFrom(java.lang.String pLastModifiedDateFrom)
           
 void setLastModifiedDateTo(java.lang.String pLastModifiedDateTo)
           
 void setLastModifiedDateType(java.lang.String pLastModifiedDateType)
           
 void setLastSearch(atg.svc.search.KnowledgeQueryContext pLastSearch)
           
 void setListCreationRange(java.lang.String pListCreationRange)
           
 void setListLastModifiedRange(java.lang.String pListLastModifiedRange)
           
 void setModifiedBy(java.lang.String pModifiedBy)
           
 void setModifiedByOp(java.lang.String pModifiedByOp)
           
 void setOperation(java.lang.String pOperation)
           
 void setOwningGroup(java.lang.String pOwningGroup)
           
 void setOwningGroupOp(java.lang.String pOwningGroupOp)
           
 void setPageSize(java.lang.String pPageSize)
           
 void setProfileService(ProfileService pProfileService)
          Setter for property ProfileService
 void setQueryConstraints(java.lang.String pQueryConstraints)
           
 void setQueryId(java.lang.String pQueryId)
           
 void setQueryName(java.lang.String pQueryName)
           
 void setSearchAllTopics(java.lang.String pSearchAllTopics)
           
 void setSearchDefaultSortDirection(java.lang.String pSearchDefaultSortDirection)
           
 void setSearchDefaultSortField(java.lang.String pSearchDefaultSortField)
           
 void setSearchInfoKey(java.lang.String pSearchInfoKey)
           
 void setSearchResults(atg.svc.search.SvcSearchResults pSearchResults)
           
 void setSearchService(atg.svc.search.SearchService pSearchService)
           
 void setSearchTextInputFields(java.lang.String[] pSearchTextInputFields)
           
 void setSearchTextValues(java.lang.String[] pSearchTextValues)
           
 void setSearchType(java.lang.String pSearchType)
           
 void setShowAnswers(java.lang.String pShowAnswers)
           
 void setSolutionClasses(java.lang.String[] pSolutionClasses)
           
 void setSolutionLanguage(java.lang.String pSolutionLanguage)
           
 void setSolutionLanguageOp(java.lang.String pSolutionLanguageOp)
           
 void setSolutionMetadataService(SolutionMetadataService pSolutionMetadataService)
           
 void setSortDirection(java.lang.String pDirection)
           
 void setSortField(java.lang.String pField)
           
 void setState(java.lang.String pState)
           
 void setStateContainer(StateContainer pStateContainer)
           
 void setStatus(java.lang.String pStatus)
           
 void setStatuses(java.lang.String pStatuses)
           
 void setStatusesOp(java.lang.String pStatusesOp)
           
 void setStatusOp(java.lang.String pStatusOp)
           
 void setTitle(java.lang.String pTitle)
           
 void setTitleHasValue(java.lang.String pTitleHasValue)
           
 void setTitleMatchCase(boolean pTitleMatchCase)
           
 void setTitleOp(java.lang.String pTitleOp)
           
 void setTopics(java.lang.String[] pTopics)
           
 void setTopicService(atg.searchadmin.repository.service.TopicService pTopicService)
           
 void setTopicsOp(java.lang.String pTopicsOp)
           
 void setTreeTableId(java.lang.String pTreeTableId)
           
 void setUseAudienceConstraint(boolean pUseExternalAudienceConstraint)
           
 void setUseAuthorConstraint(boolean pUseAuthorConstraint)
           
 void setUseBestBetsConstraint(boolean pUseBestBetsConstraint)
           
 void setUseCountRelation(java.lang.String pUseCountRelation)
           
 void setUseCountValue(java.lang.String pUseCountValue)
           
 void setUseCountValue2(java.lang.String pUseCountValue2)
           
 void setUseCreationDateConstraint(boolean pUseCreationDateConstraint)
           
 void setUseDisabledSolutionClassesConstraint(boolean pUseDisabledSolutionClassesConstraint)
           
 void setUseExternalAudienceConstraint(boolean pUseExternalAudienceConstraint)
           
 void setUseFormatConstraint(boolean pUseFormatConstraint)
           
 void setUseInternalAudienceConstraint(boolean pUseInternalAudienceConstraint)
           
 void setUseKeywordConstraint(boolean pUseKeywordConstraint)
           
 void setUseLastModifiedDateConstraint(boolean pUseLastModifiedDateConstraint)
           
 void setUseModifiedByConstraint(boolean pUseModifiedByConstraint)
           
 void setUseOwningGroupConstraint(boolean pUseOwningGroupConstraint)
           
 void setUseQueryConstraint(boolean pUseQueryConstraint)
           
 void setUseResultLanguageConstraint(boolean pUseResultLanguageConstraint)
           
 void setUserOptionsService(UserOptionsService pUserOptionsService)
           
 void setUseSearchLanguageConstraint(boolean pUseSearchLanguageConstraint)
           
 void setUseSolutionLanguageConstraint(boolean pUseSolutionLanguageConstraint)
           
 void setUseStatusConstraint(boolean useStatusConstraint)
           
 void setUseTitleConstraint(boolean pUseTitleConstraint)
           
 void setUseTopicConstraint(boolean pUseTopicConstraint)
           
 void setUseTopicsConstraint(boolean pUseTopicsConstraint)
           
 void setUseUseCountConstraint(boolean pUseUseCountConstraint)
           
 void setUseViewCountConstraint(boolean pUseViewCountConstraint)
           
 void setView(View pView)
           
 void setViewCountRelation(java.lang.String pViewCountRelation)
           
 void setViewCountValue(java.lang.String pViewCountValue)
           
 void setViewCountValue2(java.lang.String pViewCountValue2)
           
protected  java.util.Calendar updateDateBasedOnRange(java.lang.String range, java.util.Calendar calendar)
           
 
Methods inherited from class atg.svc.ui.formhandlers.FrameworkBaseFormHandler
getErrorURL, getParameterMap, getParameters, handleChangeTab, handleCloseWindow, handleGetWindowTab, handleHidePanel, handleProcessPanel, handleScrollPanelTabsLeft, handleScrollPanelTabsRight, handleSelectTabbedPanel, handleShowPanel, handleToggleCell, handleTogglePanel, handleTogglePanelContent, handleTogglePanelsToTabs, handleTransform, setErrorURL, setParameterMap, setParameters
 
Methods inherited from class atg.svc.ui.formhandlers.ServiceFormHandler
handleUncheckedFormException, isLoggingUncheckedException, isRollbackTransactionOnFormError, isTransactionMarkedAsRollback, processException, processException, setLoggingUncheckedException, setRollbackTransactionOnFormError
 
Methods inherited from class atg.web.formhandlers.ApplicationFormHandler
addParameterToURLString, beforeGet, beforeSet, checkFormError, checkFormRedirect, checkFormSuccess, formHandlerBeforeGet, formHandlerBeforeSet, getRedirectDelayMS, getString, getString, getString, getSuccessURL, getUserMessagesResourceBundle, handleCancel, processException, processException, processExceptionAndLog, processExceptionAndLog, redirect, setRedirectDelayMS, setSuccessURL, setUserMessagesResourceBundle
 
Methods inherited from class atg.droplet.TransactionalFormHandler
afterSet, commitTransaction, getTransactionDemarcation, getTransactionStatus, isEnsureTransaction, isRollbackTransaction, isRollbackTransactionOnUnhandledException, setEnsureTransaction, setRollbackTransaction, setRollbackTransactionOnUnhandledException, setTransactionDemarcation
 
Methods inherited from class atg.droplet.GenericFormHandler
addFormException, addUncheckedFormException, createFormSubmissionMessage, getCancelURL, getCheckForValidSession, getFormError, getFormExceptions, getFormName, getMessagePort, getMessageSource, getMessageType, getPropertyExceptions, getSendMessages, getUncheckedFormExceptions, handleFormException, hasUncheckedFormExceptions, isDeferForwardsAndRedirects, isRestorableForm, isUseForwards, isValidSession, redirectOrForward, resetFormExceptions, setCancelURL, setCheckForValidSession, setDeferForwardsAndRedirects, setFormName, setMessagePort, setMessageSource, setMessageType, setRestorableForm, setSendMessages, setUseForwards
 
Methods inherited from class atg.droplet.EmptyFormHandler
afterGet
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
 
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface atg.svc.ui.formhandlers.TreeTableFormHandler
getParameters, setParameters
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


DEFAULT_PAGE_SIZE

public static final java.lang.String DEFAULT_PAGE_SIZE
The default page size

See Also:
Constant Field Values

ACTIVE_CONSTRAINTS

public static final java.lang.String ACTIVE_CONSTRAINTS
Key for saving active constraints in window state

See Also:
Constant Field Values

KNOWLEDGE_QUERY_CONTEXT_WINDOW_STATE_KEY

public static final java.lang.String KNOWLEDGE_QUERY_CONTEXT_WINDOW_STATE_KEY
Key for saving knowledge query context in window state

See Also:
Constant Field Values

KNOWLEDGE_QUERY_CONTEXT_QUERY_BUILDER_WINDOW_STATE_KEY

public static final java.lang.String KNOWLEDGE_QUERY_CONTEXT_QUERY_BUILDER_WINDOW_STATE_KEY
Key for saving knowledge query context in window state

See Also:
Constant Field Values

KNOWLEDGE_QUERY_CONTEXT_REVIEW_QUERY_BUILDER_WINDOW_STATE_KEY

public static final java.lang.String KNOWLEDGE_QUERY_CONTEXT_REVIEW_QUERY_BUILDER_WINDOW_STATE_KEY
Key for saving knowledge query context in window state

See Also:
Constant Field Values

KNOWLEDGE_QUERY_CONTEXT_BROWSE_BUILDER_WINDOW_STATE_KEY

public static final java.lang.String KNOWLEDGE_QUERY_CONTEXT_BROWSE_BUILDER_WINDOW_STATE_KEY
Key for saving knowledge query context in window state

See Also:
Constant Field Values

KNOWLEDGE_QUERY_CONTEXT_CONTRIBUTE_WINDOW_STATE_KEY

public static final java.lang.String KNOWLEDGE_QUERY_CONTEXT_CONTRIBUTE_WINDOW_STATE_KEY
Key for saving knowledge query context in window state

See Also:
Constant Field Values

CONSTRAINT_STATE_ACTIVE

public static final java.lang.String CONSTRAINT_STATE_ACTIVE
The constraint is active

See Also:
Constant Field Values

CONSTRAINT_STATE_INACTIVE

public static final java.lang.String CONSTRAINT_STATE_INACTIVE
The constraint was formerly active, but is now inactive

See Also:
Constant Field Values

CONSTRAINT_STATE_UNINITIALIZED

public static final java.lang.String CONSTRAINT_STATE_UNINITIALIZED
The constraint has never been active or inactive

See Also:
Constant Field Values

LAST_SEARCH_INFO_KEY

public static final java.lang.String LAST_SEARCH_INFO_KEY
The search info key for the most recent search

See Also:
Constant Field Values

SEARCH_INFO_KEYS

public static final java.lang.String SEARCH_INFO_KEYS
The search info keys for the current session

See Also:
Constant Field Values

CONSTRAINT_TYPE_CREATION_DATE

public static final java.lang.String CONSTRAINT_TYPE_CREATION_DATE
Used by the UI to get type codes

See Also:
Constant Field Values

CONSTRAINT_TYPE_FAVORITE_QUERY

public static final java.lang.String CONSTRAINT_TYPE_FAVORITE_QUERY
See Also:
Constant Field Values

CONSTRAINT_TYPE_FORMAT

public static final java.lang.String CONSTRAINT_TYPE_FORMAT
See Also:
Constant Field Values

CONSTRAINT_TYPE_KEYWORD

public static final java.lang.String CONSTRAINT_TYPE_KEYWORD
See Also:
Constant Field Values

CONSTRAINT_TYPE_LAST_MODIFIED_DATE

public static final java.lang.String CONSTRAINT_TYPE_LAST_MODIFIED_DATE
See Also:
Constant Field Values

CONSTRAINT_TYPE_QUERY_LANGUAGE

public static final java.lang.String CONSTRAINT_TYPE_QUERY_LANGUAGE
See Also:
Constant Field Values

CONSTRAINT_TYPE_RESULT_LANGUAGE

public static final java.lang.String CONSTRAINT_TYPE_RESULT_LANGUAGE
See Also:
Constant Field Values

CONSTRAINT_TYPE_TOPIC

public static final java.lang.String CONSTRAINT_TYPE_TOPIC
See Also:
Constant Field Values

mKnowledgeQueryContext

protected atg.svc.search.KnowledgeQueryContext mKnowledgeQueryContext

mProfileService

protected ProfileService mProfileService

mSearchService

protected atg.svc.search.SearchService mSearchService

mSearchResults

protected atg.svc.search.SvcSearchResults mSearchResults

mTopicService

protected atg.searchadmin.repository.service.TopicService mTopicService

mSearchInfoKey

protected java.lang.String mSearchInfoKey

mPageSize

protected java.lang.String mPageSize

mActiveConstraints

protected java.util.Map mActiveConstraints

mIsBrowsing

protected boolean mIsBrowsing

mIsExternal

protected boolean mIsExternal

mSearchTextInputFields

protected java.lang.String[] mSearchTextInputFields

mSearchTextValues

protected java.lang.String[] mSearchTextValues

mFavoriteQuery

protected java.lang.String mFavoriteQuery

mTopics

protected java.lang.String[] mTopics
Array of Topic repository ids


mFocusTopic

protected java.lang.String mFocusTopic
Focus topic


mDocumentFormats

protected java.lang.String[] mDocumentFormats

mSolutionClasses

protected java.lang.String[] mSolutionClasses
Array of SolutionClass repository ids


mKeywordAllOfTheWords

protected java.lang.String mKeywordAllOfTheWords
space delimited list of keywords - all must be present. Generates a constraint like this
<all>keyword1 keyword2</all>


mKeywordAtLeastOneOfTheWords

protected java.lang.String mKeywordAtLeastOneOfTheWords
space delimited list of keywords - at least one keyword must be present. Generates a constraint like this
<any>keyword1 keyword2</any>


mKeywordNotTheWords

protected java.lang.String mKeywordNotTheWords
space delimited list of keywords - none of the keywords may be present. Generates a constraint like this
<notall>keyword1 keyword2</notall>


mSearchAllTopics

protected java.lang.String mSearchAllTopics

mShowAnswers

protected java.lang.String mShowAnswers

mQueryConstraints

protected java.lang.String mQueryConstraints

mCreationDateType

protected java.lang.String mCreationDateType

mListCreationRange

protected java.lang.String mListCreationRange

mCreationDateFrom

protected java.lang.String mCreationDateFrom

mCreationDateTo

protected java.lang.String mCreationDateTo

mLastModifiedDateType

protected java.lang.String mLastModifiedDateType

mListLastModifiedRange

protected java.lang.String mListLastModifiedRange

mLastModifiedDateFrom

protected java.lang.String mLastModifiedDateFrom

mLastModifiedDateTo

protected java.lang.String mLastModifiedDateTo

mLanguageQuery

protected java.lang.String mLanguageQuery

mLanguageResults

protected java.lang.String mLanguageResults

mStatuses

protected java.lang.String mStatuses

mStatusesOp

protected java.lang.String mStatusesOp

mAuthor

protected java.lang.String mAuthor

mAuthorOp

protected java.lang.String mAuthorOp

mModifiedBy

protected java.lang.String mModifiedBy

mModifiedByOp

protected java.lang.String mModifiedByOp

mUseCountRelation

protected java.lang.String mUseCountRelation

mUseCountValue

protected java.lang.String mUseCountValue

mUseCountValue2

protected java.lang.String mUseCountValue2

mViewCountRelation

protected java.lang.String mViewCountRelation

mViewCountValue

protected java.lang.String mViewCountValue

mViewCountValue2

protected java.lang.String mViewCountValue2

mTopicsOp

protected java.lang.String mTopicsOp

mInternalAudience

protected java.lang.String mInternalAudience

mInternalAudienceOp

protected java.lang.String mInternalAudienceOp

mExternalAudience

protected java.lang.String mExternalAudience

mExternalAudienceOp

protected java.lang.String mExternalAudienceOp

mSolutionLanguage

protected java.lang.String mSolutionLanguage

mSolutionLanguageOp

protected java.lang.String mSolutionLanguageOp

mBestBets

protected boolean mBestBets

mTitle

protected java.lang.String mTitle

mTitleHasValue

protected java.lang.String mTitleHasValue

mTitleMatchCase

protected boolean mTitleMatchCase

mTitleOp

protected java.lang.String mTitleOp

mFieldNames

protected java.lang.String mFieldNames

mFieldOperations

protected java.lang.String mFieldOperations

mFieldValues

protected java.lang.String mFieldValues

mFieldValues2

protected java.lang.String mFieldValues2

mQueryId

protected java.lang.String mQueryId

mUseStatusConstraint

protected boolean mUseStatusConstraint

mQueryName

protected java.lang.String mQueryName

mOwningGroup

protected java.lang.String mOwningGroup

mOwningGroupOp

protected java.lang.String mOwningGroupOp

mUseOwningGroupConstraint

protected boolean mUseOwningGroupConstraint

mUseAuthorConstraint

protected boolean mUseAuthorConstraint

mUseModifiedByConstraint

protected boolean mUseModifiedByConstraint

mUseBestBetsConstraint

protected boolean mUseBestBetsConstraint

mUseUseCountConstraint

protected boolean mUseUseCountConstraint

mUseViewCountConstraint

protected boolean mUseViewCountConstraint

mUseTopicsConstraint

protected boolean mUseTopicsConstraint

mUseInternalAudienceConstraint

protected boolean mUseInternalAudienceConstraint

mUseExternalAudienceConstraint

protected boolean mUseExternalAudienceConstraint

mUseSolutionLanguageConstraint

protected boolean mUseSolutionLanguageConstraint

mUseTitleConstraint

protected boolean mUseTitleConstraint

mUseQueryConstraint

protected boolean mUseQueryConstraint

mUseKeywordConstraint

protected boolean mUseKeywordConstraint

mUseTopicConstraint

protected boolean mUseTopicConstraint

mUseFormatConstraint

protected boolean mUseFormatConstraint

mUseCreationDateConstraint

protected boolean mUseCreationDateConstraint

mUseLastModifiedDateConstraint

protected boolean mUseLastModifiedDateConstraint

mUseSearchLanguageConstraint

protected boolean mUseSearchLanguageConstraint

mUseResultLanguageConstraint

protected boolean mUseResultLanguageConstraint

SEARCH_QUERY_BUILDER

public static java.lang.String SEARCH_QUERY_BUILDER

SEARCH_QUERY_REVIEW_BUILDER

public static java.lang.String SEARCH_QUERY_REVIEW_BUILDER

SEARCH_TASK_QUERY

public static java.lang.String SEARCH_TASK_QUERY

mDisabledSolutionClasses

protected java.lang.String mDisabledSolutionClasses

mUseDisabledSolutionClassesConstraint

protected boolean mUseDisabledSolutionClassesConstraint

mGroupByDocument

protected java.lang.Boolean mGroupByDocument
The property for display the results Individually or Grouped By Document. For agent : Grouped By Document is default (???) so initializing it as true For SS: depends on the UI option passed in


mOperation

protected java.lang.String mOperation
The current tree table operation, e.g. sort, page, etc.


mState

protected java.lang.String mState
The serialized tree table state for client state only.


mStateContainer

protected StateContainer mStateContainer
The tree table state container object.


mTreeTableId

protected java.lang.String mTreeTableId
The unique identifier of the presentation layer element in which to display the results.


mView

protected View mView
Describes the current view of the results.


mViewItems

protected java.util.List mViewItems
The current view of the results.


mTotalSize

protected int mTotalSize
The total number of results.


mSortField

protected java.lang.String mSortField
The current sort criteria.


mSortDirection

protected java.lang.String mSortDirection

mCustomSortField

protected java.lang.String mCustomSortField

mCustomSortDefaultField

protected java.lang.String mCustomSortDefaultField
Constructor Detail

SearchBaseFormHandler

public SearchBaseFormHandler()
Method Detail

getConstraintStateActive

public java.lang.String getConstraintStateActive()

getConstraintStateInactive

public java.lang.String getConstraintStateInactive()

getConstraintStateUninitialized

public java.lang.String getConstraintStateUninitialized()

getCreationDateConstraintType

public java.lang.String getCreationDateConstraintType()

getFavoriteQueryConstraintType

public java.lang.String getFavoriteQueryConstraintType()

getFormatConstraintType

public java.lang.String getFormatConstraintType()

getKeywordConstraintType

public java.lang.String getKeywordConstraintType()

getLastModifiedDateConstraintType

public java.lang.String getLastModifiedDateConstraintType()

getQueryLanguageConstraintType

public java.lang.String getQueryLanguageConstraintType()

getResultLanguageConstraintType

public java.lang.String getResultLanguageConstraintType()

getTopicConstraintType

public java.lang.String getTopicConstraintType()

getIsCreationDateConstraintInitialized

public boolean getIsCreationDateConstraintInitialized()

getIsFavoriteQueryConstraintInitialized

public boolean getIsFavoriteQueryConstraintInitialized()

getIsFormatConstraintInitialized

public boolean getIsFormatConstraintInitialized()

getIsKeywordConstraintInitialized

public boolean getIsKeywordConstraintInitialized()

getIsLastModifiedDateConstraintInitialized

public boolean getIsLastModifiedDateConstraintInitialized()

getIsQueryLanguageConstraintInitialized

public boolean getIsQueryLanguageConstraintInitialized()

getIsResultLanguageConstraintInitialized

public boolean getIsResultLanguageConstraintInitialized()

getIsTopicConstraintInitialized

public boolean getIsTopicConstraintInitialized()

getIsCreationDateConstraintActive

public boolean getIsCreationDateConstraintActive()

getIsFavoriteQueryConstraintActive

public boolean getIsFavoriteQueryConstraintActive()

getIsFormatConstraintActive

public boolean getIsFormatConstraintActive()

getIsKeywordConstraintActive

public boolean getIsKeywordConstraintActive()

getIsLastModifiedDateConstraintActive

public boolean getIsLastModifiedDateConstraintActive()

getIsQueryLanguageConstraintActive

public boolean getIsQueryLanguageConstraintActive()

getIsResultLanguageConstraintActive

public boolean getIsResultLanguageConstraintActive()

getIsTopicConstraintActive

public boolean getIsTopicConstraintActive()

getHasActiveConstraints

public boolean getHasActiveConstraints()

getSearchInfoKey

public java.lang.String getSearchInfoKey()

setSearchInfoKey

public void setSearchInfoKey(java.lang.String pSearchInfoKey)

getPageSize

public java.lang.String getPageSize()

setPageSize

public void setPageSize(java.lang.String pPageSize)

setActiveConstraints

public void setActiveConstraints(java.util.Map pActiveConstraints)

getActiveConstraints

public java.util.Map getActiveConstraints()

setIsBrowsing

public void setIsBrowsing(boolean pIsBrowsing)

getIsBrowsing

public boolean getIsBrowsing()

setIsExternal

public void setIsExternal(boolean pIsExternal)

getIsExternal

public boolean getIsExternal()

getHasSearchTextInputFields

public boolean getHasSearchTextInputFields()

setSearchTextInputFields

public void setSearchTextInputFields(java.lang.String[] pSearchTextInputFields)

getSearchTextInputFields

public java.lang.String[] getSearchTextInputFields()

getHasSearchTextValues

public boolean getHasSearchTextValues()

setSearchTextValues

public void setSearchTextValues(java.lang.String[] pSearchTextValues)

getSearchTextValues

public java.lang.String[] getSearchTextValues()

setFavoriteQuery

public void setFavoriteQuery(java.lang.String pFavoriteQuery)

getFavoriteQuery

public java.lang.String getFavoriteQuery()

getHasTopics

public boolean getHasTopics()

setTopics

public void setTopics(java.lang.String[] pTopics)

getTopics

public java.lang.String[] getTopics()

getFocusTopic

public java.lang.String getFocusTopic()

setFocusTopic

public void setFocusTopic(java.lang.String focusTopic)

getHasDocumentFormats

public boolean getHasDocumentFormats()

setDocumentFormats

public void setDocumentFormats(java.lang.String[] pDocumentFormats)

getDocumentFormats

public java.lang.String[] getDocumentFormats()

getHasSolutionClasses

public boolean getHasSolutionClasses()

setSolutionClasses

public void setSolutionClasses(java.lang.String[] pSolutionClasses)

getSolutionClasses

public java.lang.String[] getSolutionClasses()

getHasKeywords

protected boolean getHasKeywords()

setKeywordAllOfTheWords

public void setKeywordAllOfTheWords(java.lang.String pKeywordAllOfTheWords)

getKeywordAllOfTheWords

public java.lang.String getKeywordAllOfTheWords()

setKeywordAtLeastOneOfTheWords

public void setKeywordAtLeastOneOfTheWords(java.lang.String pKeywordAtLeastOneOfTheWords)

getKeywordAtLeastOneOfTheWords

public java.lang.String getKeywordAtLeastOneOfTheWords()

setKeywordNotTheWords

public void setKeywordNotTheWords(java.lang.String pKeywordNotTheWords)

getKeywordNotTheWords

public java.lang.String getKeywordNotTheWords()

getSearchType

public java.lang.String getSearchType()

setSearchType

public void setSearchType(java.lang.String pSearchType)

setSearchAllTopics

public void setSearchAllTopics(java.lang.String pSearchAllTopics)

getSearchAllTopics

public java.lang.String getSearchAllTopics()

setShowAnswers

public void setShowAnswers(java.lang.String pShowAnswers)

getShowAnswers

public java.lang.String getShowAnswers()

setQueryConstraints

public void setQueryConstraints(java.lang.String pQueryConstraints)

getQueryConstraints

public java.lang.String getQueryConstraints()

setCreationDateType

public void setCreationDateType(java.lang.String pCreationDateType)

getCreationDateType

public java.lang.String getCreationDateType()

setListCreationRange

public void setListCreationRange(java.lang.String pListCreationRange)

getListCreationRange

public java.lang.String getListCreationRange()

setCreationDateFrom

public void setCreationDateFrom(java.lang.String pCreationDateFrom)

getCreationDateFrom

public java.lang.String getCreationDateFrom()

setCreationDateTo

public void setCreationDateTo(java.lang.String pCreationDateTo)

getCreationDateTo

public java.lang.String getCreationDateTo()

setLastModifiedDateType

public void setLastModifiedDateType(java.lang.String pLastModifiedDateType)

getLastModifiedDateType

public java.lang.String getLastModifiedDateType()

setListLastModifiedRange

public void setListLastModifiedRange(java.lang.String pListLastModifiedRange)

getListLastModifiedRange

public java.lang.String getListLastModifiedRange()

setLastModifiedDateFrom

public void setLastModifiedDateFrom(java.lang.String pLastModifiedDateFrom)

getLastModifiedDateFrom

public java.lang.String getLastModifiedDateFrom()

setLastModifiedDateTo

public void setLastModifiedDateTo(java.lang.String pLastModifiedDateTo)

getLastModifiedDateTo

public java.lang.String getLastModifiedDateTo()

setLanguageQuery

public void setLanguageQuery(java.lang.String pLanguageQuery)

getLanguageQuery

public java.lang.String getLanguageQuery()

setLanguageResults

public void setLanguageResults(java.lang.String pLanguageResults)

getLanguageResults

public java.lang.String getLanguageResults()

setUseQueryConstraint

public void setUseQueryConstraint(boolean pUseQueryConstraint)

getUseQueryConstraint

public boolean getUseQueryConstraint()

setUseKeywordConstraint

public void setUseKeywordConstraint(boolean pUseKeywordConstraint)

getUseKeywordConstraint

public boolean getUseKeywordConstraint()

setUseTopicConstraint

public void setUseTopicConstraint(boolean pUseTopicConstraint)

getUseTopicConstraint

public boolean getUseTopicConstraint()

setUseFormatConstraint

public void setUseFormatConstraint(boolean pUseFormatConstraint)

getUseFormatConstraint

public boolean getUseFormatConstraint()

setUseCreationDateConstraint

public void setUseCreationDateConstraint(boolean pUseCreationDateConstraint)

getUseCreationDateConstraint

public boolean getUseCreationDateConstraint()

setUseLastModifiedDateConstraint

public void setUseLastModifiedDateConstraint(boolean pUseLastModifiedDateConstraint)

getUseLastModifiedDateConstraint

public boolean getUseLastModifiedDateConstraint()

setUseSearchLanguageConstraint

public void setUseSearchLanguageConstraint(boolean pUseSearchLanguageConstraint)

getUseSearchLanguageConstraint

public boolean getUseSearchLanguageConstraint()

setUseResultLanguageConstraint

public void setUseResultLanguageConstraint(boolean pUseResultLanguageConstraint)

getUseResultLanguageConstraint

public boolean getUseResultLanguageConstraint()

getAuthorOp

public java.lang.String getAuthorOp()

setAuthorOp

public void setAuthorOp(java.lang.String pAuthorOp)

getModifiedByOp

public java.lang.String getModifiedByOp()

setModifiedByOp

public void setModifiedByOp(java.lang.String pModifiedByOp)

getStatuses

public java.lang.String getStatuses()

setStatuses

public void setStatuses(java.lang.String pStatuses)

getStatusesOp

public java.lang.String getStatusesOp()

setStatusesOp

public void setStatusesOp(java.lang.String pStatusesOp)

getAuthor

public java.lang.String getAuthor()

setAuthor

public void setAuthor(java.lang.String pAuthor)

getModifiedBy

public java.lang.String getModifiedBy()

setModifiedBy

public void setModifiedBy(java.lang.String pModifiedBy)

getUseCountRelation

public java.lang.String getUseCountRelation()

setUseCountRelation

public void setUseCountRelation(java.lang.String pUseCountRelation)

getUseCountValue

public java.lang.String getUseCountValue()

setUseCountValue

public void setUseCountValue(java.lang.String pUseCountValue)

getUseCountValue2

public java.lang.String getUseCountValue2()

setUseCountValue2

public void setUseCountValue2(java.lang.String pUseCountValue2)

getViewCountRelation

public java.lang.String getViewCountRelation()

setViewCountRelation

public void setViewCountRelation(java.lang.String pViewCountRelation)

getViewCountValue

public java.lang.String getViewCountValue()

setViewCountValue

public void setViewCountValue(java.lang.String pViewCountValue)

getViewCountValue2

public java.lang.String getViewCountValue2()

setViewCountValue2

public void setViewCountValue2(java.lang.String pViewCountValue2)

getTopicsOp

public java.lang.String getTopicsOp()

setTopicsOp

public void setTopicsOp(java.lang.String pTopicsOp)

getInternalAudience

public java.lang.String getInternalAudience()

setInternalAudience

public void setInternalAudience(java.lang.String pInternalAudience)

getInternalAudienceOp

public java.lang.String getInternalAudienceOp()

setInternalAudienceOp

public void setInternalAudienceOp(java.lang.String pInternalAudienceOp)

getExternalAudience

public java.lang.String getExternalAudience()

setExternalAudience

public void setExternalAudience(java.lang.String pExternalAudience)

getAudience

public java.lang.String getAudience()
duplicating externalAudience because of solution indexing right now uses audience field

Returns:
external audience

setAudience

public void setAudience(java.lang.String pExternalAudience)
Parameters:
pExternalAudience - external audience id

getExternalAudienceOp

public java.lang.String getExternalAudienceOp()

setExternalAudienceOp

public void setExternalAudienceOp(java.lang.String pExternalAudienceOp)

getAudienceOp

public java.lang.String getAudienceOp()
duplicating externalAudience because of solution indexing right now uses audience field


setAudienceOp

public void setAudienceOp(java.lang.String pExternalAudienceOp)

getSolutionLanguage

public java.lang.String getSolutionLanguage()

setSolutionLanguage

public void setSolutionLanguage(java.lang.String pSolutionLanguage)

getSolutionLanguageOp

public java.lang.String getSolutionLanguageOp()

setSolutionLanguageOp

public void setSolutionLanguageOp(java.lang.String pSolutionLanguageOp)

isBestBets

public boolean isBestBets()

setBestBets

public void setBestBets(boolean pBestBets)

getDisabledSolutionClasses

public java.lang.String getDisabledSolutionClasses()

setDisabledSolutionClasses

public void setDisabledSolutionClasses(java.lang.String dss)

getDisabledSolutionClassesOp

public java.lang.String getDisabledSolutionClassesOp()

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String pTitle)

getTitleHasValue

public java.lang.String getTitleHasValue()

setTitleHasValue

public void setTitleHasValue(java.lang.String pTitleHasValue)

isTitleMatchCase

public boolean isTitleMatchCase()

setTitleMatchCase

public void setTitleMatchCase(boolean pTitleMatchCase)

getTitleOp

public java.lang.String getTitleOp()

setTitleOp

public void setTitleOp(java.lang.String pTitleOp)

getFieldNames

public java.lang.String getFieldNames()

setFieldNames

public void setFieldNames(java.lang.String pFieldNames)

getFieldOperations

public java.lang.String getFieldOperations()

setFieldOperations

public void setFieldOperations(java.lang.String pFieldOperations)

getFieldValues

public java.lang.String getFieldValues()

setFieldValues

public void setFieldValues(java.lang.String pFieldValues)

getFieldValues2

public java.lang.String getFieldValues2()

setFieldValues2

public void setFieldValues2(java.lang.String pFieldValues2)

getStatus

public java.lang.String getStatus()

setStatus

public void setStatus(java.lang.String pStatus)

getStatusOp

public java.lang.String getStatusOp()

setStatusOp

public void setStatusOp(java.lang.String pStatusOp)

isUseStatusConstraint

public boolean isUseStatusConstraint()

setUseStatusConstraint

public void setUseStatusConstraint(boolean useStatusConstraint)

getOwningGroup

public java.lang.String getOwningGroup()

setOwningGroup

public void setOwningGroup(java.lang.String pOwningGroup)

getOwningGroupOp

public java.lang.String getOwningGroupOp()

setOwningGroupOp

public void setOwningGroupOp(java.lang.String pOwningGroupOp)

isUseOwningGroupConstraint

public boolean isUseOwningGroupConstraint()

setUseOwningGroupConstraint

public void setUseOwningGroupConstraint(boolean pUseOwningGroupConstraint)

isUseAuthorConstraint

public boolean isUseAuthorConstraint()

setUseAuthorConstraint

public void setUseAuthorConstraint(boolean pUseAuthorConstraint)

isUseModifiedByConstraint

public boolean isUseModifiedByConstraint()

setUseModifiedByConstraint

public void setUseModifiedByConstraint(boolean pUseModifiedByConstraint)

isUseBestBetsConstraint

public boolean isUseBestBetsConstraint()

setUseBestBetsConstraint

public void setUseBestBetsConstraint(boolean pUseBestBetsConstraint)

isUseUseCountConstraint

public boolean isUseUseCountConstraint()

setUseUseCountConstraint

public void setUseUseCountConstraint(boolean pUseUseCountConstraint)

isUseViewCountConstraint

public boolean isUseViewCountConstraint()

setUseViewCountConstraint

public void setUseViewCountConstraint(boolean pUseViewCountConstraint)

isUseTopicsConstraint

public boolean isUseTopicsConstraint()

setUseTopicsConstraint

public void setUseTopicsConstraint(boolean pUseTopicsConstraint)

isUseInternalAudienceConstraint

public boolean isUseInternalAudienceConstraint()

setUseInternalAudienceConstraint

public void setUseInternalAudienceConstraint(boolean pUseInternalAudienceConstraint)

isUseExternalAudienceConstraint

public boolean isUseExternalAudienceConstraint()

setUseExternalAudienceConstraint

public void setUseExternalAudienceConstraint(boolean pUseExternalAudienceConstraint)

isUseAudienceConstraint

public boolean isUseAudienceConstraint()
duplicating externalAudience because of solution indexing right now uses audience field


setUseAudienceConstraint

public void setUseAudienceConstraint(boolean pUseExternalAudienceConstraint)

isUseSolutionLanguageConstraint

public boolean isUseSolutionLanguageConstraint()

setUseSolutionLanguageConstraint

public void setUseSolutionLanguageConstraint(boolean pUseSolutionLanguageConstraint)

isUseTitleConstraint

public boolean isUseTitleConstraint()

setUseTitleConstraint

public void setUseTitleConstraint(boolean pUseTitleConstraint)

setQueryId

public void setQueryId(java.lang.String pQueryId)

getQueryId

public java.lang.String getQueryId()

getQueryName

public java.lang.String getQueryName()

setQueryName

public void setQueryName(java.lang.String pQueryName)

isUseDisabledSolutionClassesConstraint

public boolean isUseDisabledSolutionClassesConstraint()

setUseDisabledSolutionClassesConstraint

public void setUseDisabledSolutionClassesConstraint(boolean pUseDisabledSolutionClassesConstraint)

getSolutionMetadataService

public SolutionMetadataService getSolutionMetadataService()

setSolutionMetadataService

public void setSolutionMetadataService(SolutionMetadataService pSolutionMetadataService)

getFieldDefinition

public atg.svc.repository.beans.FieldDefinition getFieldDefinition(java.lang.String pFieldId)
                                                            throws ObjectNotFoundException
Returns field definition of Solution Class-Specific Constraints

Parameters:
pFieldId - String of field's id
Returns:
FieldDefinition object
Throws:
ObjectNotFoundException - in case if object doesn't exist

setKnowledgeQueryContext

public void setKnowledgeQueryContext(atg.svc.search.KnowledgeQueryContext pKnowledgeQueryContext)

getKnowledgeQueryContext

public atg.svc.search.KnowledgeQueryContext getKnowledgeQueryContext()

saveSearchInfo

public void saveSearchInfo(atg.svc.search.SearchInfo pSearchInfo)

restoreSearchInfo

public atg.svc.search.SearchInfo restoreSearchInfo()

setSearchResults

public void setSearchResults(atg.svc.search.SvcSearchResults pSearchResults)

getSearchResults

public atg.svc.search.SvcSearchResults getSearchResults()

getUserOptionsService

public UserOptionsService getUserOptionsService()

setUserOptionsService

public void setUserOptionsService(UserOptionsService pUserOptionsService)

getBrowseDefaultSortDirection

public java.lang.String getBrowseDefaultSortDirection()

setBrowseDefaultSortDirection

public void setBrowseDefaultSortDirection(java.lang.String pBrowseDefaultSortDirection)

getBrowseDefaultSortField

public java.lang.String getBrowseDefaultSortField()

setBrowseDefaultSortField

public void setBrowseDefaultSortField(java.lang.String pBrowseDefaultSortField)

getSearchDefaultSortDirection

public java.lang.String getSearchDefaultSortDirection()

setSearchDefaultSortDirection

public void setSearchDefaultSortDirection(java.lang.String pSearchDefaultSortDirection)

getSearchDefaultSortField

public java.lang.String getSearchDefaultSortField()

setSearchDefaultSortField

public void setSearchDefaultSortField(java.lang.String pSearchDefaultSortField)

isFireSearchMessage

public boolean isFireSearchMessage()
Returns the fireSearchMessage.

Returns:
fireSearchMessage

setFireSearchMessage

public void setFireSearchMessage(boolean pFireSearchMessage)
Sets the fireSearchMessage.

Parameters:
pFireSearchMessage -

getEventTools

public atg.svc.agent.events.EventTools getEventTools()
Returns the eventTools.

Returns:
eventTools

setEventTools

public void setEventTools(atg.svc.agent.events.EventTools pEventTools)
Sets the eventTools.

Parameters:
pEventTools -

setAdvancedConstraintsAsXml

public void setAdvancedConstraintsAsXml(java.lang.String pAdvancedConstraintsAsXml)
Defines a DocumentSetConstraint that is applied to both unstructured documents and solutions. The xml string is converted into an XmlDocumentSetConstraint. See "Query Constraints" section in chapter 10 of the Search Query Guide reference for details about the XML constraint syntax.

Parameters:
pAdvancedConstraintsAsXml - An xml string that defines a document set constraint that will be applied to a search query.
See Also:
DocumentSetConstraint, XmlDocumentSetConstraint

getAdvancedConstraintsAsXml

public java.lang.String getAdvancedConstraintsAsXml()
get AdvancedConstraintsAsXml

Returns:
the AdvancedConstraintsAsXml

setAdvancedNonSolutionConstraintsAsXml

public void setAdvancedNonSolutionConstraintsAsXml(java.lang.String pAdvancedNonSolutionConstraintsAsXml)
Defines a DocumentSetConstraint that is applied only to non solutions (i.e. unstructured documents). The xml string is converted into an XmlDocumentSetConstraint. See "Query Constraints" section in chapter 10 of the Search Query Guide reference for details about the XML constraint syntax.

Parameters:
pAdvancedNonSolutionConstraintsAsXml - An xml string that defines a document set constraint that will be applied to a search query.
See Also:
DocumentSetConstraint, XmlDocumentSetConstraint

getAdvancedNonSolutionConstraintsAsXml

public java.lang.String getAdvancedNonSolutionConstraintsAsXml()
get AdvancedNonSolutionConstraintsAsXml

Returns:
the AdvancedNonSolutionConstraintsAsXml

setAdvancedSolutionConstraintsAsXml

public void setAdvancedSolutionConstraintsAsXml(java.lang.String pAdvancedSolutionConstraintsAsXml)
Defines a DocumentSetConstraint that is applied only to solutions. The xml string is converted into an XmlDocumentSetConstraint. See "Query Constraints" section in chapter 10 of the Search Query Guide reference for details about the XML constraint syntax.

Parameters:
pAdvancedSolutionConstraintsAsXml - An xml string that defines a document set constraint that will be applied to a search query.
See Also:
DocumentSetConstraint, XmlDocumentSetConstraint

getAdvancedSolutionConstraintsAsXml

public java.lang.String getAdvancedSolutionConstraintsAsXml()
get AdvancedSolutionConstraintsAsXml

Returns:
the AdvancedSolutionConstraintsAsXml

setGroupByDocument

public void setGroupByDocument(boolean pGroupByDocument)

getGroupByDocument

public boolean getGroupByDocument()

getProfileService

public ProfileService getProfileService()
Getter for property ProfileService

Returns:
mProfileService

setProfileService

public void setProfileService(ProfileService pProfileService)
Setter for property ProfileService

Parameters:
pProfileService - ProfileService

setSearchService

public void setSearchService(atg.svc.search.SearchService pSearchService)

getSearchService

public atg.svc.search.SearchService getSearchService()

setTopicService

public void setTopicService(atg.searchadmin.repository.service.TopicService pTopicService)

getTopicService

public atg.searchadmin.repository.service.TopicService getTopicService()

setOperation

public void setOperation(java.lang.String pOperation)
Specified by:
setOperation in interface TreeTableFormHandler

getOperation

public java.lang.String getOperation()
Specified by:
getOperation in interface TreeTableFormHandler

setState

public void setState(java.lang.String pState)
Specified by:
setState in interface TreeTableFormHandler

getState

public java.lang.String getState()
Specified by:
getState in interface TreeTableFormHandler

setStateContainer

public void setStateContainer(StateContainer pStateContainer)

getStateContainer

public StateContainer getStateContainer()

setTreeTableId

public void setTreeTableId(java.lang.String pTreeTableId)
Specified by:
setTreeTableId in interface TreeTableFormHandler

getTreeTableId

public java.lang.String getTreeTableId()
Specified by:
getTreeTableId in interface TreeTableFormHandler

setView

public void setView(View pView)
Specified by:
setView in interface TreeTableFormHandler

getView

public View getView()
Specified by:
getView in interface TreeTableFormHandler

getViewItemCount

public int getViewItemCount()
Specified by:
getViewItemCount in interface Listable

getViewItems

public java.util.List getViewItems()
Specified by:
getViewItems in interface Listable

getTotalItemCount

public int getTotalItemCount()
Specified by:
getTotalItemCount in interface Listable

page

public abstract void page(int pStartIndex,
                          int pPageSize)
Specified by:
page in interface Pageable

setIgnoreCase

public void setIgnoreCase(boolean pIgnoreCase)
Specified by:
setIgnoreCase in interface Sortable

setSortDirection

public void setSortDirection(java.lang.String pDirection)
Specified by:
setSortDirection in interface Sortable

setSortField

public void setSortField(java.lang.String pField)
Specified by:
setSortField in interface Sortable

getSortField

public java.lang.String getSortField()

setCustomSortField

public void setCustomSortField(java.lang.String pCustomSortField)

setCustomSortDefaultField

public void setCustomSortDefaultField(java.lang.String pCustomSortDefaultField)

getKnowledgeQueryContextForWindow

public atg.svc.search.KnowledgeQueryContext getKnowledgeQueryContextForWindow()

setKnowledgeQueryContextForWindow

public void setKnowledgeQueryContextForWindow(atg.svc.search.KnowledgeQueryContext pContext)

setLastSearch

public void setLastSearch(atg.svc.search.KnowledgeQueryContext pLastSearch)

getKnowledgeQueryContextBrowseForWindow

public atg.svc.search.KnowledgeQueryContext getKnowledgeQueryContextBrowseForWindow()

setKnowledgeQueryContextBrowseForWindow

public void setKnowledgeQueryContextBrowseForWindow(atg.svc.search.KnowledgeQueryContext pContext)

getKnowledgeContributeForWindow

public atg.svc.search.KnowledgeQueryContext getKnowledgeContributeForWindow()

setKnowledgeContributeForWindow

public void setKnowledgeContributeForWindow(atg.svc.search.KnowledgeQueryContext pContext)

addDateModifiedMinPredicate

protected void addDateModifiedMinPredicate(java.util.Date pDateModify)

addDateCreatedMinPredicate

protected void addDateCreatedMinPredicate(java.util.Date pDateCreated)

getIsConstraintTypeActive

protected boolean getIsConstraintTypeActive(java.lang.String pConstraintType)

getIsConstraintTypeInitialized

protected boolean getIsConstraintTypeInitialized(java.lang.String pConstraintType)

formHandlerInit

protected void formHandlerInit(atg.servlet.DynamoHttpServletRequest pRequest,
                               atg.servlet.DynamoHttpServletResponse pResponse)
Overrides:
formHandlerInit in class FrameworkBaseFormHandler

initializeActiveConstraints

protected void initializeActiveConstraints()

initializeCreationDateConstraint

protected void initializeCreationDateConstraint(boolean pReplacePredicates)

initializeDocumentFormats

protected void initializeDocumentFormats(boolean pReplacePredicates)

initializeKeywords

protected void initializeKeywords(boolean pReplacePredicates)

initializeAdvancedConstriants

protected void initializeAdvancedConstriants()
initialize the advanced constraints


initializeKnowledgeQueryContext

protected void initializeKnowledgeQueryContext(boolean pReplacePredicates)
                                        throws ObjectNotFoundException
Throws:
ObjectNotFoundException

initializeQueryLanguage

protected void initializeQueryLanguage(boolean pReplacePredicates)

initializeResultLanguage

protected void initializeResultLanguage(boolean pReplacePredicates)

initializeLastModifiedDate

protected void initializeLastModifiedDate(boolean pReplacePredicates)

initializeSolutionClasses

protected void initializeSolutionClasses(boolean pReplacePredicates)

initializeTopics

protected void initializeTopics(boolean pReplacePredicates)

initializeFavoriteQuery

protected void initializeFavoriteQuery(boolean pIsSearch)

initializeFocusTopic

protected void initializeFocusTopic()

updateDateBasedOnRange

protected java.util.Calendar updateDateBasedOnRange(java.lang.String range,
                                                    java.util.Calendar calendar)