Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C D E F G H I J L M N O P R S T V _

A

ArrayIterator - class ojb.broker.ArrayIterator.
this Iterator is used to iterate over Arrays.
ArrayIterator(Object) - Constructor for class ojb.broker.ArrayIterator
create an Iterator for the Array array.
abortTransaction() - Method in interface ojb.broker.PersistenceBroker
Abort and close the transaction.
abortTransaction() - Method in class ojb.broker.PersistenceBrokerImpl
Abort and close the transaction.
afterDelete() - Method in interface ojb.broker.PersistenceBrokerAware
this method is called as the last operation within a call to PersistenceBroker.delete(PersistenceBrokerAware instance).
afterLookup() - Method in interface ojb.broker.PersistenceBrokerAware
this method is called as the last operation within a call to PersistenceBroker.getObjectByXXX() or PersistenceBroker.getCollectionByXXX().
afterStore() - Method in interface ojb.broker.PersistenceBrokerAware
this method is called as the last operation within a call to PersistenceBroker.store(PersistenceBrokerAware instance).
alreadyMaterialized() - Method in class ojb.broker.VirtualProxy
returns true if the real subject already been loaded

B

beforeDelete() - Method in interface ojb.broker.PersistenceBrokerAware
this method is called as the first operation within a call to PersistenceBroker.delete(PersistenceBrokerAware instance).
beforeStore() - Method in interface ojb.broker.PersistenceBrokerAware
this method is called as the first operation within a call to PersistenceBroker.store(PersistenceBrokerAware instance).
beginTransaction() - Method in interface ojb.broker.PersistenceBroker
begin a transaction against the underlying RDBMS.
beginTransaction() - Method in class ojb.broker.PersistenceBrokerImpl
begin a transaction against the underlying RDBMS.
broker - Variable in class ojb.broker.SequenceManager
reference to the PersistenceBroker

C

ClassNotPersistenceCapableException - exception ojb.broker.ClassNotPersistenceCapableException.
This exception is thrown if a class is not described in the MetaData Repository, and thus cannot be handled properly by OJB
ClassNotPersistenceCapableException() - Constructor for class ojb.broker.ClassNotPersistenceCapableException
PersistenceBrokerClassNotPersistenceCapableException constructor comment.
ClassNotPersistenceCapableException(String) - Constructor for class ojb.broker.ClassNotPersistenceCapableException
PersistenceBrokerClassNotPersistenceCapableException constructor comment.
ConversionStrategy - interface ojb.broker.ConversionStrategy.
ConversionStrategy declares a protocol for type and Value conversions between Java objects and SQL types and values.
checkForPrimaryKeys() - Method in class ojb.broker.Identity
OJB can handle only classes that declare at least one primary key attribute, this method checks this condition.
classname - Variable in class ojb.broker.SequenceEntry
 
clearCache() - Method in interface ojb.broker.PersistenceBroker
clears the brokers internal cache.
close() - Method in interface ojb.broker.PersistenceBroker
close connection to last opened repository.
commitTransaction() - Method in interface ojb.broker.PersistenceBroker
Commit and close the transaction.
commitTransaction() - Method in class ojb.broker.PersistenceBrokerImpl
Commit and close the transaction.
createNewBrokerInstance() - Static method in class ojb.broker.PersistenceBrokerFactory
 
createPersistenceBroker(String) - Static method in class ojb.broker.PersistenceBrokerFactory
 
createPersistenceBroker() - Static method in class ojb.broker.PersistenceBrokerFactory
only for internal use, e.g in VirtualProxy
createProxy(Class, Identity) - Static method in class ojb.broker.VirtualProxy
static factory method creates VirtualProxy instances of a given subclass and an real subjects identity.
current - Variable in class ojb.broker.SequenceEntry
 

D

delete(Object) - Method in interface ojb.broker.PersistenceBroker
deletes the objects obj concrete representation in the underlying persistence system.
delete(Object) - Method in class ojb.broker.PersistenceBrokerImpl
deletes Object obj's representation in the underlying RDBMS
delete() - Method in interface ojb.broker.Persistent
generates and executes a DELETE Statement that remove the objects representation from the underlying database.
delete() - Method in class ojb.broker.PersistentObject
generates and executes a DELETE Statement that remove the objects representation from the underlying database.
deleteCollections(Object, Vector) - Method in class ojb.broker.PersistenceBrokerImpl
Method declaration
deleteReferences(Object, Vector) - Method in class ojb.broker.PersistenceBrokerImpl
Method declaration

