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
Constructor Summary |
RemovePermissionTask(java.lang.String taskName,
java.lang.String taskDescription,
java.lang.String roleName,
java.lang.String workspaceName,
java.lang.String pathToRemove,
long permission)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RemovePermissionTask
public RemovePermissionTask(java.lang.String taskName,
java.lang.String taskDescription,
java.lang.String roleName,
java.lang.String workspaceName,
java.lang.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-2011 Magnolia International Ltd.. All Rights Reserved.