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
definition, field, item
Constructor and Description |
---|
WebAccessFieldFactory(WebAccessFieldDefinition definition,
com.vaadin.v7.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.v7.data.Item relatedFieldItem,
UiContext uiContext,
I18NAuthoringSupport i18nAuthoringSupport,
info.magnolia.i18nsystem.SimpleTranslator i18n) |
Modifier and Type | Method and Description |
---|---|
protected com.vaadin.v7.ui.Field<AccessControlList> |
createFieldComponent()
Implemented by subclasses to create and initialize the Vaadin Field instance to use.
|
protected com.vaadin.v7.data.Property<AccessControlList> |
initializeProperty()
Initialize the property used as field's Datasource.
If no Transformer is configure to the field definition, use the default BasicTransformer |
addAclEntryItem, getOrAddAclItem, getUniqueNodeNameForChild
createDefaultValue, createField, createTypedValue, getComponentProvider, getConfiguredDefaultValue, getDefaultFieldType, getDefinitionType, getFieldDefinition, getFieldType, getI18nBasename, getLocale, getView, initializeConverter, initializeTransformer, isMessageKey, setComponentProvider, setFieldValidatorFactoryFactory, setI18nContentSupport, setLocale, setPropertyDataSourceAndDefaultValue, setPropertyDataSourceDefaultValue
getMessage, getMessages, getParent, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessages, getParent, setParent
@Inject public WebAccessFieldFactory(WebAccessFieldDefinition definition, com.vaadin.v7.data.Item relatedFieldItem, UiContext uiContext, I18NAuthoringSupport i18nAuthoringSupport, info.magnolia.i18nsystem.SimpleTranslator i18n)
@Deprecated public WebAccessFieldFactory(WebAccessFieldDefinition definition, com.vaadin.v7.data.Item relatedFieldItem, info.magnolia.i18nsystem.SimpleTranslator i18n)
WebAccessFieldFactory(WebAccessFieldDefinition, Item, UiContext, I18NAuthoringSupport, SimpleTranslator)
instead.protected com.vaadin.v7.ui.Field<AccessControlList> createFieldComponent()
AbstractFieldFactory
createFieldComponent
in class AbstractFieldFactory<WebAccessFieldDefinition,AccessControlList>
protected com.vaadin.v7.data.Property<AccessControlList> initializeProperty()
AbstractFieldFactory
Transformer
is configure to the field definition, use the default BasicTransformer
initializeProperty
in class AbstractFieldFactory<WebAccessFieldDefinition,AccessControlList>
Copyright © 2020 Magnolia International Ltd.. All rights reserved.