E

equals(Object) - Method in class ojb.broker.Identity
Compare this Identity object to any other object.

F

fieldname - Variable in class ojb.broker.SequenceEntry
 
fromByteArray(byte[]) - Static method in class ojb.broker.Identity
factory method that returns an Identity object from the serialized Identity in anArray.

G

getBroker() - Static method in class ojb.broker.PersistentObject
return reference to PersistenceBroker
getClassDescriptor(Class) - Method in interface ojb.broker.PersistenceBroker
returns a ClassDescriptor for the persistence capable class clazz.
getClassname() - Method in class ojb.broker.SequenceEntry
Insert the method's description here.
getCollectionByQuery(Query) - Method in interface ojb.broker.PersistenceBroker
retrieve a collection of itemClass Objects matching the Query query.
getCollectionByQuery(Class, Query) - Method in interface ojb.broker.PersistenceBroker
retrieve a userdefined Collection that implements the interface Manageable collection that contains all Objects matching the Query query.
getCollectionByQuery(Class, Class, Class, Query) - Method in class ojb.broker.PersistenceBrokerImpl
retrieve a collection of itemClass Objects matching the Query query
getCollectionByQuery(Class, Class, Query) - Method in class ojb.broker.PersistenceBrokerImpl
retrieve a collection of itemClass Objects matching the Query query
getCollectionByQuery(Class, Query) - Method in class ojb.broker.PersistenceBrokerImpl
retrieve a collection of itemClass Objects matching the Query query
getCollectionByQuery(Query) - Method in class ojb.broker.PersistenceBrokerImpl
retrieve a collection of itemClass Objects matching the Query query
getConfigurator() - Static method in class ojb.broker.PersistenceBrokerFactory
 
getConnectionManager() - Method in interface ojb.broker.PersistenceBroker
 
getCount(Query) - Method in interface ojb.broker.PersistenceBroker
returns the count of elements a given query will return.
getCurrent() - Method in class ojb.broker.SequenceEntry
Insert the method's description here.
getDBObject(Identity) - Method in class ojb.broker.PersistenceBrokerImpl
Method declaration
getExtentClass(Class) - Method in interface ojb.broker.PersistenceBroker
returnsthe Extent to which the class clazz belongs.
getFieldname() - Method in class ojb.broker.SequenceEntry
Insert the method's description here.
getForeignKeyQuery(ClassDescriptor, FieldDescriptor[], Object[]) - Method in class ojb.broker.PersistenceBrokerImpl
Insert the method's description here.
getIdentity() - Method in class ojb.broker.VirtualProxy
 
getIndirectionHandler(VirtualProxy) - Static method in class ojb.broker.VirtualProxy
 
getInstance() - Static method in class ojb.broker.PersistenceBrokerImpl
Method declaration
getInstance(String) - Static method in class ojb.broker.PersistenceBrokerImpl
Method declaration
getInstance() - Static method in class ojb.broker.SequenceManager
return the singleton instance
getIteratorByQuery(Query) - Method in interface ojb.broker.PersistenceBroker
returns an Iterator that iterates Objects of class c if calling the .next() method.
getIteratorByQuery(Query) - Method in class ojb.broker.PersistenceBrokerImpl
returns an Iterator that iterates Objects of class c if calling the .next() method.
getIteratorFromQuery(Query, ClassDescriptor, Class) - Method in class ojb.broker.PersistenceBrokerImpl
Method declaration
getMaxForExtent(Class, String) - Method in class ojb.broker.SequenceManager
lookup all tables in extent clazz to find the current maximum value for fieldName
getMaxIdForClass(ClassDescriptor, String) - Method in class ojb.broker.SequenceManager
lookup current maximum value for fieldName in table cld.getTableName()
getNextId(Class, String) - Method in class ojb.broker.SequenceManager
 
