info.magnolia.security.app.dialog.field
Class GroupManagementFieldFactory

java.lang.Object
  extended by info.magnolia.ui.form.AbstractFormItem
      extended by info.magnolia.ui.form.field.factory.AbstractFieldFactory<D,Object>
          extended by info.magnolia.ui.form.field.factory.SelectFieldFactory<TwinColSelectFieldDefinition>
              extended by info.magnolia.ui.form.field.factory.TwinColSelectFieldFactory<GroupManagementFieldDefinition>
                  extended by info.magnolia.security.app.dialog.field.GroupManagementFieldFactory
All Implemented Interfaces:
FieldFactory, FormItem

public class GroupManagementFieldFactory
extends TwinColSelectFieldFactory<GroupManagementFieldDefinition>

GUI builder for the Group Management field.


Nested Class Summary
static class GroupManagementFieldFactory.Group
          Internal bean to represent basic group data.
 
Field Summary
 
Fields inherited from class info.magnolia.ui.form.field.factory.SelectFieldFactory
select
 
Fields inherited from class info.magnolia.ui.form.field.factory.AbstractFieldFactory
definition, field, item
 
Constructor Summary
GroupManagementFieldFactory(GroupManagementFieldDefinition definition, com.vaadin.data.Item relatedFieldItem, info.magnolia.objectfactory.ComponentProvider componentProvider)
           
 
Method Summary
protected  com.vaadin.ui.AbstractSelect createFieldComponent()
          Implemented by subclasses to create and initialize the Vaadin Field instance to use.
protected  com.vaadin.ui.AbstractSelect createSelectionField()
          Used to initialize the desired subclass of AbstractSelect field component.
 List<SelectFieldOptionDefinition> getSelectFieldOptionDefinition()
          Returns the available groups with those already assigned marked selected, according to the current node.
protected  Transformer<?> initializeTransformer(Class<? extends Transformer<?>> transformerClass)
          Create a new Instance of Transformer.
 
Methods inherited from class info.magnolia.ui.form.field.factory.SelectFieldFactory
createDefaultValue, getDefinitionType, getIconResource
 
Methods inherited from class info.magnolia.ui.form.field.factory.AbstractFieldFactory
createField, getDefaultFieldType, getFieldDefinition, getFieldType, getI18nBasename, getView, setComponentProvider, setFieldValidatorFactoryFactory, setI18nContentSupport, setPropertyDataSourceAndDefaultValue, setPropertyDataSourceDefaultValue
 
Methods inherited from class info.magnolia.ui.form.AbstractFormItem
getMessage, getMessages, getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.magnolia.ui.form.FormItem
getMessages, getParent, setParent
 

Constructor Detail

GroupManagementFieldFactory

@Inject
public GroupManagementFieldFactory(GroupManagementFieldDefinition definition,
                                          com.vaadin.data.Item relatedFieldItem,
                                          info.magnolia.objectfactory.ComponentProvider componentProvider)
Method Detail

createFieldComponent

protected com.vaadin.ui.AbstractSelect createFieldComponent()
Description copied from class: AbstractFieldFactory
Implemented by subclasses to create and initialize the Vaadin Field instance to use.

Overrides:
createFieldComponent in class TwinColSelectFieldFactory<GroupManagementFieldDefinition>

createSelectionField

protected com.vaadin.ui.AbstractSelect createSelectionField()
Description copied from class: SelectFieldFactory
Used to initialize the desired subclass of AbstractSelect field component. Subclasses can override this method.

Overrides:
createSelectionField in class TwinColSelectFieldFactory<GroupManagementFieldDefinition>

getSelectFieldOptionDefinition

public List<SelectFieldOptionDefinition> getSelectFieldOptionDefinition()
Returns the available groups with those already assigned marked selected, according to the current node.

Overrides:
getSelectFieldOptionDefinition in class SelectFieldFactory<TwinColSelectFieldDefinition>

initializeTransformer

protected Transformer<?> initializeTransformer(Class<? extends Transformer<?>> transformerClass)
Create a new Instance of Transformer.

Overrides:
initializeTransformer in class TwinColSelectFieldFactory<GroupManagementFieldDefinition>


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.