Schnittstelle CDOFetchRuleManager
- Seit:
- 2.0
- Autor:
- Simon McDuff
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungdefault CDOCollectionLoadingPolicyReturns the collection loading policy that should be used when loading collections.Returns the context ID for which this fetch rule manager is collecting statistics.getFetchRules(Collection<CDOID> ids) Returns the fetch rules for the given object IDs.
-
Methodendetails
-
getContext
CDOID getContext()Returns the context ID for which this fetch rule manager is collecting statistics.A context-specific fetch rule manager collects statistics only for the objects that are associated with the given context ID. A context ID is typically the ID of a root object. A fetch rule manager that is not context-specific returns
CDOID.NULL.- Gibt zurück:
- the context ID, or
CDOID.NULLif this fetch rule manager is not context-specific.
-
getFetchRules
Returns the fetch rules for the given object IDs.The fetch rules are usually based on statistics collected by one or more
feature analyzers. The fetch rules may be context-specific, that is, they may be based only on statistics collected for objects that are associated with the context ID returned bygetContext().The returned list of fetch rules must not contain multiple rules for the same
EClass. If multiple rules for the same EClass are applicable to an object, the first applicable rule in the list is used.If no fetch rules are applicable to an object, the view's default fetch rule is used.
The returned list must not be modified by the caller.
- Parameter:
ids- the IDs of the objects for which fetch rules are requested; note that the objects may not exist or be accessible.- Gibt zurück:
- the fetch rules for the given object IDs, or
nullif no fetch rules are applicable. The list may be empty.
-
getCollectionLoadingPolicy
Returns the collection loading policy that should be used when loading collections.- Gibt zurück:
- the collection loading policy; or
nullto useCDORevision.UNCHUNKED.
-