public class EditCrowdApplication extends JiraWebActionSupport
Modifier and Type | Class and Description |
---|---|
protected static class |
EditCrowdApplication.RemoteAddressifyFn
Creates a RemoteAddress from a String.
|
protected static class |
EditCrowdApplication.StringifyFn
Creates a String from a RemoteAddress.
|
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
Modifier and Type | Field and Description |
---|---|
static String |
REMOTE_ADDR_SEP
Separator character used for the remote address text area.
|
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
Constructor and Description |
---|
EditCrowdApplication(JaacsService jaacsService,
I18nHelper.BeanFactory i18nFactory,
JiraAuthenticationContext jiraAuthenticationContext) |
Modifier and Type | Method and Description |
---|---|
String |
doCreate()
Creates a new Crowd application.
|
String |
doDelete() |
protected String |
doExecute() |
String |
doUpdate()
Updates an existing Crowd application.
|
String |
getCancelAction() |
String |
getHelpTextKey() |
Long |
getId() |
String |
getName() |
String |
getPasswordDescriptionKey() |
String |
getRemoteAddresses() |
String |
getSubmitAction() |
String |
getTitleTextKey() |
protected I18nHelper |
i18n() |
protected boolean |
isCreate()
Returns true if this is the create action.
|
protected String |
redirect(String defaultUrl,
String... params)
Redirects to the Crowd application list page.
|
protected Set<com.atlassian.crowd.model.application.RemoteAddress> |
remoteAddressify(String stringifiedRemoteAddresses)
Builds a Set of RemoteAddress objects from the stringified version.
|
void |
setCredential(String credential) |
void |
setId(Long id) |
void |
setName(String name) |
void |
setRemoteAddresses(String remoteAddresses) |
protected String |
stringify(Set<com.atlassian.crowd.model.application.RemoteAddress> remoteAddresses)
Returns a string representation for the given set of remote addresses.
|
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
addError, addErrorMessage, doDefault, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
public static final String REMOTE_ADDR_SEP
public EditCrowdApplication(JaacsService jaacsService, I18nHelper.BeanFactory i18nFactory, JiraAuthenticationContext jiraAuthenticationContext)
protected String doExecute() throws Exception
doExecute
in class webwork.action.ActionSupport
Exception
public String doCreate()
public String doUpdate()
public String getTitleTextKey()
public String getPasswordDescriptionKey()
public String getHelpTextKey()
public String getSubmitAction()
public String getCancelAction()
public Long getId()
public void setId(Long id)
public String getName()
public void setName(String name)
public void setCredential(String credential)
public String getRemoteAddresses()
public void setRemoteAddresses(String remoteAddresses)
protected boolean isCreate()
protected String redirect(String defaultUrl, String... params)
params
- the URL parameters to append to the URLprotected I18nHelper i18n()
protected String stringify(Set<com.atlassian.crowd.model.application.RemoteAddress> remoteAddresses)
REMOTE_ADDR_SEP
as the separator character.remoteAddresses
- a set of RemoteAddressremoteAddressify(String)
protected Set<com.atlassian.crowd.model.application.RemoteAddress> remoteAddressify(String stringifiedRemoteAddresses)
REMOTE_ADDR_SEP
as the separator character.stringifiedRemoteAddresses
- a String representing a set of RemoteAddressstringify(java.util.Set)
Copyright © 2002-2019 Atlassian. All Rights Reserved.