Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


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.

Since:
TopLink 10.1.3
Author:
King Wang
See Also:
FetchGroup

Method Summary
 FetchGroup _persistence_getFetchGroup()
          Return the fetch group being tracked
 Session _persistence_getSession()
          Return the session for the object.
 boolean _persistence_isAttributeFetched(java.lang.String attribute)
          Return true if the attribute is in the fetch group being tracked.
 void _persistence_resetFetchGroup()
          Reset all attributes of the tracked object to the unfetched state with initial default values.
 void _persistence_setFetchGroup(FetchGroup group)
          Set a fetch group to be tracked.
 void _persistence_setSession(Session session)
          Set true if the fetch group attributes should be refreshed
 void _persistence_setShouldRefreshFetchGroup(boolean shouldRefreshFetchGroup)
          Set true if the fetch group attributes should be refreshed.
 boolean _persistence_shouldRefreshFetchGroup()
          Return true if the fetch group attributes should be refreshed.

 

Method Detail

_persistence_getFetchGroup

FetchGroup _persistence_getFetchGroup()
Return the fetch group being tracked

_persistence_setFetchGroup

void _persistence_setFetchGroup(FetchGroup group)
Set a fetch group to be tracked.

_persistence_isAttributeFetched

boolean _persistence_isAttributeFetched(java.lang.String attribute)
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

void _persistence_setSession(Session session)
Set true if the fetch group attributes should be refreshed

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.