public class SaveRoleDialogAction extends 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
callback, item, validator
Constructor and Description |
---|
SaveRoleDialogAction(SaveDialogActionDefinition definition,
com.vaadin.v7.data.Item item,
EditorValidator validator,
EditorCallback callback)
Deprecated.
since 5.2.1 - use
SaveRoleDialogAction(SaveDialogActionDefinition, Item, EditorValidator, EditorCallback, SecuritySupport) instead. |
SaveRoleDialogAction(SaveDialogActionDefinition definition,
com.vaadin.v7.data.Item item,
EditorValidator validator,
EditorCallback callback,
info.magnolia.cms.security.SecuritySupport securitySupport) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the action.
|
protected boolean |
validateForm()
Override this function to make sure all previous errors are clean before calling validate.
|
setNodeName
getDefinition
public SaveRoleDialogAction(SaveDialogActionDefinition definition, com.vaadin.v7.data.Item item, EditorValidator validator, EditorCallback callback, info.magnolia.cms.security.SecuritySupport securitySupport)
@Deprecated public SaveRoleDialogAction(SaveDialogActionDefinition definition, com.vaadin.v7.data.Item item, EditorValidator validator, EditorCallback callback)
SaveRoleDialogAction(SaveDialogActionDefinition, Item, EditorValidator, EditorCallback, SecuritySupport)
instead.public void execute() throws ActionExecutionException
Action
execute
in interface Action
execute
in class SaveDialogAction
ActionExecutionException
- if an error occurs performing the actionprotected boolean validateForm()
validateForm
in class SaveDialogAction
Copyright © 2021 Magnolia International Ltd.. All rights reserved.