Class ResourceFilterImpl
- 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.security.impl.PermissionFilterImpl
-
- org.eclipse.emf.cdo.security.impl.ResourceFilterImpl
-
- All Implemented Interfaces:
CDOObject,CDOWithID,CDOPackageTypeRegistry.CDOObjectMarker,PermissionFilter,ResourceFilter,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 ResourceFilterImpl extends PermissionFilterImpl implements ResourceFilter
An implementation of the model object 'Resource Filter'.- Since:
- 4.3
The following features are implemented:
- Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classResourceFilterImpl.AntMatcherprotected static classResourceFilterImpl.ExactMatcherstatic interfaceResourceFilterImpl.MatcherMatches the path of aresource node.protected static classResourceFilterImpl.PathMatcherMatches the path of aresource nodeagainst aResourceFilterImpl.PathMatcher.pathstring.protected static classResourceFilterImpl.RegexMatcherprotected static classResourceFilterImpl.TreeMatcher-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.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.BasicNotifierImpl
org.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 Summary
Constructors Modifier Constructor Description protectedResourceFilterImpl()
-
Method Summary
-
Methods inherited from class org.eclipse.emf.cdo.security.impl.PermissionFilterImpl
eStaticFeatureCount, getUser, isApplicable
-
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, 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
eAdapters, 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, 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, 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, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSet, eSetProxyURI, eSetStore, eSetting, eUnset, eURIFragmentSegment
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.eclipse.emf.cdo.security.PermissionFilter
isApplicable
-
-
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClassin classPermissionFilterImpl- Generated
-
getPath
public java.lang.String getPath()
- Specified by:
getPathin interfaceResourceFilter- Returns:
- the value of the 'Path' attribute.
- See Also:
ResourceFilter.setPath(String),SecurityPackage.getResourceFilter_Path()- Generated
-
setPath
public ResourceFilter setPath(java.lang.String newPath)
- Specified by:
setPathin interfaceResourceFilter- Parameters:
newPath- the new value of the 'Path' attribute.- See Also:
ResourceFilter.getPath()- Generated
- NOT
-
getPatternStyle
public PatternStyle getPatternStyle()
- Specified by:
getPatternStylein interfaceResourceFilter- Returns:
- the value of the 'Pattern Style' attribute.
- See Also:
PatternStyle,ResourceFilter.setPatternStyle(PatternStyle),SecurityPackage.getResourceFilter_PatternStyle()- Generated
-
setPatternStyle
public ResourceFilter setPatternStyle(PatternStyle newPatternStyle)
- Specified by:
setPatternStylein interfaceResourceFilter- Parameters:
newPatternStyle- the new value of the 'Pattern Style' attribute.- See Also:
PatternStyle,ResourceFilter.getPatternStyle()- Generated
- NOT
-
isFolders
public boolean isFolders()
- Specified by:
isFoldersin interfaceResourceFilter- Returns:
- the value of the 'Folders' attribute.
- See Also:
ResourceFilter.setFolders(boolean),SecurityPackage.getResourceFilter_Folders()- Generated
-
setFolders
public ResourceFilter setFolders(boolean newFolders)
- Specified by:
setFoldersin interfaceResourceFilter- Parameters:
newFolders- the new value of the 'Folders' attribute.- See Also:
ResourceFilter.isFolders()- Generated
- NOT
-
isModelResources
public boolean isModelResources()
- Specified by:
isModelResourcesin interfaceResourceFilter- Returns:
- the value of the 'Model Resources' attribute.
- See Also:
ResourceFilter.setModelResources(boolean),SecurityPackage.getResourceFilter_ModelResources()- Generated
-
setModelResources
public ResourceFilter setModelResources(boolean newModelResources)
- Specified by:
setModelResourcesin interfaceResourceFilter- Parameters:
newModelResources- the new value of the 'Model Resources' attribute.- See Also:
ResourceFilter.isModelResources()- Generated
- NOT
-
isModelObjects
public boolean isModelObjects()
- Specified by:
isModelObjectsin interfaceResourceFilter- Returns:
- the value of the 'Model Objects' attribute.
- See Also:
ResourceFilter.setModelObjects(boolean),SecurityPackage.getResourceFilter_ModelObjects()- Generated
-
setModelObjects
public ResourceFilter setModelObjects(boolean newModelObjects)
- Specified by:
setModelObjectsin interfaceResourceFilter- Parameters:
newModelObjects- the new value of the 'Model Objects' attribute.- See Also:
ResourceFilter.isModelObjects()- Generated
- NOT
-
isIncludeParents
public boolean isIncludeParents()
- Specified by:
isIncludeParentsin interfaceResourceFilter- Returns:
- the value of the 'Include Parents' attribute.
- See Also:
ResourceFilter.setIncludeParents(boolean),SecurityPackage.getResourceFilter_IncludeParents()- Generated
-
setIncludeParents
public ResourceFilter setIncludeParents(boolean newIncludeParents)
- Specified by:
setIncludeParentsin interfaceResourceFilter- Parameters:
newIncludeParents- the new value of the 'Include Parents' attribute.- See Also:
ResourceFilter.isIncludeParents()- Generated
- NOT
-
isIncludeRoot
public boolean isIncludeRoot()
- Specified by:
isIncludeRootin interfaceResourceFilter- Returns:
- the value of the 'Include Root' attribute.
- See Also:
ResourceFilter.setIncludeRoot(boolean),SecurityPackage.getResourceFilter_IncludeRoot()- Generated
-
setIncludeRoot
public ResourceFilter setIncludeRoot(boolean newIncludeRoot)
- Specified by:
setIncludeRootin interfaceResourceFilter- Parameters:
newIncludeRoot- the new value of the 'Include Root' attribute.- See Also:
ResourceFilter.isIncludeRoot()- Generated
- NOT
-
isTextResources
public boolean isTextResources()
- Specified by:
isTextResourcesin interfaceResourceFilter- Returns:
- the value of the 'Text Resources' attribute.
- See Also:
ResourceFilter.setTextResources(boolean),SecurityPackage.getResourceFilter_TextResources()- Generated
-
setTextResources
public ResourceFilter setTextResources(boolean newTextResources)
- Specified by:
setTextResourcesin interfaceResourceFilter- Parameters:
newTextResources- the new value of the 'Text Resources' attribute.- See Also:
ResourceFilter.isTextResources()- Generated
- NOT
-
isBinaryResources
public boolean isBinaryResources()
- Specified by:
isBinaryResourcesin interfaceResourceFilter- Returns:
- the value of the 'Binary Resources' attribute.
- See Also:
ResourceFilter.setBinaryResources(boolean),SecurityPackage.getResourceFilter_BinaryResources()- Generated
-
setBinaryResources
public ResourceFilter setBinaryResources(boolean newBinaryResources)
- Specified by:
setBinaryResourcesin interfaceResourceFilter- Parameters:
newBinaryResources- the new value of the 'Binary Resources' attribute.- See Also:
ResourceFilter.isBinaryResources()- Generated
- NOT
-
isImpacted
public boolean isImpacted(PermissionImpl.CommitImpactContext context)
- Specified by:
isImpactedin interfacePermissionFilter
-
format
public java.lang.String format()
- Specified by:
formatin interfacePermissionFilter
-
formatOperator
protected java.lang.String formatOperator()
-
filter
protected boolean filter(CDORevision revision, CDORevisionProvider revisionProvider, CDOBranchPoint securityContext, int level) throws java.lang.Exception
- Specified by:
filterin classPermissionFilterImpl- Throws:
java.lang.Exception
-
isResourceTreeImpacted
public static boolean isResourceTreeImpacted(PermissionImpl.CommitImpactContext context)
-
-