- GET_METADATA - Static variable in class javax.jdo.spi.JDOPermission
-
An instance of JDOPermission
to be used for
getMetadata
permission checking.
- getBooleanField(PersistenceCapable, int, boolean) - Method in interface javax.jdo.spi.StateManager
-
Return the value for the field.
- getByteField(PersistenceCapable, int, byte) - Method in interface javax.jdo.spi.StateManager
-
Return the value for the field.
- getCandidateClass() - Method in interface javax.jdo.Extent
-
An Extent
contains all instances of a particular class in the data
store; this method returns the Class
of the instances.
- getCause() - Method in exception javax.jdo.JDOException
-
Often there is only one nested exception, and this method returns it.
- getCharField(PersistenceCapable, int, char) - Method in interface javax.jdo.spi.StateManager
-
Return the value for the field.
- getConnectionDriverName() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get the driver name for the data store connection.
- getConnectionFactory() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get the data store connection factory.
- getConnectionFactory2() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get the second data store connection factory.
- getConnectionFactory2Name() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get the name for the second data store connection factory.
- getConnectionFactoryName() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get the name for the data store connection factory.
- getConnectionURL() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get the URL for the data store connection.
- getConnectionUserName() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get the user name for the data store connection.
- getDoubleField(PersistenceCapable, int, double) - Method in interface javax.jdo.spi.StateManager
-
Return the value for the field.
- getExtent(Class, boolean) - Method in interface javax.jdo.PersistenceManager
-
The PersistenceManager
manages a collection of instances in the data
store based on the class of the instances.
- getFailedObject() - Method in exception javax.jdo.JDOException
-
The exception may include a failed object.
- getFieldFlags(Class) - Method in class javax.jdo.spi.JDOImplHelper
-
Get the field flags for a PersistenceCapable
class.
- getFieldFlags() - Method in class javax.jdo.spi.RegisterClassEvent
-
Returns the flags of the managed field of the persistence-capable class.
- getFieldNames(Class) - Method in class javax.jdo.spi.JDOImplHelper
-
Get the field names for a PersistenceCapable
class.
- getFieldNames() - Method in class javax.jdo.spi.RegisterClassEvent
-
Returns the names of the managed field of the persistence-capable class.
- getFieldTypes(Class) - Method in class javax.jdo.spi.JDOImplHelper
-
Get the field types for a PersistenceCapable
class.
- getFieldTypes() - Method in class javax.jdo.spi.RegisterClassEvent
-
Returns the types of the managed field of the persistence-capable class.
- getFloatField(PersistenceCapable, int, float) - Method in interface javax.jdo.spi.StateManager
-
Return the value for the field.
- getIgnoreCache() - Method in interface javax.jdo.PersistenceManager
-
Get the ignoreCache setting for queries.
- getIgnoreCache() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get the default IgnoreCache setting for all PersistenceManager
instances
obtained from this factory.
- getIgnoreCache() - Method in interface javax.jdo.Query
-
Get the ignoreCache option setting.
- getInstance(String) - Static method in class javax.jdo.spi.I18NHelper
-
An instance bound to a bundle.
- getInstance(Class) - Static method in class javax.jdo.spi.I18NHelper
-
An instance bound to a bundle.
- getInstance(String, ClassLoader) - Static method in class javax.jdo.spi.I18NHelper
-
An instance bound to a bundle.
- getInstance() - Static method in class javax.jdo.spi.JDOImplHelper
-
Get an instance of JDOImplHelper
.
- getIntField(PersistenceCapable, int, int) - Method in interface javax.jdo.spi.StateManager
-
Return the value for the field.
- getLongField(PersistenceCapable, int, long) - Method in interface javax.jdo.spi.StateManager
-
Return the value for the field.
- getMultithreaded() - Method in interface javax.jdo.PersistenceManager
-
Get the current Multithreaded flag for this PersistenceManager
.
- getMultithreaded() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get the default Multithreaded setting for all PersistenceManager
instances
obtained from this factory.
- getNestedExceptions() - Method in exception javax.jdo.JDOException
-
The exception may have been caused by multiple exceptions in the runtime.
- getNontransactionalRead() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get the default NontransactionalRead setting for all PersistenceManager
instances
obtained from this factory.
- getNontransactionalRead() - Method in interface javax.jdo.Transaction
-
If true
, allows persistent instances to be read without
a transaction active.
- getNontransactionalWrite() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get the default NontransactionalWrite setting for all PersistenceManager
instances
obtained from this factory.
- getNontransactionalWrite() - Method in interface javax.jdo.Transaction
-
If true
, allows persistent instances to be written without
a transaction active.
- getObjectById(Object, boolean) - Method in interface javax.jdo.PersistenceManager
-
This method locates a persistent instance in the cache of instances
managed by this PersistenceManager
.
- getObjectField(PersistenceCapable, int, Object) - Method in interface javax.jdo.spi.StateManager
-
Return the value for the field.
- getObjectId(Object) - Static method in class javax.jdo.JDOHelper
-
Return a copy of the JDO identity associated with the parameter instance.
- getObjectId(Object) - Method in interface javax.jdo.PersistenceManager
-
The ObjectId returned by this method represents the JDO identity of
the instance.
- getObjectId(PersistenceCapable) - Method in interface javax.jdo.spi.StateManager
-
Return the object representing the JDO identity
of the calling instance.
- getObjectIdClass(Class) - Method in interface javax.jdo.PersistenceManager
-
Return the Class
that implements the JDO Identity for the
specified PersistenceCapable
class.
- getOptimistic() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get the default Optimistic setting for all PersistenceManager
instances
obtained from this factory.
- getOptimistic() - Method in interface javax.jdo.Transaction
-
Optimistic transactions do not hold data store locks until commit time.
- getPersistenceCapableSuperclass(Class) - Method in class javax.jdo.spi.JDOImplHelper
-
Get the persistence-capable superclass for a PersistenceCapable
class.
- getPersistenceCapableSuperclass() - Method in class javax.jdo.spi.RegisterClassEvent
-
Returns the class object of the persistence-capable superclass.
- getPersistenceManager() - Method in interface javax.jdo.Extent
-
An Extent
is managed by a PersistenceManager
;
this method gives access to the owning PersistenceManager
.
- getPersistenceManager(Object) - Static method in class javax.jdo.JDOHelper
-
Return the associated PersistenceManager
if there is one.
- getPersistenceManager() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get an instance of PersistenceManager
from this factory.
- getPersistenceManager(String, String) - Method in interface javax.jdo.PersistenceManagerFactory
-
Get an instance of PersistenceManager
from this factory.
- getPersistenceManager() - Method in interface javax.jdo.Query
-
Get the PersistenceManager
associated with this Query
.
- getPersistenceManager(PersistenceCapable) - Method in interface javax.jdo.spi.StateManager
-
Return the PersistenceManager
that owns this instance.
- getPersistenceManager() - Method in interface javax.jdo.Transaction
-
The Transaction
instance is always associated with exactly one
PersistenceManager
.
- getPersistenceManagerFactory(Properties) - Static method in class javax.jdo.JDOHelper
-
Get a PersistenceManagerFactory
based on a Properties
instance, using
the current thread's context class loader to locate the
PersistenceManagerFactory
class.
- getPersistenceManagerFactory(Properties, ClassLoader) - Static method in class javax.jdo.JDOHelper
-
Get a PersistenceManagerFactory
based on a Properties
instance and a class loader.
- getPersistenceManagerFactory() - Method in interface javax.jdo.PersistenceManager
-
This method returns the PersistenceManagerFactory
used to create
this PersistenceManager
.
- getProperties() - Method in interface javax.jdo.PersistenceManagerFactory
-
Return non-configurable properties of this PersistenceManagerFactory
.
- getRegisteredClass() - Method in class javax.jdo.spi.RegisterClassEvent
-
Returns the class object of the registered persistence-capable class.
- getRegisteredClasses() - Method in class javax.jdo.spi.JDOImplHelper
-
Returns a collection of class objects of the registered
persistence-capable classes.
- getResourceBundle() - Method in class javax.jdo.spi.I18NHelper
-
Returns the resource bundle used by this I18NHelper.
- getRestoreValues() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get the default value for the RestoreValues property.
- getRestoreValues() - Method in interface javax.jdo.Transaction
-
Return the current value of the restoreValues property.
- getRetainValues() - Method in interface javax.jdo.PersistenceManagerFactory
-
Get the default RetainValues setting for all PersistenceManager
instances
obtained from this factory.
- getRetainValues() - Method in interface javax.jdo.Transaction
-
If true
, at commit time instances retain their field values.
- getShortField(PersistenceCapable, int, short) - Method in interface javax.jdo.spi.StateManager
-
Return the value for the field.
- getStringField(PersistenceCapable, int, String) - Method in interface javax.jdo.spi.StateManager
-
Return the value for the field.
- getSynchronization() - Method in interface javax.jdo.Transaction
-
The user-specified Synchronization
instance for this Transaction
instance.
- getTransactionalObjectId(Object) - Static method in class javax.jdo.JDOHelper
-
Return a copy of the JDO identity associated with the parameter instance.
- getTransactionalObjectId(Object) - Method in interface javax.jdo.PersistenceManager
-
The ObjectId returned by this method represents the JDO identity of
the instance.
- getTransactionalObjectId(PersistenceCapable) - Method in interface javax.jdo.spi.StateManager
-
Return the object representing the JDO identity
of the calling instance.
- getUserObject() - Method in interface javax.jdo.PersistenceManager
-
The application can manage the PersistenceManager
instances
more easily by having an application object associated with each
PersistenceManager
instance.
- javax.jdo - package javax.jdo
-
This package contains the JDO specification interfaces and classes.
- javax.jdo.spi - package javax.jdo.spi
-
This package contains the interfaces and classes used by JDO implementations.
- JDOCanRetryException - Exception in javax.jdo
-
This is the base class for exceptions that can be retried.
- JDOCanRetryException() - Constructor for exception javax.jdo.JDOCanRetryException
-
Constructs a new JDOCanRetryException
without a detail message.
- JDOCanRetryException(String) - Constructor for exception javax.jdo.JDOCanRetryException
-
Constructs a new JDOCanRetryException
with the specified detail message.
- JDOCanRetryException(String, Throwable[]) - Constructor for exception javax.jdo.JDOCanRetryException
-
Constructs a new JDOCanRetryException
with the specified detail
message and nested Throwable
s.
- JDOCanRetryException(String, Throwable) - Constructor for exception javax.jdo.JDOCanRetryException
-
Constructs a new JDOCanRetryException
with the specified detail
message and nested Throwables.
- JDOCanRetryException(String, Object) - Constructor for exception javax.jdo.JDOCanRetryException
-
Constructs a new JDOCanRetryException
with the specified detail message
and failed object.
- JDOCanRetryException(String, Throwable[], Object) - Constructor for exception javax.jdo.JDOCanRetryException
-
Constructs a new JDOCanRetryException
with the specified detail message,
nested Throwable
s, and failed object.
- JDOCanRetryException(String, Throwable, Object) - Constructor for exception javax.jdo.JDOCanRetryException
-
Constructs a new JDOCanRetryException
with the specified detail message,
nested Throwable
s, and failed object.
- jdoCopyFields(Object, int[]) - Method in interface javax.jdo.spi.PersistenceCapable
-
Copy field values from another instance of the same class
to this instance.
- jdoCopyKeyFieldsFromObjectId(PersistenceCapable.ObjectIdFieldConsumer, Object) - Method in interface javax.jdo.spi.PersistenceCapable
-
Copy fields to an outside source from the key fields in the ObjectId.
- jdoCopyKeyFieldsToObjectId(Object) - Method in interface javax.jdo.spi.PersistenceCapable
-
Copy fields from this PersistenceCapable instance to the Object Id instance.
- jdoCopyKeyFieldsToObjectId(PersistenceCapable.ObjectIdFieldSupplier, Object) - Method in interface javax.jdo.spi.PersistenceCapable
-
Copy fields from an outside source to the key fields in the ObjectId.
- JDODataStoreException - Exception in javax.jdo
-
This class represents data store exceptions that can be retried.
- JDODataStoreException() - Constructor for exception javax.jdo.JDODataStoreException
-
Constructs a new JDODataStoreException
without a detail message.
- JDODataStoreException(String) - Constructor for exception javax.jdo.JDODataStoreException
-
Constructs a new JDODataStoreException
with the specified detail message.
- JDODataStoreException(String, Throwable[]) - Constructor for exception javax.jdo.JDODataStoreException
-
Constructs a new JDODataStoreException
with the specified
detail message and nested Throwable
s.
- JDODataStoreException(String, Throwable) - Constructor for exception javax.jdo.JDODataStoreException
-
Constructs a new JDODataStoreException
with the specified
detail message and nested Throwable
s.
- JDODataStoreException(String, Object) - Constructor for exception javax.jdo.JDODataStoreException
-
Constructs a new JDODataStoreException
with the specified detail message
and failed object.
- JDODataStoreException(String, Throwable[], Object) - Constructor for exception javax.jdo.JDODataStoreException
-
Constructs a new JDODataStoreException
with the specified detail message,
nested Throwable
s, and failed object.
- JDODataStoreException(String, Throwable, Object) - Constructor for exception javax.jdo.JDODataStoreException
-
Constructs a new JDODataStoreException
with the specified detail message,
nested Throwable
s, and failed object.
- JDOException - Exception in javax.jdo
-
This is the root of all JDO Exceptions.
- JDOException() - Constructor for exception javax.jdo.JDOException
-
Constructs a new JDOException
without a detail message.
- JDOException(String) - Constructor for exception javax.jdo.JDOException
-
Constructs a new JDOException
with the specified detail message.
- JDOException(String, Throwable[]) - Constructor for exception javax.jdo.JDOException
-
Constructs a new JDOException
with the specified detail message
and nested Throwable
s.
- JDOException(String, Throwable) - Constructor for exception javax.jdo.JDOException
-
Constructs a new JDOException
with the specified detail message
and nested Throwable
.
- JDOException(String, Object) - Constructor for exception javax.jdo.JDOException
-
Constructs a new JDOException
with the specified detail message
and failed object.
- JDOException(String, Throwable[], Object) - Constructor for exception javax.jdo.JDOException
-
Constructs a new JDOException
with the specified detail message,
nested Throwable
s, and failed object.
- JDOException(String, Throwable, Object) - Constructor for exception javax.jdo.JDOException
-
Constructs a new JDOException
with the specified detail message,
nested Throwable
, and failed object.
- JDOFatalDataStoreException - Exception in javax.jdo
-
This class represents data store exceptions that cannot be retried.
- JDOFatalDataStoreException() - Constructor for exception javax.jdo.JDOFatalDataStoreException
-
Constructs a new JDOFatalDataStoreException
without a detail message.
- JDOFatalDataStoreException(String) - Constructor for exception javax.jdo.JDOFatalDataStoreException
-
Constructs a new JDOFatalDataStoreException
with the specified detail message.
- JDOFatalDataStoreException(String, Object) - Constructor for exception javax.jdo.JDOFatalDataStoreException
-
Constructs a new JDOFatalDataStoreException
with the specified detail message
and failed object.
- JDOFatalDataStoreException(String, Throwable[]) - Constructor for exception javax.jdo.JDOFatalDataStoreException
-
Constructs a new JDOFatalDataStoreException
with the specified
detail message and nested Throwable
s.
- JDOFatalDataStoreException(String, Throwable) - Constructor for exception javax.jdo.JDOFatalDataStoreException
-
Constructs a new JDOFatalDataStoreException
with the specified
detail message and nested Throwable
s.
- JDOFatalException - Exception in javax.jdo
-
This class represents exceptions that are fatal; that is, the condition
that caused it cannot be bypassed even if the operation is retried.
- JDOFatalException() - Constructor for exception javax.jdo.JDOFatalException
-
Constructs a new JDOFatalException
without a detail message.
- JDOFatalException(String) - Constructor for exception javax.jdo.JDOFatalException
-
Constructs a new JDOFatalException
with the specified detail message.
- JDOFatalException(String, Throwable[]) - Constructor for exception javax.jdo.JDOFatalException
-
Constructs a new JDOFatalException
with the specified detail
message and nested Throwable
s.
- JDOFatalException(String, Throwable) - Constructor for exception javax.jdo.JDOFatalException
-
Constructs a new JDOFatalException
with the specified detail
message and nested Throwable
s.
- JDOFatalException(String, Object) - Constructor for exception javax.jdo.JDOFatalException
-
Constructs a new JDOFatalException
with the specified detail message
and failed object.
- JDOFatalException(String, Throwable[], Object) - Constructor for exception javax.jdo.JDOFatalException
-
Constructs a new JDOFatalException
with the specified detail message,
nested Throwable
s, and failed object.
- JDOFatalException(String, Throwable, Object) - Constructor for exception javax.jdo.JDOFatalException
-
Constructs a new JDOFatalException
with the specified detail message,
nested Throwable
s, and failed object.
- JDOFatalInternalException - Exception in javax.jdo
-
This class represents errors in the implementation for which no user
error handling is possible.
- JDOFatalInternalException() - Constructor for exception javax.jdo.JDOFatalInternalException
-
Constructs a new JDOFatalInternalException
without a detail message.
- JDOFatalInternalException(String) - Constructor for exception javax.jdo.JDOFatalInternalException
-
Constructs a new JDOFatalInternalException
with the specified detail message.
- JDOFatalInternalException(String, Throwable[]) - Constructor for exception javax.jdo.JDOFatalInternalException
-
Constructs a new JDOFatalInternalException
with the specified
detail message and nested Throwable
s.
- JDOFatalInternalException(String, Throwable) - Constructor for exception javax.jdo.JDOFatalInternalException
-
Constructs a new JDOFatalInternalException
with the specified
detail message and nested Throwable
s.
- JDOFatalUserException - Exception in javax.jdo
-
This class represents user errors that cannot be retried.
- JDOFatalUserException() - Constructor for exception javax.jdo.JDOFatalUserException
-
Constructs a new JDOFatalUserException
without a detail message.
- JDOFatalUserException(String) - Constructor for exception javax.jdo.JDOFatalUserException
-
Constructs a new JDOFatalUserException
with the specified detail message.
- JDOFatalUserException(String, Throwable[]) - Constructor for exception javax.jdo.JDOFatalUserException
-
Constructs a new JDOFatalUserException
with the specified
detail message and nested Throwable
s.
- JDOFatalUserException(String, Throwable) - Constructor for exception javax.jdo.JDOFatalUserException
-
Constructs a new JDOFatalUserException
with the specified
detail message and nested Throwable
s.
- JDOFatalUserException(String, Object) - Constructor for exception javax.jdo.JDOFatalUserException
-
Constructs a new JDOFatalUserException
with the specified
detail message and failed object.
- JDOFatalUserException(String, Throwable[], Object) - Constructor for exception javax.jdo.JDOFatalUserException
-
Constructs a new JDOFatalUserException
with the specified
detail message, nested Throwable
s, and failed object.
- JDOFatalUserException(String, Throwable, Object) - Constructor for exception javax.jdo.JDOFatalUserException
-
Constructs a new JDOFatalUserException
with the specified
detail message, nested Throwable
s, and failed object.
- jdoGetObjectId() - Method in interface javax.jdo.spi.PersistenceCapable
-
Return a copy of the JDO identity associated with this instance.
- jdoGetPersistenceManager() - Method in interface javax.jdo.spi.PersistenceCapable
-
Return the associated PersistenceManager if there is one.
- jdoGetTransactionalObjectId() - Method in interface javax.jdo.spi.PersistenceCapable
-
Return a copy of the JDO identity associated with this instance.
- JDOHelper - Class in javax.jdo
-
This class can be used by a JDO-aware application to call the JDO behavior
of PersistenceCapable
instances without declaring them to be
PersistenceCapable
.
- JDOHelper() - Constructor for class javax.jdo.JDOHelper
-
- JDOImplHelper - Class in javax.jdo.spi
-
This class is a helper class for JDO implementations.
- jdoIsDeleted() - Method in interface javax.jdo.spi.PersistenceCapable
-
Tests whether this object has been deleted.
- jdoIsDirty() - Method in interface javax.jdo.spi.PersistenceCapable
-
Tests whether this object is dirty.
- jdoIsNew() - Method in interface javax.jdo.spi.PersistenceCapable
-
Tests whether this object has been newly made persistent.
- jdoIsPersistent() - Method in interface javax.jdo.spi.PersistenceCapable
-
Tests whether this object is persistent.
- jdoIsTransactional() - Method in interface javax.jdo.spi.PersistenceCapable
-
Tests whether this object is transactional.
- jdoMakeDirty(String) - Method in interface javax.jdo.spi.PersistenceCapable
-
Explicitly mark this instance and this field dirty.
- jdoNewInstance(StateManager) - Method in interface javax.jdo.spi.PersistenceCapable
-
Return a new instance of this class, with the jdoStateManager set to the
parameter, and jdoFlags set to LOAD_REQUIRED.
- jdoNewInstance(StateManager, Object) - Method in interface javax.jdo.spi.PersistenceCapable
-
Return a new instance of this class, with the jdoStateManager set to the
parameter, key fields initialized to the values in the oid, and jdoFlags
set to LOAD_REQUIRED.
- jdoNewObjectIdInstance() - Method in interface javax.jdo.spi.PersistenceCapable
-
Create a new instance of the ObjectId class for this PersistenceCapable class.
- jdoNewObjectIdInstance(String) - Method in interface javax.jdo.spi.PersistenceCapable
-
Create a new instance of the ObjectId class for this PersistenceCapable
class, using the String form of the constructor.
- JDOObjectNotFoundException - Exception in javax.jdo
-
This class represents exceptions caused by the user accessing
an object that does not exist in the datastore.
- JDOObjectNotFoundException() - Constructor for exception javax.jdo.JDOObjectNotFoundException
-
Constructs a new JDOObjectNotFoundException
without a detail message.
- JDOObjectNotFoundException(String) - Constructor for exception javax.jdo.JDOObjectNotFoundException
-
Constructs a new JDOObjectNotFoundException
with the specified detail message.
- JDOObjectNotFoundException(String, Object) - Constructor for exception javax.jdo.JDOObjectNotFoundException
-
Constructs a new JDOObjectNotFoundException
with the specified detail message
and failed object.
- JDOObjectNotFoundException(String, Throwable[]) - Constructor for exception javax.jdo.JDOObjectNotFoundException
-
Constructs a new JDOObjectNotFoundException
with the
specified detail message and nested Throwable
s.
- JDOOptimisticVerificationException - Exception in javax.jdo
-
This class represents optimistic verification failures.
- JDOOptimisticVerificationException() - Constructor for exception javax.jdo.JDOOptimisticVerificationException
-
Constructs a new JDOOptimisticVerificationException
without a detail message.
- JDOOptimisticVerificationException(String) - Constructor for exception javax.jdo.JDOOptimisticVerificationException
-
Constructs a new JDOOptimisticVerificationException
with the specified detail message.
- JDOOptimisticVerificationException(String, Object) - Constructor for exception javax.jdo.JDOOptimisticVerificationException
-
Constructs a new JDOOptimisticVerificationException
with the specified detail message
and failed object.
- JDOOptimisticVerificationException(String, Throwable[]) - Constructor for exception javax.jdo.JDOOptimisticVerificationException
-
Constructs a new JDOOptimisticVerificationException
with the specified
detail message and nested Throwable
s.
- JDOPermission - Class in javax.jdo.spi
-
The JDOPermission
class is for operations that are reserved for JDO
implementations and should not be called by other code.
- JDOPermission(String) - Constructor for class javax.jdo.spi.JDOPermission
-
Constructs a JDOPermission
with the specified name.
- JDOPermission(String, String) - Constructor for class javax.jdo.spi.JDOPermission
-
Constructs a JDOPermission
with the specified name and actions.
- jdoPostLoad() - Method in interface javax.jdo.InstanceCallbacks
-
Called after the values are loaded from the data store into
this instance.
- jdoPreClear() - Method in interface javax.jdo.InstanceCallbacks
-
Called before the values in the instance are cleared.
- jdoPreDelete() - Method in interface javax.jdo.InstanceCallbacks
-
Called before the instance is deleted.
- jdoPreStore() - Method in interface javax.jdo.InstanceCallbacks
-
Called before the values are stored from this instance to the
data store.
- jdoProvideField(int) - Method in interface javax.jdo.spi.PersistenceCapable
-
The owning StateManager uses this method to ask the instance to
provide the value of the single field identified by fieldNumber.
- jdoProvideFields(int[]) - Method in interface javax.jdo.spi.PersistenceCapable
-
The owning StateManager uses this method to ask the instance to
provide the values of the multiple fields identified by fieldNumbers.
- jdoReplaceField(int) - Method in interface javax.jdo.spi.PersistenceCapable
-
The owning StateManager uses this method to ask the instance to
replace the value of the single field identified by number.
- jdoReplaceFields(int[]) - Method in interface javax.jdo.spi.PersistenceCapable
-
The owning StateManager uses this method to ask the instance to
replace the values of the multiple fields identified by number.
- jdoReplaceFlags() - Method in interface javax.jdo.spi.PersistenceCapable
-
The owning StateManager uses this method to ask the instance to
replace the value of the flags by calling back the StateManager
replacingFlags method.
- jdoReplaceStateManager(StateManager) - Method in interface javax.jdo.spi.PersistenceCapable
-
This method sets the StateManager instance that manages the state
of this instance.
- JDOUnsupportedOptionException - Exception in javax.jdo
-
This class represents exceptions caused by the use of optional features
not supported by the JDO implementation.
- JDOUnsupportedOptionException() - Constructor for exception javax.jdo.JDOUnsupportedOptionException
-
Constructs a new JDOUnsupportedOptionException
without a detail message.
- JDOUnsupportedOptionException(String) - Constructor for exception javax.jdo.JDOUnsupportedOptionException
-
Constructs a new JDOUnsupportedOptionException
with the specified detail message.
- JDOUnsupportedOptionException(String, Throwable[]) - Constructor for exception javax.jdo.JDOUnsupportedOptionException
-
Constructs a new JDOUnsupportedOptionException
with the
specified detail message and nested Throwable
s.
- JDOUnsupportedOptionException(String, Throwable) - Constructor for exception javax.jdo.JDOUnsupportedOptionException
-
Constructs a new JDOUnsupportedOptionException
with the
specified detail message and nested Throwable
s.
- JDOUserException - Exception in javax.jdo
-
This class represents user errors that can possibly be retried.
- JDOUserException() - Constructor for exception javax.jdo.JDOUserException
-
Constructs a new JDOUserException
without a detail message.
- JDOUserException(String) - Constructor for exception javax.jdo.JDOUserException
-
Constructs a new JDOUserException
with the specified detail message.
- JDOUserException(String, Throwable[]) - Constructor for exception javax.jdo.JDOUserException
-
Constructs a new JDOUserException
with the specified detail message
and nested Throwable
s.
- JDOUserException(String, Throwable) - Constructor for exception javax.jdo.JDOUserException
-
Constructs a new JDOUserException
with the specified detail message
and nested Throwable
s.
- JDOUserException(String, Object) - Constructor for exception javax.jdo.JDOUserException
-
Constructs a new JDOUserException
with the specified detail message
and failed object.
- JDOUserException(String, Throwable[], Object) - Constructor for exception javax.jdo.JDOUserException
-
Constructs a new JDOUserException
with the specified detail message,
nested Throwable
s, and failed object.
- JDOUserException(String, Throwable, Object) - Constructor for exception javax.jdo.JDOUserException
-
Constructs a new JDOUserException
with the specified detail message,
nested Throwable
s, and failed object.
- READ_OK - Static variable in interface javax.jdo.spi.PersistenceCapable
-
If jdoFlags is set to READ_OK, then the fields in the default fetch group
can be accessed for read without notifying the StateManager.
- READ_WRITE_OK - Static variable in interface javax.jdo.spi.PersistenceCapable
-
If jdoFlags is set to READ_WRITE_OK, then the fields in the default fetch group
can be accessed for read or write without notifying the StateManager.
- refresh(Object) - Method in interface javax.jdo.PersistenceManager
-
Refresh the state of the instance from the data store.
- refreshAll(Object[]) - Method in interface javax.jdo.PersistenceManager
-
Refresh the state of an array of instances from the data store.
- refreshAll(Collection) - Method in interface javax.jdo.PersistenceManager
-
Refresh the state of a Collection
of instances from the data store.
- refreshAll() - Method in interface javax.jdo.PersistenceManager
-
Refresh the state of all applicable instances from the data store.
- registerAuthorizedStateManagerClass(Class) - Static method in class javax.jdo.spi.JDOImplHelper
-
Register a class authorized to replaceStateManager.
- registerAuthorizedStateManagerClasses(Collection) - Static method in class javax.jdo.spi.JDOImplHelper
-
Register classes authorized to replaceStateManager.
- registerClass(Class, String[], Class[], byte[], Class, PersistenceCapable) - Static method in class javax.jdo.spi.JDOImplHelper
-
Register metadata by class.
- registerClass(RegisterClassEvent) - Method in interface javax.jdo.spi.RegisterClassListener
-
This method gets called when a persistence-capable class is registered.
- RegisterClassEvent - Class in javax.jdo.spi
-
A RegisterClassEvent
event gets delivered whenever a persistence-capable
class registers itself with the JDOImplHelper
.
- RegisterClassEvent(JDOImplHelper, Class, String[], Class[], byte[], Class) - Constructor for class javax.jdo.spi.RegisterClassEvent
-
Constructs a new RegisterClassEvent
.
- RegisterClassListener - Interface in javax.jdo.spi
-
A "RegisterClassEvent" event gets fired whenever a persistence-capable class
is loaded and gets registered with the JDOImplHelper
.
- removeRegisterClassListener(RegisterClassListener) - Method in class javax.jdo.spi.JDOImplHelper
-
Remove the specified RegisterClassListener
from the listener list.
- replacingBooleanField(PersistenceCapable, int) - Method in interface javax.jdo.spi.StateManager
-
The replacing value of the field in the calling instance
- replacingByteField(PersistenceCapable, int) - Method in interface javax.jdo.spi.StateManager
-
The replacing value of the field in the calling instance
- replacingCharField(PersistenceCapable, int) - Method in interface javax.jdo.spi.StateManager
-
The replacing value of the field in the calling instance
- replacingDoubleField(PersistenceCapable, int) - Method in interface javax.jdo.spi.StateManager
-
The replacing value of the field in the calling instance
- replacingFlags(PersistenceCapable) - Method in interface javax.jdo.spi.StateManager
-
The owning StateManager
uses this method to supply the
value of the flags to the PersistenceCapable
instance.
- replacingFloatField(PersistenceCapable, int) - Method in interface javax.jdo.spi.StateManager
-
The replacing value of the field in the calling instance
- replacingIntField(PersistenceCapable, int) - Method in interface javax.jdo.spi.StateManager
-
The replacing value of the field in the calling instance
- replacingLongField(PersistenceCapable, int) - Method in interface javax.jdo.spi.StateManager
-
The replacing value of the field in the calling instance
- replacingObjectField(PersistenceCapable, int) - Method in interface javax.jdo.spi.StateManager
-
The replacing value of the field in the calling instance
- replacingShortField(PersistenceCapable, int) - Method in interface javax.jdo.spi.StateManager
-
The replacing value of the field in the calling instance
- replacingStateManager(PersistenceCapable, StateManager) - Method in interface javax.jdo.spi.StateManager
-
Replace the current value of jdoStateManager
.
- replacingStringField(PersistenceCapable, int) - Method in interface javax.jdo.spi.StateManager
-
The replacing value of the field in the calling instance
- retrieve(Object) - Method in interface javax.jdo.PersistenceManager
-
Retrieve field values of an instance from the store.
- retrieveAll(Collection) - Method in interface javax.jdo.PersistenceManager
-
Retrieve field values of instances from the store.
- retrieveAll(Collection, boolean) - Method in interface javax.jdo.PersistenceManager
-
Retrieve field values of instances from the store.
- retrieveAll(Object[]) - Method in interface javax.jdo.PersistenceManager
-
Retrieve field values of instances from the store.
- retrieveAll(Object[], boolean) - Method in interface javax.jdo.PersistenceManager
-
Retrieve field values of instances from the store.
- rollback() - Method in interface javax.jdo.Transaction
-
Roll back the current transaction.
- SERIALIZABLE - Static variable in interface javax.jdo.spi.PersistenceCapable
-
If jdoFieldFlags for a field includes SERIALIZABLE,
then the field is not declared as TRANSIENT.
- SET_STATE_MANAGER - Static variable in class javax.jdo.spi.JDOPermission
-
An instance of JDOPermission
to be used for
setStateManager
permission checking.
- setBooleanField(PersistenceCapable, int, boolean, boolean) - Method in interface javax.jdo.spi.StateManager
-
Mark the field as modified by the user.
- setByteField(PersistenceCapable, int, byte, byte) - Method in interface javax.jdo.spi.StateManager
-
Mark the field as modified by the user.
- setCandidates(Extent) - Method in interface javax.jdo.Query
-
Set the candidate Extent
to query.
- setCandidates(Collection) - Method in interface javax.jdo.Query
-
Set the candidate Collection
to query.
- setCharField(PersistenceCapable, int, char, char) - Method in interface javax.jdo.spi.StateManager
-
Mark the field as modified by the user.
- setClass(Class) - Method in interface javax.jdo.Query
-
Set the class of the candidate instances of the query.
- setConnectionDriverName(String) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the driver name for the data store connection.
- setConnectionFactory(Object) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the data store connection factory.
- setConnectionFactory2(Object) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the second data store connection factory.
- setConnectionFactory2Name(String) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the name for the second data store connection factory.
- setConnectionFactoryName(String) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the name for the data store connection factory.
- setConnectionPassword(String) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the password for the data store connection.
- setConnectionURL(String) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the URL for the data store connection.
- setConnectionUserName(String) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the user name for the data store connection.
- setDoubleField(PersistenceCapable, int, double, double) - Method in interface javax.jdo.spi.StateManager
-
Mark the field as modified by the user.
- setFilter(String) - Method in interface javax.jdo.Query
-
Set the filter for the query.
- setFloatField(PersistenceCapable, int, float, float) - Method in interface javax.jdo.spi.StateManager
-
Mark the field as modified by the user.
- setIgnoreCache(boolean) - Method in interface javax.jdo.PersistenceManager
-
Set the ignoreCache parameter for queries.
- setIgnoreCache(boolean) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the default IgnoreCache setting for all PersistenceManager
instances
obtained from this factory.
- setIgnoreCache(boolean) - Method in interface javax.jdo.Query
-
Set the ignoreCache option.
- setIntField(PersistenceCapable, int, int, int) - Method in interface javax.jdo.spi.StateManager
-
Mark the field as modified by the user.
- setLongField(PersistenceCapable, int, long, long) - Method in interface javax.jdo.spi.StateManager
-
Mark the field as modified by the user.
- setMultithreaded(boolean) - Method in interface javax.jdo.PersistenceManager
-
Set the Multithreaded flag for this PersistenceManager
.
- setMultithreaded(boolean) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the default Multithreaded setting for all PersistenceManager
instances
obtained from this factory.
- setNontransactionalRead(boolean) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the default NontransactionalRead setting for all PersistenceManager
instances
obtained from this factory.
- setNontransactionalRead(boolean) - Method in interface javax.jdo.Transaction
-
If true
, allow persistent instances to be read without
a transaction active.
- setNontransactionalWrite(boolean) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the default NontransactionalWrite setting for all PersistenceManager
instances
obtained from this factory.
- setNontransactionalWrite(boolean) - Method in interface javax.jdo.Transaction
-
If true
, allow persistent instances to be written without
a transaction active.
- setObjectField(PersistenceCapable, int, Object, Object) - Method in interface javax.jdo.spi.StateManager
-
Mark the field as modified by the user.
- setOptimistic(boolean) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the default Optimistic setting for all PersistenceManager
instances
obtained from this factory.
- setOptimistic(boolean) - Method in interface javax.jdo.Transaction
-
Optimistic transactions do not hold data store locks until commit time.
- setOrdering(String) - Method in interface javax.jdo.Query
-
Set the ordering specification for the result Collection
.
- setRestoreValues(boolean) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the default value for the RestoreValues property.
- setRestoreValues(boolean) - Method in interface javax.jdo.Transaction
-
If true
, at rollback, fields of newly persistent instances
are restored to
their values as of the beginning of the transaction, and the instances
revert to transient.
- setRetainValues(boolean) - Method in interface javax.jdo.PersistenceManagerFactory
-
Set the default RetainValues setting for all PersistenceManager
instances
obtained from this factory.
- setRetainValues(boolean) - Method in interface javax.jdo.Transaction
-
If true
, at commit instances retain their values and the instances
transition to persistent-nontransactional.
- setShortField(PersistenceCapable, int, short, short) - Method in interface javax.jdo.spi.StateManager
-
Mark the field as modified by the user.
- setStringField(PersistenceCapable, int, String, String) - Method in interface javax.jdo.spi.StateManager
-
Mark the field as modified by the user.
- setSynchronization(Synchronization) - Method in interface javax.jdo.Transaction
-
The user can specify a Synchronization
instance to be notified on
transaction completions.
- setUserObject(Object) - Method in interface javax.jdo.PersistenceManager
-
The application can manage the PersistenceManager
instances
more easily by having an application object associated with each
PersistenceManager
instance.
- StateManager - Interface in javax.jdo.spi
-
This interface is the point of contact between managed instances of
PersistenceCapable
classes and the JDO implementation.
- storeBooleanField(int, boolean) - Method in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
-
Store one field into the field manager.
- storeByteField(int, byte) - Method in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
-
Store one field into the field manager.
- storeCharField(int, char) - Method in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
-
Store one field into the field manager.
- storeDoubleField(int, double) - Method in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
-
Store one field into the field manager.
- storeFloatField(int, float) - Method in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
-
Store one field into the field manager.
- storeIntField(int, int) - Method in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
-
Store one field into the field manager.
- storeLongField(int, long) - Method in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
-
Store one field into the field manager.
- storeObjectField(int, Object) - Method in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
-
Store one field into the field manager.
- storeShortField(int, short) - Method in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
-
Store one field into the field manager.
- storeStringField(int, String) - Method in interface javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer
-
Store one field into the field manager.
- supportedOptions() - Method in interface javax.jdo.PersistenceManagerFactory
-
The application can determine from the results of this
method which optional features, and which query languages
are supported by the JDO implementation.