com.atlassian.crowd.console.action.pickers
Class SearchPicker

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.crowd.console.action.BaseAction
          extended by com.atlassian.crowd.console.action.AbstractBrowser
              extended by com.atlassian.crowd.console.action.pickers.SearchPicker
All Implemented Interfaces:
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, Serializable, Cloneable

public class SearchPicker
extends AbstractBrowser

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.crowd.console.action.AbstractBrowser
results, resultsPerPage, resultsStart
 
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, applicationService, clientProperties, crowdLicenseManager, directoryManager, initialLoad, logger, propertyManager, tab, tokenAuthenticationManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
SearchPicker()
           
 
Method Summary
 String getActiveFlag()
           
 Long getDirectoryID()
           
 String getEntityName()
           
 List<String> getExclusions()
           
 String getGroupMembershipsOfUser()
          Generates a collection of groups in a particular directory that the user is a member of.
 String getGroupMembersOfGroup()
          Generates a collection of groups that are members of a group in a particular directory.
 String getGroupNonMembershipsOfUser()
          Generates a collection of groups in a particular directory that the user is not a member of.
 String getGroupNonMembersOfGroup()
          Generates a collection of groups that are not members of a group in a particular directory.
 String getGroupsExcluding()
          Generates a collection of groups in a directory, removing groups that are specified as exclusions.
 String getResultEntityType()
           
 String getSearchString()
           
 String getUserMembersOfGroup()
          Generates a collection of users that are members of a group in a particular directory.
 String getUserNonMembersOfGroup()
          Generates a collection of users that are not members of a group in a particular directory.
 String getUsersExcluding()
          Generates a collection of users in a directory, removing users that are specified as exclusions.
 void setActiveFlag(String activeFlag)
           
 void setDirectoryID(Long directoryID)
           
 void setEntityName(String entityName)
           
 void setExclusions(List<String> exclusions)
           
 void setSearchString(String searchString)
           
 
Methods inherited from class com.atlassian.crowd.console.action.AbstractBrowser
getNextResultsStart, getPreviousResultsStart, getResults, getResultsPerPage, getResultsStart, setResults, setResultsPerPage, setResultsStart
 
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionMessage, authorisedToAccessCrowdAdminConsole, authorisedToAccessCrowdConsole, containsActionMessages, containsErrorMessages, directory, doDefault, getActionMessageAlertColor, getAttribute, getBootstrapManager, getCurrentLicenseResourceTotal, getDisplayableLink, getFirstAttribute, getHttpRequest, getImageLocation, getImageTitle, getLicense, getLink, getRemoteUser, getSession, getSitemeshPageProperties, getSitemeshPageProperty, getTab, getText, getText, getUserName, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, getXsrfToken, getXsrfTokenName, isAdmin, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, isSubscription, isWithinGracePeriod, renderFreemarkerTemplate, setApplicationManager, setApplicationService, setClientProperties, setCrowdLicenseManager, setCrowdUserDetailsService, setDirectoryManager, setPropertyManager, setTab, setTokenAuthenticationManager, setWebInterfaceManager, setWebResourceManager, setXsrfTokenGenerator
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, 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
 

Constructor Detail

SearchPicker

public SearchPicker()
Method Detail

getUsersExcluding

public String getUsersExcluding()
                         throws Exception
Generates a collection of users in a directory, removing users that are specified as exclusions.

Params:

Returns:
SUCCESS.
Throws:
Exception - error executing search.

getGroupsExcluding

public String getGroupsExcluding()
                          throws Exception
Generates a collection of groups in a directory, removing groups that are specified as exclusions.

Params:

Returns:
SUCCESS.
Throws:
Exception

getUserMembersOfGroup

public String getUserMembersOfGroup()
                             throws Exception
Generates a collection of users that are members of a group in a particular directory.

Params:

Returns:
SUCCESS.
Throws:
Exception - error executing search.

getUserNonMembersOfGroup

public String getUserNonMembersOfGroup()
                                throws Exception
Generates a collection of users that are not members of a group in a particular directory.

Params:

Returns:
SUCCESS.
Throws:
Exception - error executing search.

getGroupMembersOfGroup

public String getGroupMembersOfGroup()
                              throws Exception
Generates a collection of groups that are members of a group in a particular directory.

Params:

Returns:
SUCCESS.
Throws:
Exception - error executing search.

getGroupNonMembersOfGroup

public String getGroupNonMembersOfGroup()
                                 throws Exception
Generates a collection of groups that are not members of a group in a particular directory.

Params:

Returns:
SUCCESS.
Throws:
Exception - error executing search.

getGroupMembershipsOfUser

public String getGroupMembershipsOfUser()
                                 throws Exception
Generates a collection of groups in a particular directory that the user is a member of.

Params:

Returns:
SUCCESS.
Throws:
Exception - error executing search.

getGroupNonMembershipsOfUser

public String getGroupNonMembershipsOfUser()
                                    throws Exception
Generates a collection of groups in a particular directory that the user is not a member of.

Params:

Returns:
SUCCESS.
Throws:
Exception - error executing search.

getDirectoryID

public Long getDirectoryID()

setDirectoryID

public void setDirectoryID(Long directoryID)

getEntityName

public String getEntityName()

setEntityName

public void setEntityName(String entityName)

getExclusions

public List<String> getExclusions()

setExclusions

public void setExclusions(List<String> exclusions)

getResultEntityType

public String getResultEntityType()

getSearchString

public String getSearchString()

setSearchString

public void setSearchString(String searchString)

getActiveFlag

public String getActiveFlag()

setActiveFlag

public void setActiveFlag(String activeFlag)


Copyright © 2012 Atlassian. All Rights Reserved.