|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.2.0) E17483-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityDataSource
Method Summary | |
---|---|
void |
delete(Entity eo) Delete an entity. |
AttributeList |
findByPrimaryKey(EntityDefImpl entityDef, Key key) Look up the entity by the key. |
AttributeList[] |
findByPrimaryKeys(EntityDefImpl entityDef, Key[] keys) Look up the entities by the array of the keys. |
void |
insert(Entity eo) Insert an entity. |
void |
process(int op, java.util.ArrayList<Entity> entities) Process CRUD operations for a list of entities. |
void |
update(Entity eo) Update an entity. |
Method Detail |
---|
AttributeList findByPrimaryKey(EntityDefImpl entityDef, Key key)
key
- The key of the entity being searched.AttributeList[] findByPrimaryKeys(EntityDefImpl entityDef, Key[] keys)
keys
- The array of the key to be searched.void insert(Entity eo)
eo
- The Entity to be inserted.void update(Entity eo)
eo
- Then entity to be updated.void delete(Entity eo)
eo
- The entity to be deleted.void process(int op, java.util.ArrayList<Entity> entities)
op
- The type of the operation. It can be EntityImpl.DML_DELTE, EntityImpl.DML_INSERT, and EntityImpl.DML_UPDATE.entities
- a list of entity objects
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.2.0) E17483-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |