|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jbo.datasource.svc.SIEODataSourceImpl
public class SIEODataSourceImpl
Constructor Summary | |
---|---|
SIEODataSourceImpl() |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SIEODataSourceImpl()
Method Detail |
---|
public AttributeList findByPrimaryKey(EntityDefImpl entityDef, Key key)
findByPrimaryKey
in interface EntityDataSource
key
- The key of the entity being searched.public AttributeList[] findByPrimaryKeys(EntityDefImpl entityDef, Key[] keys)
findByPrimaryKeys
in interface EntityDataSource
keys
- The array of the key to be searched.public void insert(Entity eo)
insert
in interface EntityDataSource
eo
- The Entity to be inserted.public void update(Entity eo)
update
in interface EntityDataSource
eo
- Then entity to be updated.public void delete(Entity eo)
delete
in interface EntityDataSource
eo
- The entity to be deleted.public void process(int processOp, java.util.ArrayList<Entity> entities)
process
in interface EntityDataSource
processOp
- 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()
CtrlHintsSupport
isCtrlHintsSupported
in interface CtrlHintsSupport
true
if the underlying datasource supports control hints and false
otherwise.public java.util.List<AttrCtrlHints> getControlHints(java.lang.String localeName)
CtrlHintsSupport
getControlHints
in interface CtrlHintsSupport
localeName
- a locale namepublic boolean isRowCtrlHintsSupported()
CtrlHintsSupport
isRowCtrlHintsSupported
in interface CtrlHintsSupport
true
if the underlying datasource supports row-level specific control hints and false
otherwise.public java.util.List<java.lang.String> getContextKey()
CtrlHintsSupport
getContextKey
in interface CtrlHintsSupport
public java.util.List<AttrCtrlHints> getControlHints(Row row, java.lang.String localeName)
CtrlHintsSupport
getControlHints
in interface CtrlHintsSupport
row
- the data rowlocaleName
- a locale namepublic void setDataSourceDef(DataSourceDef dsDef)
CtrlHintsSupport
setDataSourceDef
in interface CtrlHintsSupport
dsDef
- the datasource metadata
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |