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.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

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
buildManager, CONFIRM, cookieCutter, dashboardCachingManager
 
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, doDefault, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getAsPreformattedText, getBamboo, getBambooLicenseManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getInstanceName, getReturnUrl, getSecuredDomainObject, getSessionUser, getTotalErrors, getUser, getWebFragmentsContextMap, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, hasAnyErrors, hasBuilds, hasGlobalPermission, hasPlanPermission, hasPlanPermission, isEnableSignup, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfiguration, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildManager, setCookieCutter, setDashboardCachingManager, setErrorMessages, setHtmlUtils, setReturnUrl, setWebInterfaceManager, setWebResourceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, 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 © 2008 Atlassian Pty Ltd. All Rights Reserved.