getObjectByExample(Object) - Method in class ojb.broker.PersistenceBrokerImpl
retrieve an instance of Class c from the underlying persistence system by using a sample object for providing primary key information.
getObjectByIdentity(Identity) - Method in interface ojb.broker.PersistenceBroker
retrieve an Object by its Identity.
getObjectByIdentity(Identity) - Method in class ojb.broker.PersistenceBrokerImpl
Method declaration
getObjectByIdentity(Identity) - Static method in class ojb.broker.PersistentObject
The Object Factory for persistent objects.
getObjectByQuery(Query) - Method in interface ojb.broker.PersistenceBroker
retrieve an Object by query.
getObjectByQuery(Query) - Method in class ojb.broker.PersistenceBrokerImpl
retrieve an Object by query I.e perform a SELECT ...
getObjectsClass() - Method in class ojb.broker.Identity
return the Class of the real subject
getObjectsRealClass() - Method in class ojb.broker.Identity
return the "real" Class of the real subject
getPKEnumerationByQuery(Class, Query) - Method in interface ojb.broker.PersistenceBroker
returns an Enumeration of PrimaryKey Objects for objects of class DataClass.
getPKEnumerationByQuery(Class, Query) - Method in class ojb.broker.PersistenceBrokerImpl
returns an Enumeration of PrimaryKey Objects for objects of class DataClass.
getPrimaryKeyValues() - Method in class ojb.broker.Identity
return the list of Primary Key Values of the real subject
getRealSubject() - Method in class ojb.broker.VirtualProxy
returns the proxies real subject.
getReferencedObject(Object, ObjectReferenceDescriptor, ClassDescriptor) - Method in class ojb.broker.PersistenceBrokerImpl
retrieves an Object reference.
getReportQueryIteratorByQuery(Query) - Method in interface ojb.broker.PersistenceBroker
returns an Iterator that iterates Object[] calling the .next() method.
getSourceException() - Method in class ojb.broker.PersistenceBrokerException
Gets the sourceException.
getSourceObject() - Method in class ojb.broker.OptimisticLockException
Gets the sourceObject.
getStatementManager() - Method in interface ojb.broker.PersistenceBroker
 
getUniqueId(Class, String) - Method in interface ojb.broker.PersistenceBroker
returns a unique int for class extent and field attribute.
getUniqueId(Class, String) - Static method in class ojb.broker.SequenceManager
returns a unique int for class clazz and field fieldName.
getUniqueLong(Class, String) - Method in interface ojb.broker.PersistenceBroker
returns a unique long for class extent and field attribute.
getUniqueObject(Class, String) - Method in interface ojb.broker.PersistenceBroker
returns a unique Object for class extent and field attribute.
getUniqueString(Class, String) - Method in interface ojb.broker.PersistenceBroker
returns a unique String for class extent and field attribute.

H

hasNext() - Method in class ojb.broker.ArrayIterator
Returns true if the iteration has more elements.
hashCode() - Method in class ojb.broker.Identity
Calculate a hashcode for this Identity.

I

Identity - class ojb.broker.Identity.
represents the identity of an object.
Identity() - Constructor for class ojb.broker.Identity
empty constructor is private.
Identity(Object) - Constructor for class ojb.broker.Identity
creates an Identity from an object.
Identity(Class, Object[]) - Constructor for class ojb.broker.Identity
creates an Identity from a class and the objects primary key values.
inTransaction - Variable in class ojb.broker.PersistenceBrokerImpl
this flag tells if the Broker is currently processing a Transaction
indirectionHandler - Variable in class ojb.broker.VirtualProxy
reference to the IndirectionHandler that encapsulates the delegation mechanism
invalidate(Identity) - Method in interface ojb.broker.PersistenceBroker
removes the objects obj from the brokers internal cache and inform other caches in OJB cluster about invalidation.
isInTransaction() - Method in interface ojb.broker.PersistenceBroker
returns true if the broker performs a transaction.
isInTransaction() - Method in class ojb.broker.PersistenceBrokerImpl
returns true if the broker is currently running a transaction.

J

javaToSql(Object, FieldDescriptor) - Method in interface ojb.broker.ConversionStrategy
convert a Java object to its SQL pendant, used for insert & update

