info.magnolia.module.delta
Class RemovePermissionTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.RemovePermissionTask
- All Implemented Interfaces:
- Task
public class RemovePermissionTask
- extends AbstractRepositoryTask
A task to remove a permission from a role, using RoleManager
.
Removes the permission to the given path, as well as "path/*".
- Version:
- $Id$
- Author:
- zdenekskodik
RemovePermissionTask
public RemovePermissionTask(String taskName,
String taskDescription,
String roleName,
String workspaceName,
String pathToRemove,
long permission)
doExecute
protected void doExecute(InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Specified by:
doExecute
in class AbstractRepositoryTask
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.