Package org.eclipse.emf.cdo.server.spi.security

# Klasse HomeFolderHandler

java.lang.Object
org.eclipse.emf.cdo.server.spi.security.HomeFolderHandler

Alle implementierten Schnittstellen:
  `InternalSecurityManager.CommitHandler`, `InternalSecurityManager.CommitHandler2`, `org.eclipse.net4j.util.concurrent.IExecutorServiceProvider`

public class HomeFolderHandler extends Object implements InternalSecurityManager.CommitHandler2, org.eclipse.net4j.util.concurrent.IExecutorServiceProvider
If the meaning of this type isn't clear, there really should be more of a description here...

Seit:
  4.3
Autor:
  Eike Stepper

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Klasse
Beschreibung
`static class`
`HomeFolderHandler.Factory`
Creates `InternalSecurityManager.CommitHandler` instances.

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.emf.cdo.server.spi.security.InternalSecurityManager.CommitHandler2

`InternalSecurityManager.CommitHandler2.WithUser`

## Feldübersicht

Felder
Modifizierer und Typ
Feld
Beschreibung
`static final String`
`DEFAULT_HOME_FOLDER`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`HomeFolderHandler()`
`HomeFolderHandler(String homeFolder)`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`ExecutorService`
`getExecutorService()`
`String`
`getHomeFolder()`
`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 void`
`handleUser(CDOTransaction transaction, Realm realm, Role role, User user)`
`protected void`
`handleUsers(InternalSecurityManager securityManager, List<String> userIDs, boolean init)`
`void`
`init(InternalSecurityManager securityManager, boolean firstTime)`
`protected void`
`initRole(Role role)`
`void`
`setExecutorService(ExecutorService executorService)`
`String`
`toString()`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

## Felddetails

### DEFAULT_HOME_FOLDER

public static final String DEFAULT_HOME_FOLDER

Siehe auch:
  - Konstantenfeldwerte

## Konstruktordetails

### HomeFolderHandler

public HomeFolderHandler(String homeFolder)

### HomeFolderHandler

public HomeFolderHandler()

## Methodendetails

### getHomeFolder

public String getHomeFolder()

### getExecutorService

public ExecutorService getExecutorService()

Angegeben von:
  `getExecutorService` in Schnittstelle `org.eclipse.net4j.util.concurrent.IExecutorServiceProvider`

### setExecutorService

public void setExecutorService(ExecutorService executorService)

### init

public void init(InternalSecurityManager securityManager, boolean firstTime)

Angegeben von:
  `init` in Schnittstelle `InternalSecurityManager.CommitHandler`

### initRole

protected void initRole(Role role)

### handleCommit

public void handleCommit(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext, User user)
Beschreibung aus Schnittstelle kopiert: `InternalSecurityManager.CommitHandler`
Called before the commit is security checked and passed to the repository.

Angegeben von:
  `handleCommit` in Schnittstelle `InternalSecurityManager.CommitHandler`
Parameter:
  `user` - the committing user or `null` if this commit is `triggered` by the system.
Siehe auch:
  - `InternalSecurityManager.CommitHandler2`

### handleCommitted

public void handleCommitted(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext)
Beschreibung aus Schnittstelle kopiert: `InternalSecurityManager.CommitHandler2`
Called after the commit has succeeded.

Angegeben von:
  `handleCommitted` in Schnittstelle `InternalSecurityManager.CommitHandler2`

### handleUsers

protected void handleUsers(InternalSecurityManager securityManager, List<String> userIDs, boolean init)

### handleUser

protected void handleUser(CDOTransaction transaction, Realm realm, Role role, User user) throws Exception

Löst aus:
  `Exception`

### toString

public String toString()

Setzt außer Kraft:
  `toString` in Klasse `Object`