atg.svc.ui.formhandlers
Class RecentTicketsFormHandler

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.RecentTicketsFormHandler
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

@Service(requiredProperties={"ticketingManager","profileService"})
public class RecentTicketsFormHandler
extends FrameworkBaseFormHandler

Form handler for performing operations like adding, deleting records for Recent Tickets


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
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
RecentTicketsFormHandler()
           
 
Method Summary
 FrameworkProfileService getProfileService()
           
 java.lang.String getRecentTicketId()
          Id of the atg.svc.repositoy.beans.RecentTickets item
 java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTickets()
          Collection of RecentTickets items.
 atg.svc.ticketing.TicketDetails getTicketDetails(java.lang.String pTicketId)
           
 java.lang.String getTicketId()
          Id of the ticket repository item in the TicketingRepository
 atg.ticketing.TicketingManager getTicketingManager()
          Class version string
 java.lang.String getType()
           
 java.lang.String getUserId()
           
 boolean handleAddToRecentTicket(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method is called when the user performs an action that inserts a record that corresponds to a specified method @ param DynamoHttpServletRequest @ param DynamoHttpServletResponse
 boolean handleRemoveRecentTicket(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method is called when the user performs an action that deletes a record that corresponds to a specified recentTicketId @ param DynamoHttpServletRequest @ param DynamoHttpServletResponse
 boolean handleViewRecentTickets(atg.servlet.DynamoHttpServletRequest pRequest, atg.servlet.DynamoHttpServletResponse pResponse)
          This method is called when the user performs an action for viewing records either for recent Tickets Worker or Viewed @ param DynamoHttpServletRequest @ param DynamoHttpServletResponse
 void setProfileService(FrameworkProfileService pProfileService)
           
 void setRecentTicketId(java.lang.String pRecentTicketId)
          Id of the atg.svc.repositoy.beans.RecentTickets item
 void setTicketId(java.lang.String pTicketId)
          Id of the ticket repository item in the TicketingRepository
 void setTicketingManager(atg.ticketing.TicketingManager pTicketingManager)
           
 void setType(java.lang.String pType)
           
 void setUserId(java.lang.String pUserId)
           
 
Methods inherited from class atg.svc.ui.formhandlers.FrameworkBaseFormHandler
formHandlerInit, 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, getDefaultLocale, getRedirectDelayMS, getString, getString, getString, getSuccessURL, getUserLocale, getUserMessagesResourceBundle, handleCancel, isUseRequestLocale, processException, processException, processExceptionAndLog, processExceptionAndLog, redirect, setDefaultLocale, setRedirectDelayMS, setSuccessURL, setUseRequestLocale, 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, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
 
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

RecentTicketsFormHandler

public RecentTicketsFormHandler()
Method Detail

getTicketingManager

public atg.ticketing.TicketingManager getTicketingManager()
Class version string


setTicketingManager

public void setTicketingManager(atg.ticketing.TicketingManager pTicketingManager)

getProfileService

public FrameworkProfileService getProfileService()
Returns:
mProfileService ProfileService

setProfileService

public void setProfileService(FrameworkProfileService pProfileService)
See Also:
ProfileService

getRecentTickets

public java.util.Collection<atg.svc.repository.beans.RecentTickets> getRecentTickets()
Collection of RecentTickets items. If no RecentTickets set in form data (mRecentTickets is null), uses the recent tickets worked list.

See Also:
FrameworkProfileService.getRecentTicketsWorked()

getRecentTicketId

public java.lang.String getRecentTicketId()
Id of the atg.svc.repositoy.beans.RecentTickets item


setRecentTicketId

public void setRecentTicketId(java.lang.String pRecentTicketId)
Id of the atg.svc.repositoy.beans.RecentTickets item


getTicketId

public java.lang.String getTicketId()
Id of the ticket repository item in the TicketingRepository


setTicketId

public void setTicketId(java.lang.String pTicketId)
Id of the ticket repository item in the TicketingRepository


getType

public java.lang.String getType()

setType

public void setType(java.lang.String pType)

getUserId

public java.lang.String getUserId()

setUserId

public void setUserId(java.lang.String pUserId)

handleAddToRecentTicket

public boolean handleAddToRecentTicket(atg.servlet.DynamoHttpServletRequest pRequest,
                                       atg.servlet.DynamoHttpServletResponse pResponse)
                                throws java.lang.Exception
This method is called when the user performs an action that inserts a record that corresponds to a specified method @ param DynamoHttpServletRequest @ param DynamoHttpServletResponse

Throws:
java.lang.Exception

handleRemoveRecentTicket

public boolean handleRemoveRecentTicket(atg.servlet.DynamoHttpServletRequest pRequest,
                                        atg.servlet.DynamoHttpServletResponse pResponse)
                                 throws java.lang.Exception
This method is called when the user performs an action that deletes a record that corresponds to a specified recentTicketId @ param DynamoHttpServletRequest @ param DynamoHttpServletResponse

Throws:
java.lang.Exception

handleViewRecentTickets

public boolean handleViewRecentTickets(atg.servlet.DynamoHttpServletRequest pRequest,
                                       atg.servlet.DynamoHttpServletResponse pResponse)
                                throws java.lang.Exception
This method is called when the user performs an action for viewing records either for recent Tickets Worker or Viewed @ param DynamoHttpServletRequest @ param DynamoHttpServletResponse

Throws:
java.lang.Exception

getTicketDetails

public atg.svc.ticketing.TicketDetails getTicketDetails(java.lang.String pTicketId)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception