Class ObjectRightsCollectionRuntimeOrderSorterDelegate
java.lang.Object
com._1c.g5.v8.dt.core.model.AbstractEObjectCollectionRuntimeOrderSorterDelegate<SecuredObject>
com._1c.g5.v8.dt.internal.rights.cleanup.ObjectRightsCollectionRuntimeOrderSorterDelegate
- All Implemented Interfaces:
IModelObjectCollectionRuntimeOrderSorterDelegate
public class ObjectRightsCollectionRuntimeOrderSorterDelegate
extends AbstractEObjectCollectionRuntimeOrderSorterDelegate<SecuredObject>
Role objects and righs sorter delegate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SecuredObjectgetKey(org.eclipse.emf.ecore.EObject eObject) Descendants must implement a method to obtain the sort key for e-object.protected booleanisCollectionNoNeedsSort(org.eclipse.emf.common.util.EList<? extends org.eclipse.emf.ecore.EObject> actual) Check min collection size to sort.Methods inherited from class com._1c.g5.v8.dt.core.model.AbstractEObjectCollectionRuntimeOrderSorterDelegate
sort
-
Constructor Details
-
ObjectRightsCollectionRuntimeOrderSorterDelegate
public ObjectRightsCollectionRuntimeOrderSorterDelegate()
-
-
Method Details
-
getKey
Description copied from class:AbstractEObjectCollectionRuntimeOrderSorterDelegateDescendants must implement a method to obtain the sort key for e-object.- Specified by:
getKeyin classAbstractEObjectCollectionRuntimeOrderSorterDelegate<SecuredObject>- Parameters:
eObject- the e-object, cannot benull- Returns:
- the sort key, cannot be
null
-
isCollectionNoNeedsSort
protected boolean isCollectionNoNeedsSort(org.eclipse.emf.common.util.EList<? extends org.eclipse.emf.ecore.EObject> actual) Description copied from class:AbstractEObjectCollectionRuntimeOrderSorterDelegateCheck min collection size to sort.- Overrides:
isCollectionNoNeedsSortin classAbstractEObjectCollectionRuntimeOrderSorterDelegate<SecuredObject>- Parameters:
actual- the actual collection, cannot benull- Returns:
trueif collection no needs sort,falseotherwise
-