public class DuplicateRoleAction
extends info.magnolia.ui.framework.action.DuplicateNodeAction
DuplicateNodeAction
extension which also updates ACL's on execution.Constructor and Description |
---|
DuplicateRoleAction(info.magnolia.ui.framework.action.DuplicateNodeActionDefinition definition,
info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter item,
info.magnolia.event.EventBus eventBus) |
Modifier and Type | Method and Description |
---|---|
protected void |
onExecute(info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter item) |
protected void |
setItemIdOfChangedItem(info.magnolia.ui.vaadin.integration.jcr.JcrItemId itemIdOfChangedItem) |
public DuplicateRoleAction(info.magnolia.ui.framework.action.DuplicateNodeActionDefinition definition, info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter item, @Named(value="admincentral") info.magnolia.event.EventBus eventBus)
protected void onExecute(info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter item) throws javax.jcr.RepositoryException
onExecute
in class info.magnolia.ui.framework.action.DuplicateNodeAction
javax.jcr.RepositoryException
protected void setItemIdOfChangedItem(info.magnolia.ui.vaadin.integration.jcr.JcrItemId itemIdOfChangedItem)
setItemIdOfChangedItem
in class info.magnolia.ui.framework.action.AbstractRepositoryAction<info.magnolia.ui.framework.action.DuplicateNodeActionDefinition>
Copyright © 2019 Magnolia International Ltd.. All rights reserved.