L

length - Variable in class ojb.broker.ArrayIterator
total length of myArray

M

ManageableCollection - interface ojb.broker.ManageableCollection.
OJB can handle java.util.Collection as well as user defined collection classes as collection attributes in persistent classes.
m_DbAccess - Variable in class ojb.broker.PersistenceBrokerImpl
m_DbAccess is used to do all Jdbc related work: connecting, executing...
m_DescriptorRepository - Variable in class ojb.broker.PersistenceBrokerImpl
holds mapping information for all classes to be treated by PersistenceBroker
m_ObjectCache - Variable in class ojb.broker.PersistenceBrokerImpl
m_ObjectCache caches object already loaded from db and protects the uniqueness of objects.
m_SqlGen - Variable in class ojb.broker.PersistenceBrokerImpl
m_SqlGen is a simple SQL Generator that produces all SQL Queries
markModified() - Method in class ojb.broker.SimpleObjectModificationImpl
Method declaration
myArray - Variable in class ojb.broker.ArrayIterator
the underlying array

N

needsInsert() - Method in interface ojb.broker.ObjectModification
returns true if the underlying Object needs an INSERT statement.
needsInsert - Variable in class ojb.broker.SimpleObjectModificationImpl
 
needsInsert() - Method in class ojb.broker.SimpleObjectModificationImpl
returns true if the underlying Object needs an INSERT statement.
needsUpdate() - Method in interface ojb.broker.ObjectModification
returns true if the underlying Object needs an UPDATE statement.
needsUpdate - Variable in class ojb.broker.SimpleObjectModificationImpl
 
needsUpdate() - Method in class ojb.broker.SimpleObjectModificationImpl
returns true if the underlying Object needs an UPDATE statement.
next() - Method in class ojb.broker.ArrayIterator
Returns the next element in the interation.

O

ObjectModification - interface ojb.broker.ObjectModification.
The Interface ObjectModification represents information about modifications of persistence capable objects.
OptimisticLockException - exception ojb.broker.OptimisticLockException.
 
OptimisticLockException() - Constructor for class ojb.broker.OptimisticLockException
Constructor for OptimisticLockException.
OptimisticLockException(String) - Constructor for class ojb.broker.OptimisticLockException
Constructor for OptimisticLockException.
OptimisticLockException(String, Object) - Constructor for class ojb.broker.OptimisticLockException
Constructor for OptimisticLockException.
OptimisticLockException(Throwable) - Constructor for class ojb.broker.OptimisticLockException
Constructor for OptimisticLockException.
objectsClass - Variable in class ojb.broker.Identity
the Class of the identified object
ie: an Interface
objectsRealClass - Variable in class ojb.broker.Identity
the real Class of the identified object
ie: the implementing Class
ojb.broker - package ojb.broker
 
ojbAdd(Object) - Method in interface ojb.broker.ManageableCollection
add a single Object to the Collection.
ojbAddAll(ManageableCollection) - Method in interface ojb.broker.ManageableCollection
adds a Collection to this collection.
ojbIterator() - Method in interface ojb.broker.ManageableCollection
returns an Iterator over all elements in the collection.
open(String, String, String) - Method in interface ojb.broker.PersistenceBroker
open a repository.

P

PersistenceBroker - interface ojb.broker.PersistenceBroker.
PersistenceBroker declares a protocol for persisting arbitrary objects.
PersistenceBrokerAware - interface ojb.broker.PersistenceBrokerAware.
This interface defines a protocol for persistent objects that must be aware of the operations of the PersistenceBroker.
PersistenceBrokerDBException - exception ojb.broker.PersistenceBrokerDBException.
Insert the type's description here.
PersistenceBrokerDBException() - Constructor for class ojb.broker.PersistenceBrokerDBException
PersistenceBrokerDBException constructor comment.
PersistenceBrokerDBException(String) - Constructor for class ojb.broker.PersistenceBrokerDBException
PersistenceBrokerDBException constructor comment.
PersistenceBrokerException - exception ojb.broker.PersistenceBrokerException.
The Base Exception for all Exceptions that can happend within ObjectRelationalBridge.
PersistenceBrokerException() - Constructor for class ojb.broker.PersistenceBrokerException
PersistenceBrokerException constructor comment.
PersistenceBrokerException(String) - Constructor for class ojb.broker.PersistenceBrokerException
Constructs a new PersistenceBrokerException with the specified detail message.
PersistenceBrokerException(String, Throwable) - Constructor for class ojb.broker.PersistenceBrokerException
 
