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