Class RealmImpl
- java.lang.Object
- 
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
- 
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
- 
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
- 
- org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
- 
- org.eclipse.emf.internal.cdo.CDOObjectImpl
- 
- org.eclipse.emf.cdo.etypes.impl.ModelElementImpl
- 
- org.eclipse.emf.cdo.security.impl.SecurityElementImpl
- 
- org.eclipse.emf.cdo.security.impl.RealmImpl
 
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- CDOObject,- CDOWithID,- CDOPackageTypeRegistry.CDOObjectMarker,- ModelElement,- Realm,- SecurityElement,- SecurityItemContainer,- SecurityItemProvider,- org.eclipse.emf.common.notify.Notifier,- org.eclipse.emf.ecore.EObject,- org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,- org.eclipse.emf.ecore.InternalEObject,- InternalCDOLoadable,- InternalCDOObject
 
 public class RealmImpl extends SecurityElementImpl implements Realm An implementation of the model object 'Realm'.The following features are implemented: - Generated
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImplorg.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 - 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImplorg.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 - 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImplorg.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedRealmImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupaddGroup(java.lang.String id)RoleaddRole(java.lang.String id)UseraddUser(java.lang.String id)UseraddUser(java.lang.String id, java.lang.String password)protected UseraddUser(User user)UseraddUser(org.eclipse.net4j.util.security.IPasswordCredentials credentials)protected org.eclipse.emf.ecore.EClasseStaticClass()org.eclipse.emf.common.util.EList<Group>getAllGroups()org.eclipse.emf.common.util.EList<Permission>getAllPermissions()org.eclipse.emf.common.util.EList<Role>getAllRoles()org.eclipse.emf.common.util.EList<User>getAllUsers()AccessgetDefaultAccess()DirectorygetDefaultGroupDirectory()DirectorygetDefaultRoleDirectory()DirectorygetDefaultUserDirectory()GroupgetGroup(java.lang.String id)protected org.eclipse.emf.common.util.EList<SecurityItem>getGroupItems()org.eclipse.emf.common.util.EList<SecurityItem>getItems()java.lang.StringgetName()RealmgetRealm()RolegetRole(java.lang.String id)protected org.eclipse.emf.common.util.EList<SecurityItem>getRoleItems()UsergetUser(java.lang.String id)protected org.eclipse.emf.common.util.EList<SecurityItem>getUserItems()GroupremoveGroup(java.lang.String id)RoleremoveRole(java.lang.String id)UserremoveUser(java.lang.String id)voidsetDefaultAccess(Access newDefaultAccess)voidsetDefaultGroupDirectory(Directory newDefaultGroupDirectory)voidsetDefaultRoleDirectory(Directory newDefaultRoleDirectory)voidsetDefaultUserDirectory(Directory newDefaultUserDirectory)voidsetName(java.lang.String newName)UsersetPassword(java.lang.String id, java.lang.String password)- 
Methods inherited from class org.eclipse.emf.cdo.etypes.impl.ModelElementImpleGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eStaticFeatureCount, eUnset, getAnnotation, getAnnotations
 - 
Methods inherited from class org.eclipse.emf.internal.cdo.CDOObjectImplcdoClassInfo, cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, cdoInternalPostDetach, cdoInternalPostDetach, cdoInternalPostInvalidate, cdoInternalPostLoad, cdoInternalPostRollback, cdoInternalPreAttach, cdoInternalPreCommit, cdoInternalPreLoad, cdoInternalSetID, cdoInternalSetResource, cdoInternalSetRevision, cdoInternalSetState, cdoInternalSetView, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption, createFeatureMap, createList, createLock, createMap, createOrderedList, createUnorderedList, dynamicGet, dynamicSet, dynamicUnset, eAdapterAdded, eAdapterRemoved, eBasicAdapterListeners, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetSettings, eBasicSettings, eClass, eContainerAdapterArray, eContainerFeatureID, eDirectResource, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicIsSet, eHasSettings, eInternalContainer, eInternalResource, eIsCaching, emfToString, equals, eSetClass, eSetDirectResource, eSetResource, eSettings, eStore, getLockState, hashCode, instanceToRevisionFeature, revisionToInstanceFeature, toString
 - 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpleBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID
 - 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpleAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURI
 - 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpleAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 - 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpleNotificationRequired, eNotify
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.eclipse.emf.cdo.CDOObjectcdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoState, cdoWriteLock, cdoWriteOption
 - 
Methods inherited from interface org.eclipse.emf.ecore.EObjecteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 - 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObjecteBaseStructuralFeatureID, eBasicRemoveFromContainer, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eInverseAdd, eInverseRemove, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetProxyURI, eSetStore, eSetting, eURIFragmentSegment
 - 
Methods inherited from interface org.eclipse.emf.cdo.etypes.ModelElementgetAnnotation, getAnnotations
 
- 
 
- 
- 
- 
Method Detail- 
eStaticClassprotected org.eclipse.emf.ecore.EClass eStaticClass() - Overrides:
- eStaticClassin class- SecurityElementImpl
- Generated
 
 - 
getItemspublic org.eclipse.emf.common.util.EList<SecurityItem> getItems() - Specified by:
- getItemsin interface- Realm
- Returns:
- the value of the 'Items' containment reference list.
- See Also:
- SecurityPackage.getRealm_Items()
- Generated
 
 - 
getAllUserspublic org.eclipse.emf.common.util.EList<User> getAllUsers() - Specified by:
- getAllUsersin interface- Realm
- Returns:
- the value of the 'All Users' reference list.
- See Also:
- SecurityPackage.getRealm_AllUsers()
- Generated
- NOT
 
 - 
getAllGroupspublic org.eclipse.emf.common.util.EList<Group> getAllGroups() - Specified by:
- getAllGroupsin interface- Realm
- Returns:
- the value of the 'All Groups' reference list.
- See Also:
- SecurityPackage.getRealm_AllGroups()
- Generated
- NOT
 
 - 
getAllRolespublic org.eclipse.emf.common.util.EList<Role> getAllRoles() - Specified by:
- getAllRolesin interface- Realm
- Returns:
- the value of the 'All Roles' reference list.
- See Also:
- SecurityPackage.getRealm_AllRoles()
- Generated
- NOT
 
 - 
getAllPermissionspublic org.eclipse.emf.common.util.EList<Permission> getAllPermissions() - Specified by:
- getAllPermissionsin interface- Realm
- Returns:
- the value of the 'All Permissions' reference list.
- See Also:
- SecurityPackage.getRealm_AllPermissions()
- Generated
- NOT
 
 - 
getNamepublic java.lang.String getName() - Specified by:
- getNamein interface- Realm
- Returns:
- the value of the 'Name' attribute.
- See Also:
- Realm.setName(String),- SecurityPackage.getRealm_Name()
- Generated
 
 - 
setNamepublic void setName(java.lang.String newName) - Specified by:
- setNamein interface- Realm
- Parameters:
- newName- the new value of the 'Name' attribute.
- See Also:
- Realm.getName()
- Generated
 
 - 
getDefaultAccesspublic Access getDefaultAccess() - Specified by:
- getDefaultAccessin interface- Realm
- Returns:
- the value of the 'Default Access' attribute.
- See Also:
- Realm.setDefaultAccess(Access),- SecurityPackage.getRealm_DefaultAccess()
- Generated
 
 - 
setDefaultAccesspublic void setDefaultAccess(Access newDefaultAccess) - Specified by:
- setDefaultAccessin interface- Realm
- Parameters:
- newDefaultAccess- the new value of the 'Default Access' attribute.
- See Also:
- Realm.getDefaultAccess()
- Generated
 
 - 
getDefaultUserDirectorypublic Directory getDefaultUserDirectory() - Specified by:
- getDefaultUserDirectoryin interface- Realm
- Returns:
- the value of the 'Default User Directory' reference.
- Since:
- 4.2
- See Also:
- Realm.setDefaultUserDirectory(Directory),- SecurityPackage.getRealm_DefaultUserDirectory()
- Generated
 
 - 
setDefaultUserDirectorypublic void setDefaultUserDirectory(Directory newDefaultUserDirectory) - Specified by:
- setDefaultUserDirectoryin interface- Realm
- Parameters:
- newDefaultUserDirectory- the new value of the 'Default User Directory' reference.
- Since:
- 4.2
- See Also:
- Realm.getDefaultUserDirectory()
- Generated
 
 - 
getDefaultGroupDirectorypublic Directory getDefaultGroupDirectory() - Specified by:
- getDefaultGroupDirectoryin interface- Realm
- Returns:
- the value of the 'Default Group Directory' reference.
- Since:
- 4.2
- See Also:
- Realm.setDefaultGroupDirectory(Directory),- SecurityPackage.getRealm_DefaultGroupDirectory()
- Generated
 
 - 
setDefaultGroupDirectorypublic void setDefaultGroupDirectory(Directory newDefaultGroupDirectory) - Specified by:
- setDefaultGroupDirectoryin interface- Realm
- Parameters:
- newDefaultGroupDirectory- the new value of the 'Default Group Directory' reference.
- Since:
- 4.2
- See Also:
- Realm.getDefaultGroupDirectory()
- Generated
 
 - 
getDefaultRoleDirectorypublic Directory getDefaultRoleDirectory() - Specified by:
- getDefaultRoleDirectoryin interface- Realm
- Returns:
- the value of the 'Default Role Directory' reference.
- Since:
- 4.2
- See Also:
- Realm.setDefaultRoleDirectory(Directory),- SecurityPackage.getRealm_DefaultRoleDirectory()
- Generated
 
 - 
setDefaultRoleDirectorypublic void setDefaultRoleDirectory(Directory newDefaultRoleDirectory) - Specified by:
- setDefaultRoleDirectoryin interface- Realm
- Parameters:
- newDefaultRoleDirectory- the new value of the 'Default Role Directory' reference.
- Since:
- 4.2
- See Also:
- Realm.getDefaultRoleDirectory()
- Generated
 
 - 
getRolepublic Role getRole(java.lang.String id) - Specified by:
- getRolein interface- SecurityItemProvider
- Since:
- 4.2
 
 - 
getGrouppublic Group getGroup(java.lang.String id) - Specified by:
- getGroupin interface- SecurityItemProvider
- Since:
- 4.2
 
 - 
getUserpublic User getUser(java.lang.String id) - Specified by:
- getUserin interface- SecurityItemProvider
- Since:
- 4.2
 
 - 
getRoleItemsprotected org.eclipse.emf.common.util.EList<SecurityItem> getRoleItems() - Since:
- 4.2
 
 - 
getGroupItemsprotected org.eclipse.emf.common.util.EList<SecurityItem> getGroupItems() - Since:
- 4.2
 
 - 
getUserItemsprotected org.eclipse.emf.common.util.EList<SecurityItem> getUserItems() - Since:
- 4.2
 
 - 
addRolepublic Role addRole(java.lang.String id) - Specified by:
- addRolein interface- SecurityItemContainer
- Since:
- 4.2
 
 - 
addGrouppublic Group addGroup(java.lang.String id) - Specified by:
- addGroupin interface- SecurityItemContainer
- Since:
- 4.2
 
 - 
addUserpublic User addUser(java.lang.String id) - Specified by:
- addUserin interface- SecurityItemContainer
- Since:
- 4.2
 
 - 
addUserpublic User addUser(java.lang.String id, java.lang.String password) - Specified by:
- addUserin interface- SecurityItemContainer
- Since:
- 4.2
 
 - 
addUserpublic User addUser(org.eclipse.net4j.util.security.IPasswordCredentials credentials) - Specified by:
- addUserin interface- SecurityItemContainer
- Since:
- 4.3
 
 - 
setPasswordpublic User setPassword(java.lang.String id, java.lang.String password) - Specified by:
- setPasswordin interface- SecurityItemContainer
- Since:
- 4.3
 
 - 
removeRolepublic Role removeRole(java.lang.String id) - Specified by:
- removeRolein interface- SecurityItemContainer
- Since:
- 4.2
 
 - 
removeGrouppublic Group removeGroup(java.lang.String id) - Specified by:
- removeGroupin interface- SecurityItemContainer
- Since:
- 4.2
 
 - 
removeUserpublic User removeUser(java.lang.String id) - Specified by:
- removeUserin interface- SecurityItemContainer
- Since:
- 4.2
 
 - 
getRealmpublic Realm getRealm() Description copied from class:SecurityElementImpl- Specified by:
- getRealmin interface- SecurityElement
- Overrides:
- getRealmin class- SecurityElementImpl
 
 
- 
 
-