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, AuthorizationSupport, 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 class com.atlassian.jira.web.action.JiraWebActionSupport
JiraWebActionSupport.MessageType
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.Reason
 
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  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
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncode
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, 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 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-2013 Atlassian. All Rights Reserved.