Class RealmImpl
java.lang.Object
- All Implemented Interfaces:
CDOObject
,CDOWithID
,CDOPackageTypeRegistry.CDOObjectMarker
,ModelElement
,Realm
,SecurityElement
,SecurityItemContainer
,SecurityItemProvider
,Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,InternalCDOLoadable
,InternalCDOObject
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.MinimalEObjectImpl
MinimalEObjectImpl.Container
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
Field Summary
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected User
addUser
(org.eclipse.net4j.util.security.IPasswordCredentials credentials) protected EClass
protected EList<SecurityItem>
getItems()
getName()
getRealm()
protected EList<SecurityItem>
protected EList<SecurityItem>
removeGroup
(String id) removeRole
(String id) removeUser
(String id) void
setDefaultAccess
(Access newDefaultAccess) void
setDefaultGroupDirectory
(Directory newDefaultGroupDirectory) void
setDefaultRoleDirectory
(Directory newDefaultRoleDirectory) void
setDefaultUserDirectory
(Directory newDefaultUserDirectory) void
setPassword
(String id, String password) Methods inherited from class org.eclipse.emf.cdo.security.impl.SecurityElementImpl
eInvoke
Methods inherited from class org.eclipse.emf.cdo.etypes.impl.ModelElementImpl
eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticFeatureCount, eUnset, getAnnotation, getAnnotations
Methods inherited from class org.eclipse.emf.internal.cdo.CDOObjectImpl
cdoClassInfo, 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, eAdapters, 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.MinimalEStoreEObjectImpl
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURI
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, 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.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoState, cdoWriteLock, cdoWriteOption
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eInverseAdd, eInverseRemove, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetProxyURI, eSetStore, eSetting, eURIFragmentSegment
Methods inherited from interface org.eclipse.emf.cdo.etypes.ModelElement
getAnnotation, getAnnotations
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Constructor Details
-
RealmImpl
protected RealmImpl()- Generated
-
-
Method Details
-
eStaticClass
- Overrides:
eStaticClass
in classSecurityElementImpl
- Generated
-
getItems
-
getAllUsers
- Specified by:
getAllUsers
in interfaceRealm
- Returns:
- the value of the 'All Users' reference list.
- See Also:
- Generated
- NOT
-
getAllGroups
- Specified by:
getAllGroups
in interfaceRealm
- Returns:
- the value of the 'All Groups' reference list.
- See Also:
- Generated
- NOT
-
getAllRoles
- Specified by:
getAllRoles
in interfaceRealm
- Returns:
- the value of the 'All Roles' reference list.
- See Also:
- Generated
- NOT
-
getAllPermissions
- Specified by:
getAllPermissions
in interfaceRealm
- Returns:
- the value of the 'All Permissions' reference list.
- See Also:
- Generated
- NOT
-
getName
-
setName
-
getDefaultAccess
- Specified by:
getDefaultAccess
in interfaceRealm
- Returns:
- the value of the 'Default Access' attribute.
- See Also:
- Generated
-
setDefaultAccess
- Specified by:
setDefaultAccess
in interfaceRealm
- Parameters:
newDefaultAccess
- the new value of the 'Default Access' attribute.- See Also:
- Generated
-
getDefaultUserDirectory
- Specified by:
getDefaultUserDirectory
in interfaceRealm
- Returns:
- the value of the 'Default User Directory' reference.
- Since:
- 4.2
- See Also:
- Generated
-
setDefaultUserDirectory
- Specified by:
setDefaultUserDirectory
in interfaceRealm
- Parameters:
newDefaultUserDirectory
- the new value of the 'Default User Directory' reference.- Since:
- 4.2
- See Also:
- Generated
-
getDefaultGroupDirectory
- Specified by:
getDefaultGroupDirectory
in interfaceRealm
- Returns:
- the value of the 'Default Group Directory' reference.
- Since:
- 4.2
- See Also:
- Generated
-
setDefaultGroupDirectory
- Specified by:
setDefaultGroupDirectory
in interfaceRealm
- Parameters:
newDefaultGroupDirectory
- the new value of the 'Default Group Directory' reference.- Since:
- 4.2
- See Also:
- Generated
-
getDefaultRoleDirectory
- Specified by:
getDefaultRoleDirectory
in interfaceRealm
- Returns:
- the value of the 'Default Role Directory' reference.
- Since:
- 4.2
- See Also:
- Generated
-
setDefaultRoleDirectory
- Specified by:
setDefaultRoleDirectory
in interfaceRealm
- Parameters:
newDefaultRoleDirectory
- the new value of the 'Default Role Directory' reference.- Since:
- 4.2
- See Also:
- Generated
-
getRole
- Specified by:
getRole
in interfaceSecurityItemProvider
- Since:
- 4.2
-
getGroup
- Specified by:
getGroup
in interfaceSecurityItemProvider
- Since:
- 4.2
-
getUser
- Specified by:
getUser
in interfaceSecurityItemProvider
- Since:
- 4.2
-
getRoleItems
- Since:
- 4.2
-
getGroupItems
- Since:
- 4.2
-
getUserItems
- Since:
- 4.2
-
addRole
- Specified by:
addRole
in interfaceSecurityItemContainer
- Since:
- 4.2
-
addGroup
- Specified by:
addGroup
in interfaceSecurityItemContainer
- Since:
- 4.2
-
addUser
- Specified by:
addUser
in interfaceSecurityItemContainer
- Since:
- 4.2
-
addUser
- Specified by:
addUser
in interfaceSecurityItemContainer
- Since:
- 4.2
-
addUser
- Specified by:
addUser
in interfaceSecurityItemContainer
- Since:
- 4.3
-
addUser
- Since:
- 4.2
-
setPassword
- Specified by:
setPassword
in interfaceSecurityItemContainer
- Since:
- 4.3
-
removeRole
- Specified by:
removeRole
in interfaceSecurityItemContainer
- Since:
- 4.2
-
removeGroup
- Specified by:
removeGroup
in interfaceSecurityItemContainer
- Since:
- 4.2
-
removeUser
- Specified by:
removeUser
in interfaceSecurityItemContainer
- Since:
- 4.2
-
getRealm
Description copied from class:SecurityElementImpl
- Specified by:
getRealm
in interfaceSecurityElement
- Overrides:
getRealm
in classSecurityElementImpl
-