public class UserPickerBrowser extends AbstractBrowser
JiraWebActionSupport.MessageTypeI18nHelper.BeanFactoryErrorCollection.Reason| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_USERS |
static int |
ASSIGNABLE |
paramsattachmentManagerprojectManagerISSUE_NOT_FOUND_RESULT, log, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT| Constructor and Description |
|---|
UserPickerBrowser(EmailFormatter emailFormatter,
FieldConfigManager fieldConfigManager,
GroupManager groupManager,
PermissionManager permissionManager,
UserFilterManager userFilterManager,
UserSearchService userSearchService,
JiraWebResourceManager jiraWebResourceManager,
ApplicationProperties applicationProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
doExecute() |
List |
getBrowsableItems() |
List |
getCurrentPage()
Return the current 'page' of issues (given max and start) for the current filter
|
String |
getDisplayEmail(String email) |
String |
getElement()
Get the name of the element for the value to be returned to
|
boolean |
getEmailColumnVisible() |
Long |
getFieldConfigId() |
UserPickerFilter |
getFilter() |
String |
getFormName()
Get the name of the calling form
|
Collection |
getGroups() |
PagerFilter |
getPager() |
boolean |
getPermission() |
String |
getPreviouslySelected() |
Collection<Long> |
getProjectIds() |
String |
getTriggerEvent()
Get the name of the event to be triggered
|
Collection |
getUsers()
Convenience method to use from JSP's to access total number of users
|
boolean |
isMultiSelect() |
void |
resetPager() |
void |
setElement(String element)
Set the name of the element for the value to be returned to
|
void |
setFieldConfigId(Long fieldConfigId) |
void |
setFormName(String formName)
Set the name of the calling form
|
void |
setMultiSelect(boolean isMultiSelect) |
void |
setPreviouslySelected(String previouslySelected) |
void |
setTriggerEvent(String triggerEvent)
Set the name of the calling form
|
boolean |
wasPreviouslySelected(ApplicationUser user) |
getMaxValues, getNiceEnd, getNiceStart, getSingleParam, setParameters, setStartaddIssueToHistory, getAttachmentManager, getCurrentDateTimeInUsersTimezone, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getFormToken, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setFormToken, setSearchRequest, setSelectedIssueId, updateSearchRequestgetBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProjectaddError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, addMessageToResponse, addReason, addReasons, 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, urlEncodeaddError, addErrorMessage, doDefault, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddError, addErrorMessage, setErrorMessagespublic static final int ALL_USERS
public static final int ASSIGNABLE
public UserPickerBrowser(EmailFormatter emailFormatter, FieldConfigManager fieldConfigManager, GroupManager groupManager, PermissionManager permissionManager, UserFilterManager userFilterManager, UserSearchService userSearchService, JiraWebResourceManager jiraWebResourceManager, ApplicationProperties applicationProperties)
protected String doExecute() throws Exception
doExecute in class webwork.action.ActionSupportExceptionpublic PagerFilter getPager()
getPager in class AbstractBrowserpublic void resetPager()
resetPager in class AbstractBrowserpublic UserPickerFilter getFilter()
public List getCurrentPage()
getCurrentPage in class AbstractBrowserpublic List getBrowsableItems()
getBrowsableItems in class AbstractBrowserpublic Collection getGroups()
public Collection getUsers()
public String getFormName()
public void setFormName(String formName)
formName - form namepublic String getTriggerEvent()
public void setTriggerEvent(String triggerEvent)
triggerEvent - event to be triggered on submitpublic String getElement()
public void setElement(String element)
element - the name of the element for the value to be returned topublic boolean getPermission()
public boolean isMultiSelect()
public void setMultiSelect(boolean isMultiSelect)
public boolean getEmailColumnVisible()
public String getPreviouslySelected()
public void setPreviouslySelected(String previouslySelected)
public boolean wasPreviouslySelected(ApplicationUser user)
public Long getFieldConfigId()
public void setFieldConfigId(Long fieldConfigId)
public Collection<Long> getProjectIds()
Copyright © 2002-2023 Atlassian. All Rights Reserved.