public class SIEODataSourceImpl extends java.lang.Object implements EntityDataSource, CtrlHintsSupport
| Constructor and Description | 
|---|
SIEODataSourceImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
delete(Entity eo)
pluggable entity datasource's delete operation 
 | 
AttributeList | 
findByPrimaryKey(EntityDefImpl entityDef,
                Key key)
pluggable entity datasource find operation. 
 | 
AttributeList[] | 
findByPrimaryKeys(EntityDefImpl entityDef,
                 Key[] keys)
pluggable entity datasource find operation. 
 | 
java.util.List<java.lang.String> | 
getContextKey()
Returns the list of attributes that is to be considered the context key
 attributes for looking up row-level UI hints. 
 | 
java.util.List<AttrCtrlHints> | 
getControlHints(Row row,
               java.lang.String localeName)
Returns the row-level UI hints for a given locale. 
 | 
java.util.List<AttrCtrlHints> | 
getControlHints(java.lang.String localeName)
Returns the base UI hints for a given locale. 
 | 
void | 
insert(Entity eo)
pluggable entity datasource insert operation. 
 | 
boolean | 
isCtrlHintsSupported()
Returns a flag specifying if the underlying datasource can retrieve the
 static control hints defined on the server-side EOs and VOs. 
 | 
boolean | 
isRowCtrlHintsSupported()
Returns a flag specifying if the underlying datasource can retrieve the
 row-specific control hints defined on the server-side EOs and VOs. 
 | 
void | 
process(int processOp,
       java.util.ArrayList<Entity> entities)
pluggable entity datasource's process operation 
 | 
void | 
setDataSourceDef(DataSourceDef dsDef)
Sets the DataSourceDef to be used with the instance. 
 | 
void | 
update(Entity eo)
pluggable entity datasource's update operation 
 | 
public AttributeList findByPrimaryKey(EntityDefImpl entityDef, Key key)
findByPrimaryKey in interface EntityDataSourcekey - The key of the entity being searched.public AttributeList[] findByPrimaryKeys(EntityDefImpl entityDef, Key[] keys)
findByPrimaryKeys in interface EntityDataSourcekeys - The array of the key to be searched.public void insert(Entity eo)
insert in interface EntityDataSourceeo - The Entity to be inserted.public void update(Entity eo)
update in interface EntityDataSourceeo - Then entity to be updated.public void delete(Entity eo)
delete in interface EntityDataSourceeo - The entity to be deleted.public void process(int processOp,
                    java.util.ArrayList<Entity> entities)
process in interface EntityDataSourceprocessOp - The type of the operation. It can be EntityImpl.DML_DELTE, 
 EntityImpl.DML_INSERT, and EntityImpl.DML_UPDATE.entities - a list of entity objectspublic boolean isCtrlHintsSupported()
CtrlHintsSupportisCtrlHintsSupported in interface CtrlHintsSupporttrue if the underlying datasource supports control
          hints and false otherwise.public java.util.List<AttrCtrlHints> getControlHints(java.lang.String localeName)
CtrlHintsSupportgetControlHints in interface CtrlHintsSupportlocaleName - a locale namepublic boolean isRowCtrlHintsSupported()
CtrlHintsSupportisRowCtrlHintsSupported in interface CtrlHintsSupporttrue if the underlying datasource supports row-level
          specific control hints and false otherwise.public java.util.List<java.lang.String> getContextKey()
CtrlHintsSupportgetContextKey in interface CtrlHintsSupportpublic java.util.List<AttrCtrlHints> getControlHints(Row row, java.lang.String localeName)
CtrlHintsSupportgetControlHints in interface CtrlHintsSupportrow - the data rowlocaleName - a locale namepublic void setDataSourceDef(DataSourceDef dsDef)
CtrlHintsSupportsetDataSourceDef in interface CtrlHintsSupportdsDef - the datasource metadata