Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.2.0)

E17483-03


oracle.jbo.datasource.svc
Class SIEODataSourceImpl

java.lang.Object
  extended by oracle.jbo.datasource.svc.SIEODataSourceImpl

All Implemented Interfaces:
CtrlHintsSupport, EntityDataSource

public class SIEODataSourceImpl
extends java.lang.Object
implements EntityDataSource, CtrlHintsSupport

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

SIEODataSourceImpl

public SIEODataSourceImpl()

Method Detail

findByPrimaryKey

public AttributeList findByPrimaryKey(EntityDefImpl entityDef,
                                      Key key)
pluggable entity datasource find operation.
Specified by:
findByPrimaryKey in interface EntityDataSource
key - The key of the entity being searched.
Returns:
The AttributeList with the key.

findByPrimaryKeys

public AttributeList[] findByPrimaryKeys(EntityDefImpl entityDef,
                                         Key[] keys)
pluggable entity datasource find operation.
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)
pluggable entity datasource insert operation.
Specified by:
insert in interface EntityDataSource
Parameters:
eo - The Entity to be inserted.

update

public void update(Entity eo)
pluggable entity datasource's update operation
Specified by:
update in interface EntityDataSource
Parameters:
eo - Then entity to be updated.

delete

public void delete(Entity eo)
pluggable entity datasource's delete operation
Specified by:
delete in interface EntityDataSource
Parameters:
eo - The entity to be deleted.

process

public void process(int processOp,
                    java.util.ArrayList<Entity> entities)
pluggable entity datasource's process operation
Specified by:
process in interface EntityDataSource
Parameters:
processOp - The type of the operation. It can be EntityImpl.DML_DELTE, EntityImpl.DML_INSERT, and EntityImpl.DML_UPDATE.
entities - a list of entity objects

isCtrlHintsSupported

public boolean isCtrlHintsSupported()
Description copied from interface: CtrlHintsSupport
Returns a flag specifying if the underlying datasource can retrieve the static control hints defined on the server-side EOs and VOs.
Specified by:
isCtrlHintsSupported in interface CtrlHintsSupport
Returns:
true if the underlying datasource supports control hints and false otherwise.

getControlHints

public java.util.List<AttrCtrlHints> getControlHints(java.lang.String localeName)
Description copied from interface: CtrlHintsSupport
Returns the base UI hints for a given locale.
Specified by:
getControlHints in interface CtrlHintsSupport
Parameters:
localeName - a locale name
Returns:
default control hints.

isRowCtrlHintsSupported

public boolean isRowCtrlHintsSupported()
Description copied from interface: CtrlHintsSupport
Returns a flag specifying if the underlying datasource can retrieve the row-specific control hints defined on the server-side EOs and VOs.
Specified by:
isRowCtrlHintsSupported in interface CtrlHintsSupport
Returns:
true if the underlying datasource supports row-level specific control hints and false otherwise.

getContextKey

public java.util.List<java.lang.String> getContextKey()
Description copied from interface: CtrlHintsSupport
Returns the list of attributes that is to be considered the context key attributes for looking up row-level UI hints.
Specified by:
getContextKey in interface CtrlHintsSupport
Returns:
context key attributes.

getControlHints

public java.util.List<AttrCtrlHints> getControlHints(Row row,
                                                     java.lang.String localeName)
Description copied from interface: CtrlHintsSupport
Returns the row-level UI hints for a given locale.
Specified by:
getControlHints in interface CtrlHintsSupport
Parameters:
row - the data row
localeName - a locale name
Returns:
row-level control hints.

setDataSourceDef

public void setDataSourceDef(DataSourceDef dsDef)
Description copied from interface: CtrlHintsSupport
Sets the DataSourceDef to be used with the instance.
Specified by:
setDataSourceDef in interface CtrlHintsSupport
Parameters:
dsDef - the datasource metadata

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.2.0)

E17483-03


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