|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoadService
The LoadService
interface is used by the client side of the
framework to load collections and entities from the server. The developer
should provide a custom implementation of this interface unless the provided
EJB (org.h3t.ejb.LoadServiceBean
) is used.
LoadServiceFactory
,
org.h3t.ejb.LoadServiceBean
,
Loader
Method Summary | |
---|---|
java.util.Collection |
loadAssociatedCollection(java.lang.Object entity,
org.h3t.util.SerializableField field)
Loads a collection associated with an entity. |
java.util.Collection |
loadAssociatedCollection(java.lang.Object entity,
org.h3t.util.SerializableMethod property)
Loads a collection associated with an entity. |
java.lang.Object |
loadAssociatedEntity(java.lang.Object entity,
org.h3t.util.SerializableField field)
Loads a child entity associated with an entity. |
java.lang.Object |
loadAssociatedEntity(java.lang.Object entity,
org.h3t.util.SerializableMethod property)
Loads a child entity associated with an entity. |
Method Detail |
---|
java.util.Collection loadAssociatedCollection(java.lang.Object entity, org.h3t.util.SerializableMethod property)
entity
- The entity associated with the collection to be loaded.method
- The method on the entity that returns the collection.
java.util.Collection loadAssociatedCollection(java.lang.Object entity, org.h3t.util.SerializableField field)
entity
- The entity associated with the collection to be loaded.field
- The field on the entity by which the collection is accessed.
java.lang.Object loadAssociatedEntity(java.lang.Object entity, org.h3t.util.SerializableMethod property)
entity
- The parent of the child entity to be loaded.method
- The method on the entity that returns the child entity.
java.lang.Object loadAssociatedEntity(java.lang.Object entity, org.h3t.util.SerializableField field)
entity
- The parent of the child entity to be loaded.field
- The field on the entity by which the child entity is accessed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |