public class SaveRoleDialogAction
extends info.magnolia.ui.dialog.action.SaveDialogAction
Saving of ACL entries to the role node is delegated to AccessControlLists
.
These typed ACLs are carried over from the form, as properties of the dialog item.
They get removed from the item here, not to interfere with the JCR adapter.
Other properties of the role item are saved by the regular JCR adapter.
WorkspaceAccessFieldFactory
,
WebAccessFieldFactory
Constructor and Description |
---|
SaveRoleDialogAction(info.magnolia.ui.dialog.action.SaveDialogActionDefinition definition,
com.vaadin.v7.data.Item item,
info.magnolia.ui.form.EditorValidator validator,
info.magnolia.ui.form.EditorCallback callback)
Deprecated.
since 5.2.1 - use
SaveRoleDialogAction(SaveDialogActionDefinition, Item, EditorValidator, EditorCallback, SecuritySupport) instead. |
SaveRoleDialogAction(info.magnolia.ui.dialog.action.SaveDialogActionDefinition definition,
com.vaadin.v7.data.Item item,
info.magnolia.ui.form.EditorValidator validator,
info.magnolia.ui.form.EditorCallback callback,
info.magnolia.cms.security.SecuritySupport securitySupport) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected boolean |
validateForm()
Override this function to make sure all previous errors are clean before calling validate.
|
public SaveRoleDialogAction(info.magnolia.ui.dialog.action.SaveDialogActionDefinition definition, com.vaadin.v7.data.Item item, info.magnolia.ui.form.EditorValidator validator, info.magnolia.ui.form.EditorCallback callback, info.magnolia.cms.security.SecuritySupport securitySupport)
@Deprecated public SaveRoleDialogAction(info.magnolia.ui.dialog.action.SaveDialogActionDefinition definition, com.vaadin.v7.data.Item item, info.magnolia.ui.form.EditorValidator validator, info.magnolia.ui.form.EditorCallback callback)
SaveRoleDialogAction(SaveDialogActionDefinition, Item, EditorValidator, EditorCallback, SecuritySupport)
instead.public void execute() throws info.magnolia.ui.api.action.ActionExecutionException
execute
in interface info.magnolia.ui.api.action.Action
execute
in class info.magnolia.ui.dialog.action.SaveDialogAction
info.magnolia.ui.api.action.ActionExecutionException
protected boolean validateForm()
validateForm
in class info.magnolia.ui.dialog.action.SaveDialogAction
Copyright © 2019 Magnolia International Ltd.. All rights reserved.