public class WSEODataSourceImpl extends java.lang.Object implements EntityDataSource
| Constructor and Description | 
|---|
WSEODataSourceImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
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