FileDocCategorySizeDatePackage
PersistenceStore.javaAPI DocGlassfish v2 API3989Fri May 04 22:34:58 BST 2007com.sun.jdo.spi.persistence.support.sqlstore

PersistenceStore

public interface PersistenceStore

This interface represents a Persistence store that knows how to create, find, modify and delete persistence capable objects from a backing store such as a database.

Fields Summary
Constructors Summary
Methods Summary
public voidexecute(PersistenceManager pm, java.util.Collection actions)

public voidexecuteBatch(PersistenceManager pm, UpdateObjectDesc request, boolean forceFlush)

public java.lang.ClassgetClassByOidClass(java.lang.Class oidType)

public ConfigCachegetConfigCache()
Returns ConfigCache associated with this store.

return
ConfigCache associated with this store.

public PersistenceConfiggetPersistenceConfig(java.lang.Class classType)

public RetrieveDescgetRetrieveDesc(java.lang.Class classType)
Returns a new retrieve descriptor for an external (user) query.

param
classType Type of the persistence capable class to be queried.
return
A new retrieve descriptor for an external (user) query.

public RetrieveDescgetRetrieveDesc(java.lang.String fieldName, java.lang.Class classType)
Returns a new retrieve descriptor for an external (user) query. This retrieve descriptor can be used to query for the foreign field name.

param
fieldName Name of the foreign field to be queried.
param
classType Persistence capable class including fieldName.
return
A new retrieve descriptor for an external (user) query.

public StateManagergetStateManager(java.lang.Class classType)

public UpdateObjectDescgetUpdateObjectDesc(java.lang.Class classType)

public java.lang.Objectretrieve(PersistenceManager pm, RetrieveDesc action, ValueFetcher parameters)