com.atlassian.studio.jira.web.action.project.crucible
Class NewCrucibleProjectDefaults

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.studio.jira.web.action.project.crucible.NewCrucibleProjectDefaults
All Implemented Interfaces:
ErrorCollection, I18nHelper, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class NewCrucibleProjectDefaults
extends JiraWebActionSupport

Action for specify the defaults settings that will be applied to new Crucible projects.

See Also:
Serialized Form

Nested Class Summary
 
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 webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
NewCrucibleProjectDefaults(com.atlassian.sal.api.message.I18nResolver i18nResolver, com.atlassian.applinks.core.AppLinksManager appLinksManager, com.atlassian.sal.api.net.RequestFactory requestFactory, com.atlassian.studio.host.common.ThemeProperties themeProperties)
           
 
Method Summary
 String doEdit()
           
 String doUpdate()
           
protected  void doValidation()
           
 String getDefaultReviewDays()
           
 String getText(String key)
          Called to return the formatted text of the specified i18n key or the key itself if no message can be found
 String getText(String key, String arg1)
          Called to return the formatted text of the specified i18n key or the key itself if no message can be found
 String getText(String key, String arg1, String arg2)
          Called to return the formatted text of the specified i18n key or the key itself if no message can be found
 boolean getUseModeratorAsDefaultScheme()
           
 boolean isDefaultAllowReviewersToJoin()
           
 void setDefaultAllowReviewersToJoin(boolean defaultAllowReviewersToJoin)
           
 void setDefaultReviewDays(String defaultReviewDays)
           
 void setUseModeratorAsDefaultScheme(boolean useModerator)
           
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirectChecker, 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, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doDefault, doExecute, 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

NewCrucibleProjectDefaults

public NewCrucibleProjectDefaults(com.atlassian.sal.api.message.I18nResolver i18nResolver,
                                  com.atlassian.applinks.core.AppLinksManager appLinksManager,
                                  com.atlassian.sal.api.net.RequestFactory requestFactory,
                                  com.atlassian.studio.host.common.ThemeProperties themeProperties)
Method Detail

getDefaultReviewDays

public String getDefaultReviewDays()

setDefaultReviewDays

public void setDefaultReviewDays(String defaultReviewDays)

getUseModeratorAsDefaultScheme

public boolean getUseModeratorAsDefaultScheme()

setUseModeratorAsDefaultScheme

public void setUseModeratorAsDefaultScheme(boolean useModerator)

isDefaultAllowReviewersToJoin

public boolean isDefaultAllowReviewersToJoin()

setDefaultAllowReviewersToJoin

public void setDefaultAllowReviewersToJoin(boolean defaultAllowReviewersToJoin)

doValidation

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

doEdit

public String doEdit()
              throws Exception
Throws:
Exception

doUpdate

public String doUpdate()

getText

public String getText(String key)
Description copied from interface: I18nHelper
Called to return the formatted text of the specified i18n key or the key itself if no message can be found

Specified by:
getText in interface I18nHelper
Overrides:
getText in class JiraActionSupport
Parameters:
key - the key of the i18n message
Returns:
the formatted text or the key itself if no i18n message can be found

getText

public String getText(String key,
                      String arg1)
Description copied from interface: I18nHelper
Called to return the formatted text of the specified i18n key or the key itself if no message can be found

Specified by:
getText in interface I18nHelper
Overrides:
getText in class JiraActionSupport
Parameters:
key - the key of the i18n message
arg1 - a value to be substituted into the message
Returns:
the formatted text or the key itself if no i18n message can be found

getText

public String getText(String key,
                      String arg1,
                      String arg2)
Description copied from interface: I18nHelper
Called to return the formatted text of the specified i18n key or the key itself if no message can be found

Specified by:
getText in interface I18nHelper
Overrides:
getText in class JiraActionSupport
Parameters:
key - the key of the i18n message
arg1 - a value to be substituted into the message
arg2 - a value to be substituted into the message
Returns:
the formatted text or the key itself if no i18n message can be found


Copyright © 2002-2012 Atlassian. All Rights Reserved.