Class AnnotationHandler
- java.lang.Object
- 
- org.eclipse.emf.cdo.server.spi.security.AnnotationHandler
 
- 
- All Implemented Interfaces:
- InternalSecurityManager.CommitHandler
 
 public class AnnotationHandler extends java.lang.Object implements InternalSecurityManager.CommitHandler If the meaning of this type isn't clear, there really should be more of a description here...- Author:
- Eike Stepper
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAnnotationHandler.FactoryCreatesAnnotationHandlerinstances.
 - 
Field SummaryFields Modifier and Type Field Description static java.lang.StringDELIMITERSstatic java.lang.StringREAD_KEYstatic java.lang.StringSOURCE_URIstatic java.lang.StringWRITE_KEY
 - 
Constructor SummaryConstructors Constructor Description AnnotationHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidhandleClassPermission(Realm realm, org.eclipse.emf.ecore.EClass eClass, java.lang.String key, Access access)voidhandleCommit(InternalSecurityManager securityManager, IStoreAccessor.CommitContext commitContext, User user)Called before the commit is security checked and passed to the repository.protected voidhandlePackage(Realm realm, org.eclipse.emf.ecore.EPackage ePackage)protected voidhandlePackagePermission(Realm realm, org.eclipse.emf.ecore.EPackage ePackage, java.lang.String key, Access access)protected voidhandlePackageUnits(InternalSecurityManager securityManager, CDOPackageUnit[] packageUnits)protected voidhandlePermission(Realm realm, org.eclipse.emf.ecore.EModelElement modelElement, java.lang.String key, Access access, org.eclipse.emf.ecore.EClass filterClass, org.eclipse.emf.ecore.EReference filterFeature)voidinit(InternalSecurityManager securityManager, boolean firstTime)java.lang.StringtoString()
 
- 
- 
- 
Field Detail- 
SOURCE_URIpublic static final java.lang.String SOURCE_URI - See Also:
- Constant Field Values
 
 - 
READ_KEYpublic static final java.lang.String READ_KEY - See Also:
- Constant Field Values
 
 - 
WRITE_KEYpublic static final java.lang.String WRITE_KEY - See Also:
- Constant Field Values
 
 - 
DELIMITERSpublic static final java.lang.String DELIMITERS - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
initpublic void init(InternalSecurityManager securityManager, boolean firstTime) - Specified by:
- initin interface- InternalSecurityManager.CommitHandler
 
 - 
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
 
 - 
handlePackageUnitsprotected void handlePackageUnits(InternalSecurityManager securityManager, CDOPackageUnit[] packageUnits) 
 - 
handlePackageprotected void handlePackage(Realm realm, org.eclipse.emf.ecore.EPackage ePackage) 
 - 
handlePackagePermissionprotected void handlePackagePermission(Realm realm, org.eclipse.emf.ecore.EPackage ePackage, java.lang.String key, Access access) 
 - 
handleClassPermissionprotected void handleClassPermission(Realm realm, org.eclipse.emf.ecore.EClass eClass, java.lang.String key, Access access) 
 - 
handlePermissionprotected void handlePermission(Realm realm, org.eclipse.emf.ecore.EModelElement modelElement, java.lang.String key, Access access, org.eclipse.emf.ecore.EClass filterClass, org.eclipse.emf.ecore.EReference filterFeature) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-