com.atlassian.bamboo.ww2.actions.admin.user
Class SearchUserAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.ww2.actions.admin.user.AbstractEntityPagerSupport
              extended by com.atlassian.bamboo.ww2.actions.admin.user.SearchUserAction
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
UserPickerAction

public class SearchUserAction
extends AbstractEntityPagerSupport

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
protected  java.lang.String emailTerm
           
protected  java.lang.String fullnameTerm
           
protected  java.lang.String usernameTerm
           
 
Fields inherited from class com.atlassian.bamboo.ww2.actions.admin.user.AbstractEntityPagerSupport
paginationSupport
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, bambooPermissionManager, buildDefinitionManager, buildManager, commentManager, CONFIRM, cookieCutter, dashboardCachingManager, planExecutionManager, planManager, projectManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
SearchUserAction()
           
 
Method Summary
 com.atlassian.user.search.query.Query createUserQuery(java.util.List<com.atlassian.user.search.query.TermQuery> searchTerms)
           
 java.lang.String doBrowse()
           
 java.lang.String doSearch()
           
 java.lang.String getAffectedUsername()
           
 java.lang.String getEmailTerm()
           
 ExtendedAuthorManager getExtendedAuthorManager()
           
 java.lang.String getFullnameTerm()
           
 java.util.Iterator getGroups(com.atlassian.user.User user)
           
 Author getLinkedAuthorForUser(com.atlassian.user.User user)
           
 com.atlassian.user.search.query.TermQuery getTermQuery(java.lang.String term, java.lang.Class termQueryClass)
           
 java.lang.String getUsernameTerm()
           
 boolean isExternallyManaged()
           
 void setAffectedUsername(java.lang.String affectedUsername)
           
 void setEmailTerm(java.lang.String emailTerm)
           
 void setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)
           
 void setFullnameTerm(java.lang.String fullnameTerm)
           
 void setUsernameTerm(java.lang.String usernameTerm)
           
 
Methods inherited from class com.atlassian.bamboo.ww2.actions.admin.user.AbstractEntityPagerSupport
getPaginationSupport, getStartIndex, isTryNext, setStartIndex, setTryNext
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedErrorMessages, getInstanceName, getJsonObject, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getReturnUrl, getSecuredDomainObject, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setBuildManager, setCheckBoxFields, setCommentManager, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setPlanExecutionManager, setPlanManager, setProjectManager, setReturnUrl, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Field Detail

usernameTerm

protected java.lang.String usernameTerm

fullnameTerm

protected java.lang.String fullnameTerm

emailTerm

protected java.lang.String emailTerm
Constructor Detail

SearchUserAction

public SearchUserAction()
Method Detail

doBrowse

public java.lang.String doBrowse()
                          throws java.lang.Exception
Throws:
java.lang.Exception

doSearch

public java.lang.String doSearch()
                          throws java.lang.Exception
Throws:
java.lang.Exception

getGroups

public java.util.Iterator getGroups(com.atlassian.user.User user)

getLinkedAuthorForUser

public Author getLinkedAuthorForUser(com.atlassian.user.User user)

isExternallyManaged

public boolean isExternallyManaged()

createUserQuery

public com.atlassian.user.search.query.Query createUserQuery(java.util.List<com.atlassian.user.search.query.TermQuery> searchTerms)
                                                      throws com.atlassian.user.search.query.EntityQueryException
Throws:
com.atlassian.user.search.query.EntityQueryException

getTermQuery

public com.atlassian.user.search.query.TermQuery getTermQuery(java.lang.String term,
                                                              java.lang.Class termQueryClass)
                                                       throws com.atlassian.user.search.query.EntityQueryException
Throws:
com.atlassian.user.search.query.EntityQueryException

getAffectedUsername

public java.lang.String getAffectedUsername()

setAffectedUsername

public void setAffectedUsername(java.lang.String affectedUsername)

getExtendedAuthorManager

public ExtendedAuthorManager getExtendedAuthorManager()

setExtendedAuthorManager

public void setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)

getUsernameTerm

public java.lang.String getUsernameTerm()

setUsernameTerm

public void setUsernameTerm(java.lang.String usernameTerm)

getFullnameTerm

public java.lang.String getFullnameTerm()

setFullnameTerm

public void setFullnameTerm(java.lang.String fullnameTerm)

getEmailTerm

public java.lang.String getEmailTerm()

setEmailTerm

public void setEmailTerm(java.lang.String emailTerm)


Copyright © 2010 Atlassian. All Rights Reserved.