|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.jbo.datasource.SampleEODataSourceImpl
public class SampleEODataSourceImpl
| Constructor Summary | |
|---|---|
SampleEODataSourceImpl() |
|
| Method Summary | |
|---|---|
void |
delete(Entity eo)Delete an entity. |
Entity |
findByPrimaryKey(EntityDefImpl entityDef, Key key)Look up the entity by the key. |
Entity[] |
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 operation, java.util.ArrayList<Entity> entities)Process CRUD operations for a list of entities. |
void |
update(Entity eo)Update an entity. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SampleEODataSourceImpl()
| Method Detail |
|---|
public Entity findByPrimaryKey(EntityDefImpl entityDef,
Key key)
EntityDataSourcefindByPrimaryKey in interface EntityDataSourcekey - The key of the entity being searched.
public Entity[] findByPrimaryKeys(EntityDefImpl entityDef,
Key[] keys)
EntityDataSourcefindByPrimaryKeys in interface EntityDataSourcekeys - The array of the key to be searched.public void insert(Entity eo)
EntityDataSourceinsert in interface EntityDataSourceeo - The Entity to be inserted.public void update(Entity eo)
EntityDataSourceupdate in interface EntityDataSourceeo - Then entity to be updated.public void delete(Entity eo)
EntityDataSourcedelete in interface EntityDataSourceeo - The entity to be deleted.
public void process(int operation,
java.util.ArrayList<Entity> entities)
EntityDataSourceprocess in interface EntityDataSourceoperation - 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 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||