|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.user.actions.AbstractGroupAction
com.atlassian.confluence.user.actions.RemoveGroupAction
public class RemoveGroupAction
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.user.actions.AbstractGroupAction |
---|
groups, name |
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
RemoveGroupAction()
|
Method Summary | |
---|---|
String |
doDefault()
prevents last admin group from being deleted |
String |
execute()
|
List |
getGlobalPermissionsForThisGroup()
|
com.atlassian.user.search.page.Pager |
getGroups()
|
List |
getGroupSpacePermissionsForSpace(Space space)
|
SpaceManager |
getSpaceManager()
|
List |
getSpaces()
|
com.atlassian.user.search.page.Pager |
getUsers()
Deprecated. since Confluence 3.3. It seems it hasn't been successfully used in Confluence since 2.3. See CONF-19552. Use UserAccessor.getMemberNames(Group) directly instead. |
boolean |
hasMembers()
|
void |
setConfirm(String confirm)
|
void |
setSpaceManager(SpaceManager spaceManager)
|
void |
validate()
|
Methods inherited from class com.atlassian.confluence.user.actions.AbstractGroupAction |
---|
getGroup, getName, isPermitted, setName |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoveGroupAction()
Method Detail |
---|
public void validate()
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public String doDefault() throws Exception
doDefault
in class ConfluenceActionSupport
Exception
- if something goes wrongpublic String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public List getGlobalPermissionsForThisGroup()
public List getGroupSpacePermissionsForSpace(Space space)
public List getSpaces()
public com.atlassian.user.search.page.Pager getGroups()
getGroups
in class AbstractGroupAction
public com.atlassian.user.search.page.Pager getUsers()
UserAccessor.getMemberNames(Group)
directly instead.
public boolean hasMembers()
public void setConfirm(String confirm)
public SpaceManager getSpaceManager()
public void setSpaceManager(SpaceManager spaceManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |