com.atlassian.jira.web.action.issue.navigator
Class DateRangePicker

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.issue.navigator.DateRangePicker
All Implemented Interfaces:
ErrorCollection, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class DateRangePicker
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
DateRangePicker(JiraAuthenticationContext authenticationContext, FieldManager fieldManager)
           
 
Method Summary
protected  String doExecute()
           
protected  void doValidation()
          Performs the validation that checks that required fields are set with valid values.
 String getAndOverdue()
           
 String getDueInNext()
           
 String getEndDateDaysAgo()
           
 String getFieldId()
           
 String getFieldName()
           
 String getFormName()
          Get the name of the calling form
 String getNextFieldName()
           
 String getNextFieldValue()
           
 String getPreviousFieldName()
           
 String getPreviousFieldValue()
           
 String getResult()
          Get a definitive result.
 String getSelectedType()
           
 String getStartDateDaysAgo()
           
 Collection getTimePeriods()
           
 boolean isCustomField()
           
 void setAndOverdue(String andOverdue)
           
 void setFieldId(String fieldId)
           
 void setFieldName(String fieldName)
           
 void setFormName(String formName)
          Set the name of the calling form
 void setNextFieldName(String nextFieldName)
           
 void setNextFieldValue(String nextFieldValue)
           
 void setPreviousFieldName(String previousFieldName)
           
 void setPreviousFieldValue(String previousFieldValue)
           
 void setStartDateDaysAgo(String startDateDaysAgo)
           
 
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, 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, 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, doDefault, 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

DateRangePicker

public DateRangePicker(JiraAuthenticationContext authenticationContext,
                       FieldManager fieldManager)
Method Detail

doValidation

protected void doValidation()
Performs the validation that checks that required fields are set with valid values.

Overrides:
doValidation in class webwork.action.ActionSupport

doExecute

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

isCustomField

public boolean isCustomField()

getResult

public String getResult()
Description copied from class: JiraActionSupport
Get a definitive result. Returns Action.ERROR if there are error messages, otherwise Action.SUCCESS.

Overrides:
getResult in class JiraActionSupport
Returns:
Action.ERROR or Action.SUCCESS

getFieldId

public String getFieldId()

setFieldId

public void setFieldId(String fieldId)

getEndDateDaysAgo

public String getEndDateDaysAgo()

getDueInNext

public String getDueInNext()

getFormName

public String getFormName()
Get the name of the calling form

Returns:
form name

setFormName

public void setFormName(String formName)
Set the name of the calling form

Parameters:
formName - form name

getPreviousFieldName

public String getPreviousFieldName()

setPreviousFieldName

public void setPreviousFieldName(String previousFieldName)

getNextFieldName

public String getNextFieldName()

setNextFieldName

public void setNextFieldName(String nextFieldName)

getPreviousFieldValue

public String getPreviousFieldValue()

setPreviousFieldValue

public void setPreviousFieldValue(String previousFieldValue)

getNextFieldValue

public String getNextFieldValue()

setNextFieldValue

public void setNextFieldValue(String nextFieldValue)

getSelectedType

public String getSelectedType()

getAndOverdue

public String getAndOverdue()

setAndOverdue

public void setAndOverdue(String andOverdue)

getStartDateDaysAgo

public String getStartDateDaysAgo()

setStartDateDaysAgo

public void setStartDateDaysAgo(String startDateDaysAgo)

getTimePeriods

public Collection getTimePeriods()

getFieldName

public String getFieldName()

setFieldName

public void setFieldName(String fieldName)


Copyright © 2002-2008 Atlassian. All Rights Reserved.