public class WebAccessFieldFactory extends AbstractAccessFieldFactory<WebAccessFieldDefinition,AccessControlList>
First, reading and saving entries from/to the role node is delegated to an AccessControlList
.
This typed ACL is then carried over as a property of the dialog item to the save action,
where it gets removed from the item, not to interfere with the JCR adapter.
WebAccessFieldDefinition
,
SaveRoleDialogAction
Type | Property and Description |
---|---|
protected com.vaadin.data.Property<AccessControlList> |
initialize
Initialize the property used as field's Datasource.
|
definition, field, item
Constructor and Description |
---|
WebAccessFieldFactory(WebAccessFieldDefinition definition,
com.vaadin.data.Item relatedFieldItem,
info.magnolia.i18nsystem.SimpleTranslator i18n)
Deprecated.
since 5.4.7 - use
WebAccessFieldFactory(WebAccessFieldDefinition, Item, UiContext, I18NAuthoringSupport, SimpleTranslator) instead. |
WebAccessFieldFactory(WebAccessFieldDefinition definition,
com.vaadin.data.Item relatedFieldItem,
UiContext uiContext,
I18NAuthoringSupport i18nAuthoringSupport,
info.magnolia.i18nsystem.SimpleTranslator i18n) |
Modifier and Type | Method and Description |
---|---|
protected com.vaadin.ui.Field<AccessControlList> |
createFieldComponent()
Implemented by subclasses to create and initialize the Vaadin Field instance to use.
|
protected com.vaadin.data.Property<AccessControlList> |
initializeProperty()
Initialize the property used as field's Datasource.
|
addAclEntryItem, getOrAddAclItem, getUniqueNodeNameForChild
createDefaultValue, createField, createTypedValue, getComponentProvider, getConfiguredDefaultValue, getDefaultFieldType, getDefinitionType, getFieldDefinition, getFieldType, getI18nBasename, getLocale, getView, initializeConverter, initializeTransformer, setComponentProvider, setFieldValidatorFactoryFactory, setI18nContentSupport, setLocale, setPropertyDataSourceAndDefaultValue, setPropertyDataSourceDefaultValue
getMessage, getMessages, getParent, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessages, getParent, setParent
protected com.vaadin.data.Property<AccessControlList> initializeProperty
initializeProperty
in class AbstractFieldFactory<WebAccessFieldDefinition,AccessControlList>
@Inject public WebAccessFieldFactory(WebAccessFieldDefinition definition, com.vaadin.data.Item relatedFieldItem, UiContext uiContext, I18NAuthoringSupport i18nAuthoringSupport, info.magnolia.i18nsystem.SimpleTranslator i18n)
@Deprecated public WebAccessFieldFactory(WebAccessFieldDefinition definition, com.vaadin.data.Item relatedFieldItem, info.magnolia.i18nsystem.SimpleTranslator i18n)
WebAccessFieldFactory(WebAccessFieldDefinition, Item, UiContext, I18NAuthoringSupport, SimpleTranslator)
instead.protected com.vaadin.ui.Field<AccessControlList> createFieldComponent()
AbstractFieldFactory
createFieldComponent
in class AbstractFieldFactory<WebAccessFieldDefinition,AccessControlList>
protected com.vaadin.data.Property<AccessControlList> initializeProperty()
AbstractFieldFactory
Transformer
is configure to the field definition, use the default BasicTransformer
initializeProperty
in class AbstractFieldFactory<WebAccessFieldDefinition,AccessControlList>
Copyright © 2016 Magnolia International Ltd.. All rights reserved.