Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


oracle.jbo.datasource
Class WSEODataSourceImpl

java.lang.Object
  extended by oracle.jbo.datasource.WSEODataSourceImpl

All Implemented Interfaces:
EntityDataSource

public class WSEODataSourceImpl
extends java.lang.Object
implements EntityDataSource
Since:
release specific (what release of product did this appear in)

Constructor Summary
WSEODataSourceImpl()
           

 

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

WSEODataSourceImpl

public WSEODataSourceImpl()

Method Detail

findByPrimaryKey

public Entity findByPrimaryKey(EntityDefImpl entityDef,
                               Key key)
Description copied from interface: EntityDataSource
Look up the entity by the key.
Specified by:
findByPrimaryKey in interface EntityDataSource
key - The key of the entity being searched.
Returns:
The AttributeList with the key.

findByPrimaryKeys

public Entity[] findByPrimaryKeys(EntityDefImpl entityDef,
                                  Key[] keys)
Description copied from interface: EntityDataSource
Look up the entities by the array of the keys.
Specified by:
findByPrimaryKeys in interface EntityDataSource
keys - The array of the key to be searched.
Returns:
The array of AttributeList with the keys.

insert

public void insert(Entity eo)
Description copied from interface: EntityDataSource
Insert an entity.
Specified by:
insert in interface EntityDataSource
Parameters:
eo - The Entity to be inserted.

update

public void update(Entity eo)
Description copied from interface: EntityDataSource
Update an entity.
Specified by:
update in interface EntityDataSource
Parameters:
eo - Then entity to be updated.

delete

public void delete(Entity eo)
Description copied from interface: EntityDataSource
Delete an entity.
Specified by:
delete in interface EntityDataSource
Parameters:
eo - The entity to be deleted.

process

public void process(int operation,
                    java.util.ArrayList<Entity> entities)
Description copied from interface: EntityDataSource
Process CRUD operations for a list of entities. It will be called when entity is specified BatchThreshold option and the number of posted entities is more than BatchThreshold
Specified by:
process in interface EntityDataSource
Parameters:
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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-03


Copyright © 1997, 2009, Oracle. All rights reserved.