org.olat.group.ui
Class BusinessGroupFormController
java.lang.Object
org.olat.core.gui.control.DefaultController
org.olat.core.gui.control.controller.BasicController
org.olat.core.gui.components.form.flexible.impl.FormBasicController
org.olat.group.ui.BusinessGroupFormController
- All Implemented Interfaces:
- Controller, ControllerEventListener, Disposable
public class BusinessGroupFormController
- extends FormBasicController
Implements a Business group creation dialog using FlexiForms.
- Author:
- twuersch
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BusinessGroupFormController
public BusinessGroupFormController(UserRequest ureq,
WindowControl wControl,
BusinessGroup businessGroup,
boolean minMaxEnabled)
- Creates this controller.
- Parameters:
ureq - The user request.wControl - The window control.businessGroup - The group object which will be modified by this dialog.minMaxEnabled - Decides whether to limit the number of people that can enrol to a group or not
BusinessGroupFormController
public BusinessGroupFormController(UserRequest ureq,
WindowControl wControl,
BusinessGroup businessGroup,
boolean minMaxEnabled,
boolean bulkMode)
- Parameters:
ureq - wControl - businessGroup - The group object which will be modified by this dialog.minMaxEnabled - Decides whether to limit the number of people that can enrol to a group or notbulkMode - when passing group names as CSV you have to set this to true and all groups will be created at once
setGroupName
public void setGroupName(java.lang.String name)
- Parameters:
name -
getGroupDescription
public java.lang.String getGroupDescription()
- Returns:
getGroupNames
public java.util.Set<java.lang.String> getGroupNames()
- Returns:
getGroupName
public java.lang.String getGroupName()
- Returns:
getGroupMax
public java.lang.Integer getGroupMax()
- Returns:
getGroupMin
public java.lang.Integer getGroupMin()
- Returns:
setGroupNameExistsError
public void setGroupNameExistsError(java.util.Set<java.lang.String> nonexistingnames)
- Parameters:
nonexistingnames -
isAutoCloseRanksEnabled
public java.lang.Boolean isAutoCloseRanksEnabled()
- Returns:
setEnableAutoCloseRanks
public void setEnableAutoCloseRanks(java.lang.Boolean enableAutoCloseRanks)
- Parameters:
enableAutoCloseRanks -
isWaitingListEnabled
public java.lang.Boolean isWaitingListEnabled()
- Returns:
setEnableWaitingList
public void setEnableWaitingList(java.lang.Boolean enableWaitingList)
- Parameters:
enableWaitingList -
getBusinessGroup
public BusinessGroup getBusinessGroup()
- Returns: