Top Description Methods
org.eclipse.persistence.queries

public Interface FetchGroupTracker

Known Direct Implementers
org.eclipse.persistence.internal.dynamic.DynamicEntityImpl
Imports
org.eclipse.persistence.sessions.Session

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.

Author
King Wang
Since
TopLink 10.1.3
See Also
org.eclipse.persistence.queries.FetchGroup

Method Summary

Modifier and TypeMethod and Description
public FetchGroup
_persistence_getFetchGroup()

Return the fetch group being tracked

public Session
_persistence_getSession()

Return the session for the object.

public boolean
_persistence_isAttributeFetched(String attribute)

Return true if the attribute is in the fetch group being tracked.

public void
_persistence_resetFetchGroup()

Reset all attributes of the tracked object to the unfetched state with initial default values.

public void
_persistence_setFetchGroup(FetchGroup group)

Set a fetch group to be tracked.

public void
_persistence_setSession(Session session)

Set true if the fetch group attributes should be refreshed

public void
_persistence_setShouldRefreshFetchGroup(boolean shouldRefreshFetchGroup)

Set true if the fetch group attributes should be refreshed.

public boolean
_persistence_shouldRefreshFetchGroup()

Return true if the fetch group attributes should be refreshed.

Method Detail

_persistence_getFetchGroupback to summary
public FetchGroup _persistence_getFetchGroup()

Return the fetch group being tracked

_persistence_getSessionback to summary
public Session _persistence_getSession()

Return the session for the object.

_persistence_isAttributeFetchedback to summary
public boolean _persistence_isAttributeFetched(String attribute)

Return true if the attribute is in the fetch group being tracked.

_persistence_resetFetchGroupback to summary
public void _persistence_resetFetchGroup()

Reset all attributes of the tracked object to the unfetched state with initial default values.

_persistence_setFetchGroupback to summary
public void _persistence_setFetchGroup(FetchGroup group)

Set a fetch group to be tracked.

_persistence_setSessionback to summary
public void _persistence_setSession(Session session)

Set true if the fetch group attributes should be refreshed

_persistence_setShouldRefreshFetchGroupback to summary
public void _persistence_setShouldRefreshFetchGroup(boolean shouldRefreshFetchGroup)

Set true if the fetch group attributes should be refreshed.

_persistence_shouldRefreshFetchGroupback to summary
public boolean _persistence_shouldRefreshFetchGroup()

Return true if the fetch group attributes should be refreshed.