atg.svc.ui.formhandlers
Class TicketSearchFormHandler
java.lang.Object
atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.droplet.EmptyFormHandler
atg.droplet.GenericFormHandler
atg.droplet.TransactionalFormHandler
atg.web.formhandlers.ApplicationFormHandler
atg.svc.ui.formhandlers.ServiceFormHandler
atg.svc.ui.formhandlers.FrameworkBaseFormHandler
atg.svc.ui.formhandlers.TicketSearchFormHandler
- 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, java.util.EventListener
- Direct Known Subclasses:
- AgentTicketsSearchFormHandler
public class TicketSearchFormHandler
- extends FrameworkBaseFormHandler
Performs search for tickets.
Field Summary |
static java.lang.String |
CLASS_VERSION
Class version string |
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 |
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.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 |
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 |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
TicketSearchFormHandler
public TicketSearchFormHandler()
search
protected java.util.List search(java.util.Map pTicketQueryInfo)
buildSortDirectives
protected atg.repository.SortDirectives buildSortDirectives()
assembleSearchResults
protected java.util.List assembleSearchResults(atg.repository.RepositoryItem[] results)
handleAction
public boolean handleAction(atg.servlet.DynamoHttpServletRequest request,
atg.servlet.DynamoHttpServletResponse response)
throws java.lang.Exception
- Throws:
java.lang.Exception
saveTicketQueryContext
protected void saveTicketQueryContext(atg.servlet.DynamoHttpServletRequest request)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTicketQueryContext
protected java.util.Map<java.lang.Object,java.lang.Object> getTicketQueryContext(atg.servlet.DynamoHttpServletRequest request)
throws java.lang.Exception
- Throws:
java.lang.Exception
handleSearch
public boolean handleSearch(atg.servlet.DynamoHttpServletRequest request,
atg.servlet.DynamoHttpServletResponse response)
throws java.lang.Exception
- Throws:
java.lang.Exception
handleQuickSearch
public boolean handleQuickSearch(atg.servlet.DynamoHttpServletRequest request,
atg.servlet.DynamoHttpServletResponse response)
throws java.lang.Exception
- Throws:
java.lang.Exception
handleAdvancedSearch
public boolean handleAdvancedSearch(atg.servlet.DynamoHttpServletRequest request,
atg.servlet.DynamoHttpServletResponse response)
throws java.lang.Exception
- Throws:
java.lang.Exception
assembleQueryFromParamMap
protected atg.repository.Query assembleQueryFromParamMap()
throws atg.repository.RepositoryException,
java.text.ParseException
- Throws:
atg.repository.RepositoryException
java.text.ParseException
getTicketQueues
public java.util.List getTicketQueues()
getAllAgents
public java.util.List getAllAgents()
getCreationChannels
public java.util.List getCreationChannels()
getActivityTypes
public java.util.List getActivityTypes()
getEscalationLevels
public java.util.List getEscalationLevels()
getStatusValues
public java.util.List getStatusValues()
getStatus
public java.lang.String getStatus()
getCreationChannel
public java.lang.String getCreationChannel()
getStartingEscalationLevel
public java.lang.String getStartingEscalationLevel()
getTicketHolder
public atg.svc.ticketing.TicketHolder getTicketHolder()
setTicketHolder
public void setTicketHolder(atg.svc.ticketing.TicketHolder holder)
formHandlerInit
protected void formHandlerInit(atg.servlet.DynamoHttpServletRequest pRequest,
atg.servlet.DynamoHttpServletResponse pResponse)
- Overrides:
formHandlerInit
in class FrameworkBaseFormHandler
setTreeTableId
public void setTreeTableId(java.lang.String pTreeTableId)
getTreeTableId
public java.lang.String getTreeTableId()
setView
public void setView(View pView)
getView
public View getView()
setSortField
public void setSortField(java.lang.String pField)
setState
public void setState(java.lang.String pState)
getState
public java.lang.String getState()
getTotalItemCount
public int getTotalItemCount()
setSortDirection
public void setSortDirection(java.lang.String pDirection)
getSortDirection
public java.lang.String getSortDirection()
getViewItems
public java.util.List getViewItems()
setViewItems
public void setViewItems(java.util.List items)
getViewItemCount
public int getViewItemCount()
getManager
public atg.ticketing.TicketingManager getManager()
setManager
public void setManager(atg.ticketing.TicketingManager manager)
getProfile
public atg.userprofiling.Profile getProfile()
setProfile
public void setProfile(atg.userprofiling.Profile profile)
getProfileTools
public atg.userprofiling.ProfileTools getProfileTools()
setProfileTools
public void setProfileTools(atg.userprofiling.ProfileTools profileTools)
setUserMessagesResourceBundle
public void setUserMessagesResourceBundle(java.lang.String pUserMessagesResourceBundle)
- Overrides:
setUserMessagesResourceBundle
in class atg.web.formhandlers.ApplicationFormHandler
getCurrentPage
public int getCurrentPage()
setCurrentPage
public void setCurrentPage(int currentPage)
getResultsPerPage
public int getResultsPerPage()
setResultsPerPage
public void setResultsPerPage(int resultsPerPage)
getSortField
public java.lang.String getSortField()