public class SetWritePermissionForActionsTask
extends info.magnolia.module.delta.AbstractRepositoryTask
Concretely we set the additional action availability writePermissionRequired
criterion to true
on the given actions.
Constructor and Description |
---|
SetWritePermissionForActionsTask(String actionsPath,
String... actionNames)
Instantiate a new update task to set write permission for a given set of actions.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute(info.magnolia.module.InstallContext ctx) |
public SetWritePermissionForActionsTask(String actionsPath, String... actionNames)
actionsPath
- an absolute config path to the actions node where the given actions should be updatedactionNames
- an array of action node names relative to actionsPath
which require write permissionprotected void doExecute(info.magnolia.module.InstallContext ctx) throws javax.jcr.RepositoryException, info.magnolia.module.delta.TaskExecutionException
doExecute
in class info.magnolia.module.delta.AbstractRepositoryTask
javax.jcr.RepositoryException
info.magnolia.module.delta.TaskExecutionException
Copyright © 2015 Magnolia International Ltd.. All rights reserved.