info.magnolia.security.app.dialog.field.property
Class ManagementFieldTransformer<T>

java.lang.Object
  extended by info.magnolia.ui.form.field.transformer.basic.BasicTransformer<T>
      extended by info.magnolia.security.app.dialog.field.property.ManagementFieldTransformer<T>
Type Parameters:
T -
All Implemented Interfaces:
I18NAwareHandler, Transformer<T>

public class ManagementFieldTransformer<T>
extends BasicTransformer<T>

info.magnolia.ui.form.field.property.PropertyHandler implementation used for RoleManagementFieldFactory and GroupManagementFieldFactory.


Field Summary
 
Fields inherited from class info.magnolia.ui.form.field.transformer.basic.BasicTransformer
basePropertyName, definition, i18NPropertyName, relatedFormItem, type
 
Constructor Summary
ManagementFieldTransformer(com.vaadin.data.Item parent, ConfiguredFieldDefinition definition, Class<?> type, Set<String> assignedEntity, String entityName)
           
 
Method Summary
 T readFromItem()
          Transform a specific Item values to a specified type T.
 void writeToItem(T newValue)
          Do nothing yet.
 
Methods inherited from class info.magnolia.ui.form.field.transformer.basic.BasicTransformer
definePropertyName, getBasePropertyName, getLocale, getOrCreateProperty, getType, hasI18NSupport, setI18NPropertyName, setLocale, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagementFieldTransformer

@Inject
public ManagementFieldTransformer(com.vaadin.data.Item parent,
                                         ConfiguredFieldDefinition definition,
                                         Class<?> type,
                                         Set<String> assignedEntity,
                                         String entityName)
Method Detail

writeToItem

public void writeToItem(T newValue)
Do nothing yet. Save is currently handled by an embedded logic.

Specified by:
writeToItem in interface Transformer<T>
Overrides:
writeToItem in class BasicTransformer<T>

readFromItem

public T readFromItem()
Description copied from interface: Transformer
Transform a specific Item values to a specified type T.

Specified by:
readFromItem in interface Transformer<T>
Overrides:
readFromItem in class BasicTransformer<T>


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