|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.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)
EntityDataSource
findByPrimaryKey in interface EntityDataSourcekey - The key of the entity being searched.
public Entity[] findByPrimaryKeys(EntityDefImpl entityDef,
Key[] keys)
EntityDataSource
findByPrimaryKeys in interface EntityDataSourcekeys - The array of the key to be searched.
public void insert(Entity eo)
EntityDataSource
insert in interface EntityDataSourceeo - The Entity to be inserted.public void update(Entity eo)
EntityDataSource
update in interface EntityDataSourceeo - Then entity to be updated.public void delete(Entity eo)
EntityDataSource
delete in interface EntityDataSourceeo - The entity to be deleted.
public void process(int operation,
java.util.ArrayList<Entity> entities)
EntityDataSource
process 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.7.0) E10653-08 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||