public class UserPickerBrowser extends AbstractBrowser
JiraWebActionSupport.MessageType
I18nHelper.BeanFactory
ErrorCollection.Reason
Modifier and Type | Field and Description |
---|---|
static int |
ALL_USERS |
static int |
ASSIGNABLE |
params
attachmentManager
projectManager
ISSUE_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, 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, 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 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.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 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-2024 Atlassian. All Rights Reserved.