public class UserPickerBrowser extends AbstractBrowser
JiraWebActionSupport.MessageType
ErrorCollection.Reason
I18nHelper.BeanFactory
Modifier and Type | Field and Description |
---|---|
static int |
ALL_USERS |
static int |
ASSIGNABLE |
params
attachmentManager
projectManager
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
Constructor and Description |
---|
UserPickerBrowser(EmailFormatter emailFormatter,
FieldConfigManager fieldConfigManager,
GroupManager groupManager,
PermissionManager permissionManager,
UserFilterManager userFilterManager,
UserSearchService userSearchService,
JiraWebResourceManager jiraWebResourceManager) |
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() |
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) |
boolean |
wasPreviouslySelected(ApplicationUser user) |
getMaxValues, getNiceEnd, getNiceStart, getSingleParam, setParameters, setStart
addIssueToHistory, 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, updateSearchRequest
getBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
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, 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 int ALL_USERS
public static final int ASSIGNABLE
public UserPickerBrowser(EmailFormatter emailFormatter, FieldConfigManager fieldConfigManager, GroupManager groupManager, PermissionManager permissionManager, UserFilterManager userFilterManager, UserSearchService userSearchService, JiraWebResourceManager jiraWebResourceManager)
protected String doExecute() throws Exception
doExecute
in class webwork.action.ActionSupport
Exception
public PagerFilter getPager()
getPager
in class AbstractBrowser
public void resetPager()
resetPager
in class AbstractBrowser
public UserPickerFilter getFilter()
public List getCurrentPage()
getCurrentPage
in class AbstractBrowser
public List getBrowsableItems()
getBrowsableItems
in class AbstractBrowser
public Collection getGroups()
public Collection getUsers()
public String getFormName()
public void setFormName(String formName)
formName
- form namepublic 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-2016 Atlassian. All Rights Reserved.