com.atlassian.crowd.console.action.group
Class ViewGroupMembers

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.crowd.console.action.BaseAction
          extended by com.atlassian.crowd.console.action.group.ViewGroupMembers
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, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
ViewGroupNestedPrincipals

public class ViewGroupMembers
extends BaseAction

Action to view the Principals for a given group

See Also:
Serialized Form

Field Summary
protected  DirectoryManager directoryManager
           
protected  boolean supportsNestedGroups
           
 
Fields inherited from class com.atlassian.crowd.console.action.BaseAction
actionMessageAlertColor, ALERT_BLUE, ALERT_GREEN, ALERT_RED, ALERT_YELLOW, applicationManager, crowdLicenseManager, initialLoad, propertyManager, tab
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewGroupMembers()
           
 
Method Summary
 java.lang.String execute()
           
 java.util.Collection getAllNonMemberGroups()
           
 java.lang.Long getDirectoryID()
           
 DirectoryManager getDirectoryManager()
           
 RemoteGroup getGroup()
           
protected  RemoteGroup getGroup(long dID, java.lang.String gName)
          Extracted so it can be overridden to allow the recursive group membership call.
 java.lang.String getGroupName()
           
 java.util.Collection getPrincipals()
           
 java.util.Collection getSubGroups()
           
 boolean isSupportsNestedGroups()
           
 void setDirectoryID(java.lang.Long directoryID)
           
 void setDirectoryManager(DirectoryManager directoryManager)
           
 void setGroup(RemoteGroup group)
           
 void setGroupName(java.lang.String groupName)
           
 void setPrincipals(java.util.Collection principals)
           
 void setSubGroups(java.util.Collection subGroups)
           
 
Methods inherited from class com.atlassian.crowd.console.action.BaseAction
addActionMessage, assignDefaultApplicationPermissions, containsActionMessages, containsErrorMessages, directory, doDefault, getActionMessageAlertColor, getAttribute, getBootstrapManager, getCurrentLicenseResourceTotal, getDisplayableLink, getFirstAttribute, getHttpRequest, getImageLocation, getImageTitle, getLicense, getLink, getPrincipalName, getRemotePrincipal, getSession, getSitemeshPageProperties, getSitemeshPageProperty, getTab, getWebFragmentsContextMap, getWebInterfaceManager, getWebItemsForSection, getWebSectionsForLocation, isAdmin, isAtResourceLimit, isAuthenticated, isEvaluation, isInitialLoad, isLicenseExpired, renderFreemarkerTemplate, setApplicationDirectoryPermissionDAO, setApplicationManager, setCrowdLicenseManager, setCrowdUserDetailsService, setPropertyManager, setTab, setWebInterfaceManager, updateAuthenticationStatus
 
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
 

Field Detail

directoryManager

protected DirectoryManager directoryManager

supportsNestedGroups

protected boolean supportsNestedGroups
Constructor Detail

ViewGroupMembers

public ViewGroupMembers()
Method Detail

execute

public java.lang.String execute()
Specified by:
execute in interface com.opensymphony.xwork.Action
Overrides:
execute in class com.opensymphony.xwork.ActionSupport

getGroup

protected RemoteGroup getGroup(long dID,
                               java.lang.String gName)
                        throws ObjectNotFoundException,
                               java.rmi.RemoteException
Extracted so it can be overridden to allow the recursive group membership call.

Throws:
ObjectNotFoundException
java.rmi.RemoteException

getDirectoryID

public java.lang.Long getDirectoryID()

setDirectoryID

public void setDirectoryID(java.lang.Long directoryID)

getGroupName

public java.lang.String getGroupName()

setGroupName

public void setGroupName(java.lang.String groupName)

getPrincipals

public java.util.Collection getPrincipals()

setPrincipals

public void setPrincipals(java.util.Collection principals)

getSubGroups

public java.util.Collection getSubGroups()

setSubGroups

public void setSubGroups(java.util.Collection subGroups)

getGroup

public RemoteGroup getGroup()

setGroup

public void setGroup(RemoteGroup group)

isSupportsNestedGroups

public boolean isSupportsNestedGroups()

getAllNonMemberGroups

public java.util.Collection getAllNonMemberGroups()

getDirectoryManager

public DirectoryManager getDirectoryManager()

setDirectoryManager

public void setDirectoryManager(DirectoryManager directoryManager)
Overrides:
setDirectoryManager in class BaseAction


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.