com.atlassian.jira.web.action.admin
Class JiraSupportRequest

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.admin.JiraSupportRequest
All Implemented Interfaces:
ErrorCollection, I18nHelper, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class JiraSupportRequest
extends JiraWebActionSupport

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
 
Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
protected JiraSupportRequest(ExtendedSystemInfoUtils extendedSystemInfoUtil, JiraLicenseService jiraLicenseService, JiraLogLocator locator, LocaleManager localeManager)
           
  JiraSupportRequest(JiraLicenseService jiraLicenseService, JiraLogLocator locator, LocaleManager localeManager)
           
 
Method Summary
 java.lang.String doDefault()
           
protected  java.lang.String doExecute()
           
protected  void doValidation()
           
 java.util.Map getApplicationPropertiesHTML()
          For each application properties, display the key and its value.
 java.util.Set<AppliedPatchInfo> getAppliedPatches()
           
 boolean getAttachlogs()
           
 boolean getAttachzipexport()
           
 java.lang.String getCc()
           
 java.lang.String getDescription()
           
 java.lang.String getEmail()
           
 ExtendedSystemInfoUtils getExtendedSystemInfoUtils()
           
 java.lang.String getInvalidAddresses()
           
 java.lang.String getLogPath()
           
 java.lang.String getName()
           
 java.lang.String getPhone()
           
 java.lang.String getSubject()
           
 java.lang.String getSupportIssueKey()
           
 java.lang.String getSupportRequestMessage()
           
 java.util.Map getSystemPropertiesHTML()
          For each system properties, display the key and its value.
protected  java.lang.String getTempFileName()
           
 java.lang.String getTo()
           
 java.util.List<java.lang.String> getWarningMessages()
           
 boolean isHasMailServer()
           
 boolean isMailSendingDisabled()
           
 void setAttachlogs(boolean attachLogs)
           
 void setAttachzipexport(boolean attachzipexport)
           
 void setCc(java.lang.String cc)
           
 void setDescription(java.lang.String description)
           
 void setEmail(java.lang.String email)
           
 void setName(java.lang.String name)
           
 void setPhone(java.lang.String phone)
           
 void setSubject(java.lang.String subject)
           
 void setSupportIssueKey(java.lang.String supportIssueKey)
           
 void setTo(java.lang.String to)
           
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRedirect, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getDefaultResourceBundle, getDelegator, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText0, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, getCommandName, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
 

Constructor Detail

JiraSupportRequest

public JiraSupportRequest(JiraLicenseService jiraLicenseService,
                          JiraLogLocator locator,
                          LocaleManager localeManager)

JiraSupportRequest

protected JiraSupportRequest(ExtendedSystemInfoUtils extendedSystemInfoUtil,
                             JiraLicenseService jiraLicenseService,
                             JiraLogLocator locator,
                             LocaleManager localeManager)
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Overrides:
doDefault in class webwork.action.ActionSupport
Throws:
java.lang.Exception

doValidation

protected void doValidation()
Overrides:
doValidation in class webwork.action.ActionSupport

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Overrides:
doExecute in class webwork.action.ActionSupport
Throws:
java.lang.Exception

getTempFileName

protected java.lang.String getTempFileName()
                                    throws java.io.IOException
Throws:
java.io.IOException

getSupportRequestMessage

public java.lang.String getSupportRequestMessage()

getTo

public java.lang.String getTo()

setTo

public void setTo(java.lang.String to)

getCc

public java.lang.String getCc()

setCc

public void setCc(java.lang.String cc)

setSubject

public void setSubject(java.lang.String subject)

getSubject

public java.lang.String getSubject()

getAttachzipexport

public boolean getAttachzipexport()

isMailSendingDisabled

public boolean isMailSendingDisabled()

isHasMailServer

public boolean isHasMailServer()

setAttachzipexport

public void setAttachzipexport(boolean attachzipexport)

getAttachlogs

public boolean getAttachlogs()

setAttachlogs

public void setAttachlogs(boolean attachLogs)

getLogPath

public java.lang.String getLogPath()

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getEmail

public java.lang.String getEmail()

setEmail

public void setEmail(java.lang.String email)

getPhone

public java.lang.String getPhone()

setPhone

public void setPhone(java.lang.String phone)

getSupportIssueKey

public java.lang.String getSupportIssueKey()

setSupportIssueKey

public void setSupportIssueKey(java.lang.String supportIssueKey)

getInvalidAddresses

public java.lang.String getInvalidAddresses()

getApplicationPropertiesHTML

public java.util.Map getApplicationPropertiesHTML()
For each application properties, display the key and its value. If the value is a path, then break the paths at semi colons ';' (For non-windows operatin systems, breaks on colon ':' as well). The break is accomplished by adding the HTML <br> tag.

Returns:
Map of system property keys to its value

getSystemPropertiesHTML

public java.util.Map getSystemPropertiesHTML()
For each system properties, display the key and its value. If the value is a path, then break the paths at semi colons ';' (For non-windows operatin systems, breaks on colon ':' as well). The break is accomplished by adding the HTML <br> tag.

Returns:
Map of system property keys to its value

getExtendedSystemInfoUtils

public ExtendedSystemInfoUtils getExtendedSystemInfoUtils()

getWarningMessages

public java.util.List<java.lang.String> getWarningMessages()

getAppliedPatches

public java.util.Set<AppliedPatchInfo> getAppliedPatches()


Copyright © 2002-2010 Atlassian. All Rights Reserved.