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

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

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 java.lang.String doExecute()
                              throws java.lang.Exception
Overrides:
doExecute in class webwork.action.ActionSupport
Throws:
java.lang.Exception

isCustomField

public boolean isCustomField()

getResult

public java.lang.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 java.lang.String getFieldId()

setFieldId

public void setFieldId(java.lang.String fieldId)

getEndDateDaysAgo

public java.lang.String getEndDateDaysAgo()

getDueInNext

public java.lang.String getDueInNext()

getFormName

public java.lang.String getFormName()
Get the name of the calling form

Returns:
form name

setFormName

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

Parameters:
formName - form name

getPreviousFieldName

public java.lang.String getPreviousFieldName()

setPreviousFieldName

public void setPreviousFieldName(java.lang.String previousFieldName)

getNextFieldName

public java.lang.String getNextFieldName()

setNextFieldName

public void setNextFieldName(java.lang.String nextFieldName)

getPreviousFieldValue

public java.lang.String getPreviousFieldValue()

setPreviousFieldValue

public void setPreviousFieldValue(java.lang.String previousFieldValue)

getNextFieldValue

public java.lang.String getNextFieldValue()

setNextFieldValue

public void setNextFieldValue(java.lang.String nextFieldValue)

getSelectedType

public java.lang.String getSelectedType()

getAndOverdue

public java.lang.String getAndOverdue()

setAndOverdue

public void setAndOverdue(java.lang.String andOverdue)

getStartDateDaysAgo

public java.lang.String getStartDateDaysAgo()

setStartDateDaysAgo

public void setStartDateDaysAgo(java.lang.String startDateDaysAgo)

getTimePeriods

public java.util.Collection getTimePeriods()

getFieldName

public java.lang.String getFieldName()

setFieldName

public void setFieldName(java.lang.String fieldName)


Copyright © 2002-2010 Atlassian. All Rights Reserved.