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, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class JiraSupportRequest
extends JiraWebActionSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, savedFilters, selectedProject
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
  JiraSupportRequest()
           
protected JiraSupportRequest(ExtendedSystemInfoUtils extendedSystemInfoUtil)
           
 
Method Summary
 String doDefault()
           
protected  String doExecute()
           
protected  void doValidation()
           
 boolean getAttachlogs()
           
 boolean getAttachzipexport()
           
 String getCc()
           
 String getDescription()
           
 String getEmail()
           
 ExtendedSystemInfoUtils getExtendedSystemInfoUtils()
           
 String getInvalidAddresses()
           
 com.atlassian.license.License getLicense()
           
 String getName()
           
 String getPhone()
           
 String getSubject()
           
 String getSupportIssueKey()
           
 String getSupportRequestMessage()
           
 Map getSystemPropertiesHTML()
          For each system properties, display the key and its value.
protected  String getTempFileName()
           
 String getTo()
           
 boolean isHasMailServer()
           
 boolean isMailSendingDisabled()
           
 void setAttachlogs(boolean attachLogs)
           
 void setAttachzipexport(boolean attachzipexport)
           
 void setCc(String cc)
           
 void setDescription(String description)
           
 void setEmail(String email)
           
 void setName(String name)
           
 void setPhone(String phone)
           
 void setSubject(String subject)
           
 void setSupportIssueKey(String supportIssueKey)
           
 void setTo(String to)
           
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSearchSortReverseDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, isUserExists, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, 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
setCommand
 

Constructor Detail

JiraSupportRequest

public JiraSupportRequest()

JiraSupportRequest

protected JiraSupportRequest(ExtendedSystemInfoUtils extendedSystemInfoUtil)
Method Detail

doDefault

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

doValidation

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

doExecute

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

getSupportRequestMessage

public String getSupportRequestMessage()

getTempFileName

protected String getTempFileName()
                          throws IOException
Throws:
IOException

getTo

public String getTo()

setTo

public void setTo(String to)

getCc

public String getCc()

setCc

public void setCc(String cc)

setSubject

public void setSubject(String subject)

getSubject

public 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)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getName

public String getName()

setName

public void setName(String name)

getEmail

public String getEmail()

setEmail

public void setEmail(String email)

getPhone

public String getPhone()

setPhone

public void setPhone(String phone)

getSupportIssueKey

public String getSupportIssueKey()

setSupportIssueKey

public void setSupportIssueKey(String supportIssueKey)

getInvalidAddresses

public String getInvalidAddresses()

getLicense

public com.atlassian.license.License getLicense()

getSystemPropertiesHTML

public 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()


Copyright © 2002-2009 Atlassian. All Rights Reserved.