com.atlassian.jira.web.action.admin.user
Class UserPickerBrowser
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.ProjectActionSupport
com.atlassian.jira.web.action.IssueActionSupport
com.atlassian.jira.web.action.AbstractBrowser
com.atlassian.jira.web.action.admin.user.UserPickerBrowser
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, HttpServletVariables, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware, webwork.action.ParameterAware
public class UserPickerBrowser
- extends AbstractBrowser
- See Also:
- Serialized Form
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport |
addIssueToHistory, clearSelectedIssue, getAttachmentManager, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, 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, setSearchRequest, setSelectedIssueId, updateSearchRequest |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, 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, hasIssuePermission, hasPermission, hasProjectPermission, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncode |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, doDefault, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface webwork.action.CommandDriven |
getCommandName, setCommand |
ALL_USERS
public static final int ALL_USERS
- See Also:
- Constant Field Values
ASSIGNABLE
public static final int ASSIGNABLE
- See Also:
- Constant Field Values
UserPickerBrowser
public UserPickerBrowser(EmailFormatter emailFormatter,
GroupManager groupManager)
doExecute
protected String doExecute()
throws Exception
- Overrides:
doExecute
in class webwork.action.ActionSupport
- Throws:
Exception
getPager
public PagerFilter getPager()
- Specified by:
getPager
in class AbstractBrowser
resetPager
public void resetPager()
- Specified by:
resetPager
in class AbstractBrowser
getFilter
public UserPickerFilter getFilter()
getCurrentPage
public List getCurrentPage()
- Return the current 'page' of issues (given max and start) for the current filter
- Specified by:
getCurrentPage
in class AbstractBrowser
getBrowsableItems
public List getBrowsableItems()
- Specified by:
getBrowsableItems
in class AbstractBrowser
getGroups
public Collection getGroups()
getUsers
public Collection getUsers()
- Convenience method to use from JSP's to access total number of users
- Returns:
- a collection of browsable users
getFormName
public String getFormName()
- Get the name of the calling form
- Returns:
- form name
setFormName
public void setFormName(String formName)
- Set the name of the calling form
- Parameters:
formName
- form name
getElement
public String getElement()
- Get the name of the element for the value to be returned to
- Returns:
- the name of the element for the value to be returned to
setElement
public void setElement(String element)
- Set the name of the element for the value to be returned to
- Parameters:
element
- the name of the element for the value to be returned to
getPermission
public boolean getPermission()
isMultiSelect
public boolean isMultiSelect()
setMultiSelect
public void setMultiSelect(boolean isMultiSelect)
getEmailColumnVisible
public boolean getEmailColumnVisible()
getDisplayEmail
public String getDisplayEmail(String email)
getPreviouslySelected
public String getPreviouslySelected()
setPreviouslySelected
public void setPreviouslySelected(String previouslySelected)
wasPreviouslySelected
public boolean wasPreviouslySelected(com.atlassian.crowd.embedded.api.User user)
Copyright © 2002-2013 Atlassian. All Rights Reserved.