Class HomeFolderHandler
- java.lang.Object
- 
- org.eclipse.emf.cdo.server.spi.security.HomeFolderHandler
 
- 
- All Implemented Interfaces:
- InternalSecurityManager.CommitHandler,- InternalSecurityManager.CommitHandler2,- org.eclipse.net4j.util.concurrent.IExecutorServiceProvider
 
 public class HomeFolderHandler extends java.lang.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...- Since:
- 4.3
- Author:
- Eike Stepper
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classHomeFolderHandler.FactoryCreatesInternalSecurityManager.CommitHandlerinstances.- 
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.server.spi.security.InternalSecurityManager.CommitHandler2InternalSecurityManager.CommitHandler2.WithUser
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static java.lang.StringDEFAULT_HOME_FOLDER
 - 
Constructor SummaryConstructors Constructor Description HomeFolderHandler()HomeFolderHandler(java.lang.String homeFolder)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.ExecutorServicegetExecutorService()java.lang.StringgetHomeFolder()voidhandleCommit(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext, User user)Called before the commit is security checked and passed to the repository.voidhandleCommitted(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext)Called after the commit has succeeded.protected voidhandleUser(CDOTransaction transaction, Realm realm, Role role, User user)protected voidhandleUsers(InternalSecurityManager securityManager, java.util.List<java.lang.String> userIDs, boolean init)voidinit(InternalSecurityManager securityManager, boolean firstTime)protected voidinitRole(Role role)voidsetExecutorService(java.util.concurrent.ExecutorService executorService)java.lang.StringtoString()
 
- 
- 
- 
Field Detail- 
DEFAULT_HOME_FOLDERpublic static final java.lang.String DEFAULT_HOME_FOLDER - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getHomeFolderpublic java.lang.String getHomeFolder() 
 - 
getExecutorServicepublic java.util.concurrent.ExecutorService getExecutorService() - Specified by:
- getExecutorServicein interface- org.eclipse.net4j.util.concurrent.IExecutorServiceProvider
 
 - 
setExecutorServicepublic void setExecutorService(java.util.concurrent.ExecutorService executorService) 
 - 
initpublic void init(InternalSecurityManager securityManager, boolean firstTime) - Specified by:
- initin interface- InternalSecurityManager.CommitHandler
 
 - 
initRoleprotected void initRole(Role role) 
 - 
handleCommitpublic void handleCommit(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext, User user) Description copied from interface:InternalSecurityManager.CommitHandlerCalled before the commit is security checked and passed to the repository.- Specified by:
- handleCommitin interface- InternalSecurityManager.CommitHandler
- user- the committing user or- nullif this commit is- triggeredby the system.
- See Also:
- InternalSecurityManager.CommitHandler2
 
 - 
handleCommittedpublic void handleCommitted(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext) Description copied from interface:InternalSecurityManager.CommitHandler2Called after the commit has succeeded.- Specified by:
- handleCommittedin interface- InternalSecurityManager.CommitHandler2
 
 - 
handleUsersprotected void handleUsers(InternalSecurityManager securityManager, java.util.List<java.lang.String> userIDs, boolean init) 
 - 
handleUserprotected void handleUser(CDOTransaction transaction, Realm realm, Role role, User user) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-