info.magnolia.module.delta
Class RemoveDuplicatePermissionTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.module.delta.RemoveDuplicatePermissionTask
All Implemented Interfaces:
Task

public class RemoveDuplicatePermissionTask
extends AbstractRepositoryTask

A task to find and remove duplicate permission from a role and a workspace.


Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
DO_NOTHING
 
Constructor Summary
RemoveDuplicatePermissionTask(String roleName, String aclNodeWorkspaceName)
           
RemoveDuplicatePermissionTask(String taskName, String taskDescription, String roleName, String aclNodeWorkspaceName)
           
 
Method Summary
protected  void doExecute(InstallContext ctx)
           
 
Methods inherited from class info.magnolia.module.delta.AbstractRepositoryTask
execute
 
Methods inherited from class info.magnolia.module.delta.AbstractTask
getDescription, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoveDuplicatePermissionTask

public RemoveDuplicatePermissionTask(String roleName,
                                     String aclNodeWorkspaceName)

RemoveDuplicatePermissionTask

public RemoveDuplicatePermissionTask(String taskName,
                                     String taskDescription,
                                     String roleName,
                                     String aclNodeWorkspaceName)
Method Detail

doExecute

protected void doExecute(InstallContext ctx)
                  throws javax.jcr.RepositoryException,
                         TaskExecutionException
Specified by:
doExecute in class AbstractRepositoryTask
Throws:
javax.jcr.RepositoryException
TaskExecutionException


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.