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

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

public class JiraSupportRequest
extends ViewSystemInfo

See Also:
Serialized Form

Field Summary
static String FS
           
(package private) static long MAX_FILE_SIZE
           
 
Fields inherited from class com.atlassian.jira.web.action.admin.ViewSystemInfo
dateFormatter, LOG_FILE, props, sysProps, timeFormatter
 
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(SystemInfoUtils systemInfoUtils)
           
 
Method Summary
 String doDefault()
           
protected  String doExecute()
           
protected  void doValidation()
           
 boolean getAttachlogs()
           
 boolean getAttachzipexport()
           
 String getCc()
           
 String getDescription()
           
 String getEmail()
           
 String getName()
           
 String getPhone()
           
 String getSubject()
           
protected  String getTempFileName()
           
 String getTo()
           
 boolean isHasMailServer()
           
 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 setTo(String to)
           
 
Methods inherited from class com.atlassian.jira.web.action.admin.ViewSystemInfo
doGarbageCollection, getBuildStats, getDatabaseType, getEntityEngineXmlPath, getFreeMemory, getJVMstats, getLogPath, getProps, getTotalMemory, getUsageStats, getUsedMemory
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getCalendarTranslationFilenameForLanguage, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSavedFilters, getSelectedProject, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, isHasCalendarTranslationForLanguage, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, 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, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, 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
 

Field Detail

FS

public static final String FS

MAX_FILE_SIZE

static final long MAX_FILE_SIZE
See Also:
Constant Field Values
Constructor Detail

JiraSupportRequest

public JiraSupportRequest(SystemInfoUtils systemInfoUtils)
Method Detail

doDefault

public String doDefault()
                 throws Exception
Throws:
Exception

doValidation

protected void doValidation()

doExecute

protected String doExecute()
                    throws Exception
Throws:
Exception

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

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)


Copyright © 2002-2006 Atlassian. All Rights Reserved.