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
I18nHelper.BeanFactory
ErrorCollection.Reason
Modifier and Type | Field and Description |
---|---|
static String |
REMOTE_ADDR_SEP
Separator character used for the remote address text area.
|
ISSUE_NOT_FOUND_RESULT, log, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
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, addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, addMessageToResponse, addReason, addReasons, checkIfUrlIsAllowed, execute, forceRedirect, getActionName, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getComponentInstanceOfType, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDefaultResourceBundle, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getI18nHelper, getJiraContactHelper, getJiraServiceContext, getKeysForPrefix, getLanguage, getLocale, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOfBizDelegator, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getResourceBundle, getResult, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTimeFormat, getUnescapedText, getUntransformedRawText, getUriValidator, getUserFullName, getUserManager, getUserPreferences, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasAnyErrors, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isIndexing, isInlineDialogMode, isKeyDefined, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, removeKeyOrAddError, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
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, 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-2024 Atlassian. All Rights Reserved.