public abstract static class InternalSecurityManager.CommitHandler2.WithUser extends Object implements InternalSecurityManager.CommitHandler2
InternalSecurityManager.CommitHandler2.WithUser
InternalSecurityManager.CommitHandler.Factory
Constructor and Description |
---|
WithUser() |
Modifier and Type | Method and Description |
---|---|
void |
handleCommit(InternalSecurityManager securityManager,
IStoreAccessor.CommitContext commitContext,
User user)
Called before the commit is security checked and passed to the repository.
|
void |
handleCommitted(InternalSecurityManager securityManager,
IStoreAccessor.CommitContext commitContext)
Called after the commit has succeeded.
|
protected abstract void |
handleCommitted(InternalSecurityManager securityManager,
IStoreAccessor.CommitContext commitContext,
User user) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
public void handleCommit(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext, User user)
InternalSecurityManager.CommitHandler
handleCommit
in interface InternalSecurityManager.CommitHandler
user
- the committing user or null
if this commit is
triggered
by the system.InternalSecurityManager.CommitHandler2
public void handleCommitted(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext)
InternalSecurityManager.CommitHandler2
handleCommitted
in interface InternalSecurityManager.CommitHandler2
protected abstract void handleCommitted(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext, User user)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html