Package org.eclipse.persistence.queries
Interface FetchGroupTracker
public interface FetchGroupTracker
Purpose: The fetch group tracker interface provides a set of APIs which the domain object must implement, in order to take advantage of the EclipseLink fetch group performance enhancement feature.
- See Also:
- Author:
- King Wang
-
Method Summary
Modifier and TypeMethodDescriptionReturn the fetch group being trackedReturn the session for the object.boolean_persistence_isAttributeFetched(String attribute) Return true if the attribute is in the fetch group being tracked.voidReset all attributes of the tracked object to the unfetched state with initial default values.voidSet a fetch group to be tracked.void_persistence_setSession(Session session) Set true if the fetch group attributes should be refreshedvoid_persistence_setShouldRefreshFetchGroup(boolean shouldRefreshFetchGroup) Set true if the fetch group attributes should be refreshed.booleanReturn true if the fetch group attributes should be refreshed.
-
Method Details
-
_persistence_getFetchGroup
FetchGroup _persistence_getFetchGroup()Return the fetch group being tracked -
_persistence_setFetchGroup
Set a fetch group to be tracked. -
_persistence_isAttributeFetched
Return true if the attribute is in the fetch group being tracked. -
_persistence_resetFetchGroup
void _persistence_resetFetchGroup()Reset all attributes of the tracked object to the unfetched state with initial default values. -
_persistence_shouldRefreshFetchGroup
boolean _persistence_shouldRefreshFetchGroup()Return true if the fetch group attributes should be refreshed. -
_persistence_setShouldRefreshFetchGroup
void _persistence_setShouldRefreshFetchGroup(boolean shouldRefreshFetchGroup) Set true if the fetch group attributes should be refreshed. -
_persistence_getSession
Session _persistence_getSession()Return the session for the object. -
_persistence_setSession
Set true if the fetch group attributes should be refreshed
-