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