PersistenceBrokerException(Throwable) - Constructor for class ojb.broker.PersistenceBrokerException
PersistenceBrokerException constructor comment.
PersistenceBrokerFactory - class ojb.broker.PersistenceBrokerFactory.
Factory class that produces PersistenceBroker instances
PersistenceBrokerFactory() - Constructor for class ojb.broker.PersistenceBrokerFactory
 
PersistenceBrokerImpl - class ojb.broker.PersistenceBrokerImpl.
The PersistenceBrokerImpl is an implementation of the PersistenceBroker Interface that specifies a persistence mechanism for generic objects.
PersistenceBrokerImpl() - Constructor for class ojb.broker.PersistenceBrokerImpl
Constructor declaration
PersistenceBrokerSQLException - exception ojb.broker.PersistenceBrokerSQLException.
 
PersistenceBrokerSQLException() - Constructor for class ojb.broker.PersistenceBrokerSQLException
 
PersistenceBrokerSQLException(Throwable) - Constructor for class ojb.broker.PersistenceBrokerSQLException
 
Persistent - interface ojb.broker.Persistent.
defines a minimum protocol for persistence capable classes.
PersistentObject - class ojb.broker.PersistentObject.
The PersistenceBroker allows to make objects of arbitrary classes persistent.
PersistentObject() - Constructor for class ojb.broker.PersistentObject
 
pkValues - Variable in class ojb.broker.Identity
The ordered list of primary key values maintaining the objects identity in the underlying RDBMS
position - Variable in class ojb.broker.ArrayIterator
current position of the Iterator

R

releaseInstance(PersistenceBroker) - Static method in class ojb.broker.PersistenceBrokerFactory
 
remove() - Method in class ojb.broker.ArrayIterator
Removes from the underlying collection the last element returned by the iterator (optional operation).
removeFromCache(Object) - Method in interface ojb.broker.PersistenceBroker
removes the objects obj from the brokers internal cache.
retrieveCollections(Object, ClassDescriptor) - Method in class ojb.broker.PersistenceBrokerImpl
Method declaration
retrieveReferences(Object, ClassDescriptor) - Method in class ojb.broker.PersistenceBrokerImpl
Method declaration

S

SequenceEntry - class ojb.broker.SequenceEntry.
Insert the type's description here.
SequenceEntry() - Constructor for class ojb.broker.SequenceEntry
SequenceEntry constructor comment.
SequenceEntry(String, String, int) - Constructor for class ojb.broker.SequenceEntry
SequenceEntry constructor comment.
SequenceManager - class ojb.broker.SequenceManager.
A simple SequenceManager.
SequenceManager() - Constructor for class ojb.broker.SequenceManager
Don't instantiate SequenceManager, just use the static method getUniqueId().
SimpleObjectModificationImpl - class ojb.broker.SimpleObjectModificationImpl.
Insert the type's description here.
SimpleObjectModificationImpl() - Constructor for class ojb.broker.SimpleObjectModificationImpl
ObjectModificationImpl constructor comment.
serialize() - Method in class ojb.broker.Identity
return a serialized Identity as byte[]
setClassDescriptor(ClassDescriptor) - Method in interface ojb.broker.PersistenceBroker
adds a new or replaces an existing ClassDescriptor to the DescriptorRepository.
setClassname(String) - Method in class ojb.broker.SequenceEntry
Insert the method's description here.
setCurrent(int) - Method in class ojb.broker.SequenceEntry
Insert the method's description here.
setDebug(boolean) - Static method in class ojb.broker.PersistenceBrokerImpl
set the debugging flag to true to enable debugging
setFieldname(String) - Method in class ojb.broker.SequenceEntry
Insert the method's description here.
setNeedsInsert(boolean) - Method in class ojb.broker.SimpleObjectModificationImpl
Method declaration
setNeedsUpdate(boolean) - Method in class ojb.broker.SimpleObjectModificationImpl
Method declaration
setObjectsRealClass(Class) - Method in class ojb.broker.Identity
set the objects real class
setSourceException(Throwable) - Method in class ojb.broker.PersistenceBrokerException
 
