org.olat.course.condition
Class AttributeEasyRowAdderController

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.core.gui.control.controller.BasicController
          extended by org.olat.core.gui.components.form.flexible.impl.FormBasicController
              extended by org.olat.course.condition.AttributeEasyRowAdderController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable

public class AttributeEasyRowAdderController
extends FormBasicController

Description:
A subform that implement the shibboleth easy mode config rows.

Initial Date: 23.10.2006

Author:
Lars Eberle (BPS Bildungsportal Sachsen GmbH), Florian Gnägi (frentix GmbH)

Field Summary
 
Fields inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController
LAYOUT_CUSTOM, LAYOUT_DEFAULT, LAYOUT_HORIZONTAL, LAYOUT_VERTICAL
 
Constructor Summary
AttributeEasyRowAdderController(UserRequest ureq, WindowControl wControl, Form parentForm)
          Constructor for a shibboleth attribute rule creator form.
AttributeEasyRowAdderController(UserRequest ureq, WindowControl wControl, Form parentForm, java.lang.String[] attributes)
          Constructor for a log attribute rule creator form.
 
Method Summary
 void cleanup()
          Call this to cleanup everything
 java.util.List<ExtendedCondition> getAttributeConditions()
          Method to get a list of extended conditions represented in this form
 FormItem getFormItem()
          Get the form item that forms this subform
 boolean hasError()
          Checks if this form produces an error
 void init()
          Call this to initialize the form
 void setAttributeConditions(java.util.List<ExtendedCondition> cond)
          Method to initialize this form with the given extended conditions
 
Methods inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController
dispose, event
 
Methods inherited from class org.olat.core.gui.control.DefaultController
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeEasyRowAdderController

public AttributeEasyRowAdderController(UserRequest ureq,
                                       WindowControl wControl,
                                       Form parentForm)
Constructor for a shibboleth attribute rule creator form.

Parameters:
ureq -
wControl -
parentForm -

AttributeEasyRowAdderController

public AttributeEasyRowAdderController(UserRequest ureq,
                                       WindowControl wControl,
                                       Form parentForm,
                                       java.lang.String[] attributes)
Constructor for a log attribute rule creator form.

Parameters:
ureq -
wControl -
parentForm -
Method Detail

cleanup

public void cleanup()
Call this to cleanup everything


init

public void init()
Call this to initialize the form


getAttributeConditions

public java.util.List<ExtendedCondition> getAttributeConditions()
Method to get a list of extended conditions represented in this form

Returns:

setAttributeConditions

public void setAttributeConditions(java.util.List<ExtendedCondition> cond)
Method to initialize this form with the given extended conditions

Parameters:
cond -

hasError

public boolean hasError()
Checks if this form produces an error

Returns:
true: has an error; false: is valid

getFormItem

public FormItem getFormItem()
Get the form item that forms this subform

Returns: