public class RealmImpl extends SecurityElementImpl implements Realm
The following features are implemented:
MinimalEObjectImpl.ContainerBasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImplBasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterListInternalEObject.EStoreEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETEOPPOSITE_FEATURE_BASENIL| Modifier | Constructor and Description |
|---|---|
protected |
RealmImpl() |
eStaticFeatureCount, getAnnotation, getAnnotationscdoClassInfo, cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, 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, equals, eSetClass, eSetDirectResource, eSetResource, eSettings, eStore, getLockState, hashCode, instanceToRevisionFeature, revisionToInstanceFeature, toStringeBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureIDeAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURIeAddVirtualValue, 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, eGet, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSet, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eUnset, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValueseNotificationRequired, eNotifyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotationscdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOptioneAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivereBaseStructuralFeatureID, eBasicRemoveFromContainer, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSet, eSetProxyURI, eSetStore, eSetting, eUnset, eURIFragmentSegmentprotected EClass eStaticClass()
eStaticClass in class SecurityElementImplpublic EList<SecurityItem> getItems()
getItems in interface RealmSecurityPackage.getRealm_Items()public EList<User> getAllUsers()
getAllUsers in interface RealmSecurityPackage.getRealm_AllUsers()public EList<Group> getAllGroups()
getAllGroups in interface RealmSecurityPackage.getRealm_AllGroups()public EList<Role> getAllRoles()
getAllRoles in interface RealmSecurityPackage.getRealm_AllRoles()public EList<Permission> getAllPermissions()
getAllPermissions in interface RealmSecurityPackage.getRealm_AllPermissions()public java.lang.String getName()
getName in interface RealmRealm.setName(String),
SecurityPackage.getRealm_Name()public void setName(java.lang.String newName)
setName in interface RealmnewName - the new value of the 'Name' attribute.Realm.getName()public Access getDefaultAccess()
getDefaultAccess in interface RealmRealm.setDefaultAccess(Access),
SecurityPackage.getRealm_DefaultAccess()public void setDefaultAccess(Access newDefaultAccess)
setDefaultAccess in interface RealmnewDefaultAccess - the new value of the 'Default Access' attribute.Realm.getDefaultAccess()public Directory getDefaultUserDirectory()
getDefaultUserDirectory in interface RealmRealm.setDefaultUserDirectory(Directory),
SecurityPackage.getRealm_DefaultUserDirectory()public void setDefaultUserDirectory(Directory newDefaultUserDirectory)
setDefaultUserDirectory in interface RealmnewDefaultUserDirectory - the new value of the 'Default User Directory' reference.Realm.getDefaultUserDirectory()public Directory getDefaultGroupDirectory()
getDefaultGroupDirectory in interface RealmRealm.setDefaultGroupDirectory(Directory),
SecurityPackage.getRealm_DefaultGroupDirectory()public void setDefaultGroupDirectory(Directory newDefaultGroupDirectory)
setDefaultGroupDirectory in interface RealmnewDefaultGroupDirectory - the new value of the 'Default Group Directory' reference.Realm.getDefaultGroupDirectory()public Directory getDefaultRoleDirectory()
getDefaultRoleDirectory in interface RealmRealm.setDefaultRoleDirectory(Directory),
SecurityPackage.getRealm_DefaultRoleDirectory()public void setDefaultRoleDirectory(Directory newDefaultRoleDirectory)
setDefaultRoleDirectory in interface RealmnewDefaultRoleDirectory - the new value of the 'Default Role Directory' reference.Realm.getDefaultRoleDirectory()public Role getRole(java.lang.String id)
getRole in interface SecurityItemProviderpublic Group getGroup(java.lang.String id)
getGroup in interface SecurityItemProviderpublic User getUser(java.lang.String id)
getUser in interface SecurityItemProviderprotected EList<SecurityItem> getRoleItems()
protected EList<SecurityItem> getGroupItems()
protected EList<SecurityItem> getUserItems()
public Role addRole(java.lang.String id)
addRole in interface SecurityItemContainerpublic Group addGroup(java.lang.String id)
addGroup in interface SecurityItemContainerpublic User addUser(java.lang.String id)
addUser in interface SecurityItemContainerpublic User addUser(java.lang.String id, java.lang.String password)
addUser in interface SecurityItemContainerpublic User addUser(IPasswordCredentials credentials)
addUser in interface SecurityItemContainerpublic User setPassword(java.lang.String id, java.lang.String password)
setPassword in interface SecurityItemContainerpublic Role removeRole(java.lang.String id)
removeRole in interface SecurityItemContainerpublic Group removeGroup(java.lang.String id)
removeGroup in interface SecurityItemContainerpublic User removeUser(java.lang.String id)
removeUser in interface SecurityItemContainerpublic Realm getRealm()
SecurityElementImplgetRealm in interface SecurityElementgetRealm in class SecurityElementImplCopyright (c) 2004-2019 Eike Stepper (Loehne, 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