setSourceObject(Object) - Method in class ojb.broker.OptimisticLockException
Sets the sourceObject.
sourceException - Variable in class ojb.broker.PersistenceBrokerException
The cause of this Exception.
sourceObject - Variable in class ojb.broker.OptimisticLockException
 
sqlToJava(Object, FieldDescriptor) - Method in interface ojb.broker.ConversionStrategy
convert a SQL value to a Java Object, used for SELECT
store(Object) - Method in interface ojb.broker.PersistenceBroker
make object obj persistent in the underlying persistence system.
store(Object, ObjectModification) - Method in interface ojb.broker.PersistenceBroker
makes object obj persistent in the underlying persistence system.
store(Object) - Method in class ojb.broker.PersistenceBrokerImpl
Method declaration
store(Object, ObjectModification) - Method in class ojb.broker.PersistenceBrokerImpl
makes object obj persistent in the underlying persistence system.
store(Object, boolean) - Method in class ojb.broker.PersistenceBrokerImpl
makes object obj persistent in the underlying persistence system.
store() - Method in interface ojb.broker.Persistent
Make an object persistent.
store() - Method in class ojb.broker.PersistentObject
Make an object persistent.
storeCollections(Object, Vector) - Method in class ojb.broker.PersistenceBrokerImpl
Method declaration
storeReferences(Object, Vector) - Method in class ojb.broker.PersistenceBrokerImpl
Method declaration
stringRepresentation - Variable in class ojb.broker.Identity
 

T

TransactionAbortedException - exception ojb.broker.TransactionAbortedException.
 
TransactionAbortedException() - Constructor for class ojb.broker.TransactionAbortedException
Constructor for TransactionAbortedException.
TransactionAbortedException(String) - Constructor for class ojb.broker.TransactionAbortedException
Constructor for TransactionAbortedException.
TransactionAbortedException(Throwable) - Constructor for class ojb.broker.TransactionAbortedException
Constructor for TransactionAbortedException.
TransactionInProgressException - exception ojb.broker.TransactionInProgressException.
 
TransactionInProgressException() - Constructor for class ojb.broker.TransactionInProgressException
Constructor for TransactionInProgressException.
TransactionInProgressException(String) - Constructor for class ojb.broker.TransactionInProgressException
Constructor for TransactionInProgressException.
TransactionInProgressException(Throwable) - Constructor for class ojb.broker.TransactionInProgressException
Constructor for TransactionInProgressException.
TransactionNotInProgressException - exception ojb.broker.TransactionNotInProgressException.
 
TransactionNotInProgressException() - Constructor for class ojb.broker.TransactionNotInProgressException
Constructor for TransactionNotInProgressException.
TransactionNotInProgressException(String) - Constructor for class ojb.broker.TransactionNotInProgressException
Constructor for TransactionNotInProgressException.
TransactionNotInProgressException(Throwable) - Constructor for class ojb.broker.TransactionNotInProgressException
Constructor for TransactionNotInProgressException.
toString() - Method in class ojb.broker.Identity
return a String representation.

V

VirtualProxy - class ojb.broker.VirtualProxy.
Proxy base class.
VirtualProxy() - Constructor for class ojb.broker.VirtualProxy
 
VirtualProxy(Identity) - Constructor for class ojb.broker.VirtualProxy
create a VirtualProxy from an identity
VirtualProxy(InvocationHandler) - Constructor for class ojb.broker.VirtualProxy
create a VirtualProxy from an identity

_

_Instance - Static variable in class ojb.broker.PersistenceBrokerImpl
 
_TheBroker - Static variable in class ojb.broker.PersistentObject
The PersistenceBroker
_debug - Static variable in class ojb.broker.PersistenceBrokerImpl
debugging flag, false by default = no debugging
_instance - Static variable in class ojb.broker.SequenceManager
singleton instance of the SequenceManager

A B C D E F G H I J L M N O P R S T V _