|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.core.MtoNBroker
Manage all stuff related to non-decomposed M:N association.
Constructor Summary | |
MtoNBroker(PersistenceBroker broker)
|
Method Summary | |
void |
deleteMtoNImplementor(CollectionDescriptor cod,
java.lang.Object obj)
delete all rows from m:n table belonging to obj |
void |
deleteMtoNImplementor(CollectionDescriptor cod,
java.lang.Object obj,
java.util.Collection relatedObjects,
java.util.Collection mnKeys)
deletes all rows from m:n table that are not used in relatedObjects |
void |
deleteMtoNImplementor(MtoNImplementor m2n)
|
java.util.Collection |
getMtoNImplementor(CollectionDescriptor cod,
java.lang.Object obj)
get a Collection of Keys of already existing m:n rows |
void |
storeMtoNImplementor(CollectionDescriptor cod,
java.lang.Object obj,
java.lang.Object otherObj,
java.util.Collection mnKeys)
Stores new values of a M:N association in a indirection table. |
void |
storeMtoNImplementor(MtoNImplementor m2n)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MtoNBroker(PersistenceBroker broker)
Method Detail |
public void storeMtoNImplementor(CollectionDescriptor cod, java.lang.Object obj, java.lang.Object otherObj, java.util.Collection mnKeys)
public java.util.Collection getMtoNImplementor(CollectionDescriptor cod, java.lang.Object obj)
cod
- obj
-
public void deleteMtoNImplementor(CollectionDescriptor cod, java.lang.Object obj)
cod
- obj
- public void deleteMtoNImplementor(CollectionDescriptor cod, java.lang.Object obj, java.util.Collection relatedObjects, java.util.Collection mnKeys)
cod
- obj
- relatedObjects
- mnKeys
- public void storeMtoNImplementor(MtoNImplementor m2n)
m2n
- public void deleteMtoNImplementor(MtoNImplementor m2n)
m2n
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |