org.nuxeo.ecm.shell.commands.repository
Class RmLocalAceCommand
java.lang.Object
org.nuxeo.ecm.shell.commands.repository.AbstractCommand
org.nuxeo.ecm.shell.commands.repository.RmLocalAceCommand
- All Implemented Interfaces:
- Command
public class RmLocalAceCommand
- extends AbstractCommand
Command for removing local ace to the current document.
- Author:
- Sun Seng David TAN (a.k.a. sunix)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final Log log
RmLocalAceCommand
public RmLocalAceCommand()
run
public void run(CommandLine cmdLine)
throws Exception
- Specified by:
run
in interface Command
- Specified by:
run
in class AbstractCommand
- Throws:
Exception
removeLocalAce
protected void removeLocalAce(CoreSession session,
DocumentModel doc,
int aceindex)
throws Exception
- Remove to the document the specified ace
- Parameters:
session
- doc
- user
- permission
- grant
-
- Throws:
Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.