info.magnolia.ui.form.field.transformer.basic
Class BCryptTransformer
java.lang.Object
info.magnolia.ui.form.field.transformer.basic.BasicTransformer<String>
info.magnolia.ui.form.field.transformer.basic.BCryptTransformer
- All Implemented Interfaces:
- info.magnolia.ui.api.i18n.I18NAwareHandler, Transformer<String>
public class BCryptTransformer
- extends BasicTransformer<String>
BasicTransformer
implementation that BCrypted (encode) the String property.
Method Summary |
void |
writeToItem(String clearPassword)
Convert the T newValue to a specific Item format.
|
Methods inherited from class info.magnolia.ui.form.field.transformer.basic.BasicTransformer |
definePropertyName, getBasePropertyName, getLocale, getOrCreateProperty, getOrCreateProperty, getRelatedFormItem, getType, hasI18NSupport, readFromItem, setI18NPropertyName, setLocale, setType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BCryptTransformer
public BCryptTransformer(com.vaadin.data.Item relatedFormItem,
ConfiguredFieldDefinition definition,
Class<String> type)
writeToItem
public void writeToItem(String clearPassword)
- Description copied from interface:
Transformer
- Convert the T newValue to a specific Item format.
- Specified by:
writeToItem
in interface Transformer<String>
- Overrides:
writeToItem
in class BasicTransformer<String>
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.