Skip navigation links

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

E52932-01


oracle.jbo.server.svc
Class ServiceImpl

java.lang.Object
  extended by oracle.jbo.server.ejb.SessionBeanImpl
      extended by oracle.jbo.server.svc.ServiceImpl

All Implemented Interfaces:
java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

public abstract class ServiceImpl
extends SessionBeanImpl
Since:
11.1.1
See Also:
Serialized Form

Nested Class Summary
protected  class ServiceImpl.NamedParam
           

 

Field Summary
protected  java.util.Stack appModuleStack
          stack to trace the appModule nested structure
protected  java.util.Stack exceptionHandlerStack
          stack to track the JboExceptionHandler
static java.lang.String FND_FLEX_INTEGRATED_EXTENSION
          Property Name for Flex DFF extension usage
static java.lang.String SERVICE_INITIALIZED
          static private field name for initialization indicator
static boolean SUPPORT_LAZY_LOADING
          Flag indicating whether the ADF service implementation supports lazy loading.

 

Fields inherited from class oracle.jbo.server.ejb.SessionBeanImpl
mApplicationModule

 

Constructor Summary
ServiceImpl()
          default constructor.

 

Method Summary
protected  commonj.sdo.DataObject create(java.lang.Object object, java.lang.String voName)
          Standard insert operation.
protected  commonj.sdo.DataObject create(java.lang.Object object, java.lang.String voName, java.sql.Date effectiveDate)
          Standard insert operation.
protected  MethodResult delete(java.lang.Object object, java.lang.String voName)
          Standard delete operation.
protected  MethodResult delete(java.lang.Object object, java.lang.String voName, java.sql.Date effectiveDate)
          Standard delete operation.
 void ejbRemove()
          Implementation of SessionBean.ejbRemove().
protected  java.lang.Object find(FindCriteria findCriteria, FindControl findControl, java.lang.String voName, java.lang.Class interfaceClass)
          Standard find operation.
protected  java.lang.Object find(FindCriteria findCriteria, FindControl findControl, java.lang.String voName, java.lang.Class interfaceClass, java.sql.Date effectiveDate)
          Standard find operation.
protected  java.lang.Object find(FindCriteria findCriteria, FindControl findControl, java.lang.String voName, java.lang.Class interfaceClass, java.lang.String vcName)
          Custom find operation based on View Criteria with literal values.
protected  java.lang.Object find(FindCriteria findCriteria, FindControl findControl, java.lang.String voName, java.lang.Class interfaceClass, java.lang.String vcName, java.sql.Date effectiveDate)
          Custom find operation based on View Criteria with literal values.
protected  java.lang.Object find(FindCriteria findCriteria, FindControl findControl, java.lang.String voName, java.lang.Class interfaceClass, java.lang.String vcName, ServiceImpl.NamedParam[] params)
          Custom find operation based on View Criteria with bind variables.
protected  java.lang.Object find(FindCriteria findCriteria, FindControl findControl, java.lang.String voName, java.lang.Class interfaceClass, java.lang.String vcName, ServiceImpl.NamedParam[] params, java.sql.Date effectiveDate)
          Custom find operation based on View Criteria with bind variables.
protected  commonj.sdo.DataObject get(java.lang.Object[] keyValues, java.lang.String voName, java.lang.Class interfaceClass)
          Standard select-by-PK operation.
protected  commonj.sdo.DataObject get(java.lang.Object[] keyValues, java.lang.String voName, java.lang.Class interfaceClass, java.sql.Date effectiveDate)
          Standard select-by-PK operation with effectiveDate
protected  ApplicationModule getApplicationModule()
          Gets an application module at the top of the stack without removing it from the stack.
protected  java.util.List<AttrCtrlHints> getCtrlHints(commonj.sdo.DataObject dataObject, java.lang.String voName, java.lang.String localeName)
          Returns the row-level UI hints defined on a view row for a given locale.
protected  java.util.List<AttrCtrlHints> getCtrlHints(commonj.sdo.DataObject dataObject, java.lang.String voName, java.lang.String localeName, java.sql.Date effectiveDate)
          Returns the row-level UI hints defined on a view row for a given locale.
protected  java.util.List<AttrCtrlHints> getCtrlHints(java.lang.String voName, java.lang.String localeName)
          Returns the base UI hints defined on a view object definition for a given locale.
protected  java.util.List<AttrCtrlHints> getCtrlHints(java.lang.String voName, java.lang.String localeName, java.sql.Date effectiveDate)
          Returns the base UI hints defined on a view object definition for a given locale.
 java.util.List<java.lang.String> getCtrlHintsKey(java.lang.String viewName)
          Returns the list of attributes that is to be considered the context key attributes for looking up row-level UI hints.
protected  java.util.List<java.lang.String> getCtrlHintsKey(java.lang.String voName, java.sql.Date effectiveDate)
          Returns the list of attributes that is to be considered the context key attributes for looking up row-level UI hints.
 ObjAttrHints getDfltObjAttrHints(java.lang.String viewName, java.lang.String localeName)
          Returns the labels and base UI hints defined on a view object definition for a given locale.
 ObjAttrHints getDfltObjAttrHintsAsync(java.lang.String viewName, java.lang.String localeName)
          getDfltObjAttrHintsAsync: generated method.
 java.util.List<ServiceViewInfo> getEntityList()
          Gets the list of service views exposed by this service.
 java.util.List<ServiceViewInfo> getEntityListAsync()
          getEntityListAsync: generated method.
 ObjAttrHints getObjAttrHints(commonj.sdo.DataObject row, java.lang.String viewName, java.lang.String localeName)
          Returns the labels defined on a view object definition and row-level UI hints defined on a view row for a given locale.
protected  ObjAttrHints getObjAttrHints(commonj.sdo.DataObject dataObject, java.lang.String voName, java.lang.String localeName, java.sql.Date effectiveDate)
          Returns the labels defined on a view object definition and row-level UI hints defined on a view row for a given locale.
 AttributeList getParentAttributeList(ViewObject viewObject, ViewRowImpl row, java.lang.String attributeName)
           
 java.sql.Timestamp getServiceLastUpdateTime()
           
 java.sql.Timestamp getServiceLastUpdateTimeAsync()
          getServiceLastUpdateTimeAsync: generated method.
protected  java.lang.Object handleError(java.lang.Exception e)
           
protected  java.lang.Object invokeCustom(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.String[] voNames, boolean enableWarnings)
           
protected  java.lang.Object invokeCustom(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.String[] voNames, boolean enableWarnings, java.sql.Date effectiveDate)
           
protected  java.lang.Object invokeCustom(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.String[] voNames, java.lang.Class interfaceClass, boolean enableWarnings)
           
protected  java.lang.Object invokeCustom(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.String[] voNames, java.lang.Class interfaceClass, boolean enableWarnings, java.sql.Date effectiveDate)
           
protected  commonj.sdo.DataObject merge(java.lang.Object object, java.lang.String voName)
          Standard merge (insert or update) operation
protected  commonj.sdo.DataObject merge(java.lang.Object object, java.lang.String voName, java.sql.Date effectiveDate)
          Standard merge (insert or update) operation
protected  java.lang.Object process(java.lang.String operation, ProcessControl processControl, java.util.List request, java.lang.String voName)
          Standard batch update operation.
protected  java.lang.Object process(java.lang.String operation, ProcessControl processControl, java.util.List request, java.lang.String voName, java.sql.Date effectiveDate)
          Standard batch update operation.
protected  ProcessData processChangeSummary(ProcessData request, ProcessControl processControl, java.lang.String voName)
          Standard batch update operation using SDO ChangeSummary.
protected  ProcessData processChangeSummary(ProcessData request, ProcessControl processControl, java.lang.String voName, java.sql.Date effectiveDate)
          Standard batch update operation using SDO ChangeSummary.
protected  commonj.sdo.DataObject update(java.lang.Object object, java.lang.String voName)
          Standard update operation.
protected  commonj.sdo.DataObject update(java.lang.Object object, java.lang.String voName, java.sql.Date effectiveDate)
          Standard update operation.

 

Methods inherited from class oracle.jbo.server.ejb.SessionBeanImpl
connectToDataSource, createApplicationModule, createApplicationModule, createTransactionHandlerFactory, disconnectFromDataSource, doMessage, ejbActivate, ejbPassivate, getApplicationModuleDefName, getConfigurationName, getSessionContext, getTransactionTimeOut, isJboBean, isTransactionManagedByBean, postApplicationModuleCreate, removeApplicationModule, setApplicationModuleDefName, setClientEnv, setConfigurationName, setCurrentSessionContext, setSessionContext, useDataSource

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

appModuleStack

protected java.util.Stack appModuleStack
stack to trace the appModule nested structure

SUPPORT_LAZY_LOADING

public static final boolean SUPPORT_LAZY_LOADING
Flag indicating whether the ADF service implementation supports lazy loading. When it is false, the while trees of the returned dataobjects will be materialized.
See Also:
Constant Field Values

FND_FLEX_INTEGRATED_EXTENSION

public static final java.lang.String FND_FLEX_INTEGRATED_EXTENSION
Property Name for Flex DFF extension usage
See Also:
Constant Field Values

SERVICE_INITIALIZED

public static final java.lang.String SERVICE_INITIALIZED
static private field name for initialization indicator
See Also:
Constant Field Values

exceptionHandlerStack

protected java.util.Stack exceptionHandlerStack
stack to track the JboExceptionHandler

Constructor Detail

ServiceImpl

public ServiceImpl()
default constructor. It will start the service monitor timer task.

Method Detail

ejbRemove

public void ejbRemove()
Description copied from class: SessionBeanImpl
Implementation of SessionBean.ejbRemove(). Calls removeApplicationModule to remove application module
Specified by:
ejbRemove in interface javax.ejb.SessionBean
Overrides:
ejbRemove in class SessionBeanImpl

getApplicationModule

protected ApplicationModule getApplicationModule()
Gets an application module at the top of the stack without removing it from the stack.
Overrides:
getApplicationModule in class SessionBeanImpl
Returns:
an application module, or null if the stack is empty.

create

protected final commonj.sdo.DataObject create(java.lang.Object object,
                                              java.lang.String voName)
Standard insert operation.
Parameters:
object - the DataObject to create
voName - name of the view instance
Returns:
the created DataObject.

create

protected final commonj.sdo.DataObject create(java.lang.Object object,
                                              java.lang.String voName,
                                              java.sql.Date effectiveDate)
Standard insert operation.
Parameters:
object - the DataObject to create
voName - name of the view instance
Returns:
the created DataObject.

getParentAttributeList

public AttributeList getParentAttributeList(ViewObject viewObject,
                                            ViewRowImpl row,
                                            java.lang.String attributeName)

delete

protected final MethodResult delete(java.lang.Object object,
                                    java.lang.String voName)
Standard delete operation.

delete

protected final MethodResult delete(java.lang.Object object,
                                    java.lang.String voName,
                                    java.sql.Date effectiveDate)
Standard delete operation.

get

protected final commonj.sdo.DataObject get(java.lang.Object[] keyValues,
                                           java.lang.String voName,
                                           java.lang.Class interfaceClass)
Standard select-by-PK operation.

get

protected final commonj.sdo.DataObject get(java.lang.Object[] keyValues,
                                           java.lang.String voName,
                                           java.lang.Class interfaceClass,
                                           java.sql.Date effectiveDate)
Standard select-by-PK operation with effectiveDate

merge

protected final commonj.sdo.DataObject merge(java.lang.Object object,
                                             java.lang.String voName)
Standard merge (insert or update) operation

merge

protected final commonj.sdo.DataObject merge(java.lang.Object object,
                                             java.lang.String voName,
                                             java.sql.Date effectiveDate)
Standard merge (insert or update) operation

update

protected final commonj.sdo.DataObject update(java.lang.Object object,
                                              java.lang.String voName)
Standard update operation.

update

protected final commonj.sdo.DataObject update(java.lang.Object object,
                                              java.lang.String voName,
                                              java.sql.Date effectiveDate)
Standard update operation.

process

protected final java.lang.Object process(java.lang.String operation,
                                         ProcessControl processControl,
                                         java.util.List request,
                                         java.lang.String voName)
Standard batch update operation.

process

protected final java.lang.Object process(java.lang.String operation,
                                         ProcessControl processControl,
                                         java.util.List request,
                                         java.lang.String voName,
                                         java.sql.Date effectiveDate)
Standard batch update operation.

processChangeSummary

protected final ProcessData processChangeSummary(ProcessData request,
                                                 ProcessControl processControl,
                                                 java.lang.String voName)
Standard batch update operation using SDO ChangeSummary.

processChangeSummary

protected final ProcessData processChangeSummary(ProcessData request,
                                                 ProcessControl processControl,
                                                 java.lang.String voName,
                                                 java.sql.Date effectiveDate)
Standard batch update operation using SDO ChangeSummary.

find

protected final java.lang.Object find(FindCriteria findCriteria,
                                      FindControl findControl,
                                      java.lang.String voName,
                                      java.lang.Class interfaceClass)
Standard find operation.

find

protected final java.lang.Object find(FindCriteria findCriteria,
                                      FindControl findControl,
                                      java.lang.String voName,
                                      java.lang.Class interfaceClass,
                                      java.sql.Date effectiveDate)
Standard find operation.

find

protected final java.lang.Object find(FindCriteria findCriteria,
                                      FindControl findControl,
                                      java.lang.String voName,
                                      java.lang.Class interfaceClass,
                                      java.lang.String vcName)
Custom find operation based on View Criteria with literal values.

find

protected final java.lang.Object find(FindCriteria findCriteria,
                                      FindControl findControl,
                                      java.lang.String voName,
                                      java.lang.Class interfaceClass,
                                      java.lang.String vcName,
                                      java.sql.Date effectiveDate)
Custom find operation based on View Criteria with literal values.

find

protected final java.lang.Object find(FindCriteria findCriteria,
                                      FindControl findControl,
                                      java.lang.String voName,
                                      java.lang.Class interfaceClass,
                                      java.lang.String vcName,
                                      ServiceImpl.NamedParam[] params)
Custom find operation based on View Criteria with bind variables.

find

protected final java.lang.Object find(FindCriteria findCriteria,
                                      FindControl findControl,
                                      java.lang.String voName,
                                      java.lang.Class interfaceClass,
                                      java.lang.String vcName,
                                      ServiceImpl.NamedParam[] params,
                                      java.sql.Date effectiveDate)
Custom find operation based on View Criteria with bind variables.

getCtrlHints

protected final java.util.List<AttrCtrlHints> getCtrlHints(java.lang.String voName,
                                                           java.lang.String localeName)
Returns the base UI hints defined on a view object definition for a given locale.
Parameters:
voName - service view instance name
localeName - locale name
Returns:
default control hints.

getCtrlHints

protected final java.util.List<AttrCtrlHints> getCtrlHints(java.lang.String voName,
                                                           java.lang.String localeName,
                                                           java.sql.Date effectiveDate)
Returns the base UI hints defined on a view object definition for a given locale.
Parameters:
voName - service view instance name
localeName - locale name
Returns:
default control hints.

getCtrlHintsKey

public java.util.List<java.lang.String> getCtrlHintsKey(java.lang.String viewName)
Returns the list of attributes that is to be considered the context key attributes for looking up row-level UI hints.
Parameters:
viewName - service view instance name
Returns:
names of context key attributes

getCtrlHintsKey

protected final java.util.List<java.lang.String> getCtrlHintsKey(java.lang.String voName,
                                                                 java.sql.Date effectiveDate)
Returns the list of attributes that is to be considered the context key attributes for looking up row-level UI hints.
Parameters:
voName - service view instance name
Returns:
context key attributes.

getCtrlHints

protected final java.util.List<AttrCtrlHints> getCtrlHints(commonj.sdo.DataObject dataObject,
                                                           java.lang.String voName,
                                                           java.lang.String localeName)
Returns the row-level UI hints defined on a view row for a given locale.
Parameters:
dataObject - the SDO DataObject that represents the view row
voName - service view instance name
localeName - locale name
Returns:
row-level control hints.

getCtrlHints

protected final java.util.List<AttrCtrlHints> getCtrlHints(commonj.sdo.DataObject dataObject,
                                                           java.lang.String voName,
                                                           java.lang.String localeName,
                                                           java.sql.Date effectiveDate)
Returns the row-level UI hints defined on a view row for a given locale.
Parameters:
dataObject - the SDO DataObject that represents the view row
voName - service view instance name
localeName - locale name
Returns:
row-level control hints.

getDfltObjAttrHints

public ObjAttrHints getDfltObjAttrHints(java.lang.String viewName,
                                        java.lang.String localeName)
Returns the labels and base UI hints defined on a view object definition for a given locale.
Parameters:
viewName - service view instance name
localeName - locale name
Returns:
labels and default control hints.

getDfltObjAttrHintsAsync

public ObjAttrHints getDfltObjAttrHintsAsync(java.lang.String viewName,
                                             java.lang.String localeName)
                                      throws ServiceException
getDfltObjAttrHintsAsync: generated method. Do not modify.
Throws:
ServiceException

getObjAttrHints

public ObjAttrHints getObjAttrHints(commonj.sdo.DataObject row,
                                    java.lang.String viewName,
                                    java.lang.String localeName)
Returns the labels defined on a view object definition and row-level UI hints defined on a view row for a given locale.
Parameters:
row - the SDO DataObject that represents the view row
viewName - service view instance name
localeName - locale name
Returns:
object labels and row-level control hints.

getObjAttrHints

protected final ObjAttrHints getObjAttrHints(commonj.sdo.DataObject dataObject,
                                             java.lang.String voName,
                                             java.lang.String localeName,
                                             java.sql.Date effectiveDate)
Returns the labels defined on a view object definition and row-level UI hints defined on a view row for a given locale.
Parameters:
dataObject - the SDO DataObject that represents the view row
voName - service view instance name
localeName - locale name
Returns:
object labels and row-level control hints.

getServiceLastUpdateTime

public java.sql.Timestamp getServiceLastUpdateTime()

getServiceLastUpdateTimeAsync

public java.sql.Timestamp getServiceLastUpdateTimeAsync()
                                                 throws ServiceException
getServiceLastUpdateTimeAsync: generated method. Do not modify.
Throws:
ServiceException

getEntityList

public java.util.List<ServiceViewInfo> getEntityList()
Gets the list of service views exposed by this service.
Returns:
list of service views exposed by this service.

getEntityListAsync

public java.util.List<ServiceViewInfo> getEntityListAsync()
                                                   throws ServiceException
getEntityListAsync: generated method. Do not modify.
Throws:
ServiceException

invokeCustom

protected final java.lang.Object invokeCustom(java.lang.reflect.Method method,
                                              java.lang.Object[] args,
                                              java.lang.String[] voNames,
                                              boolean enableWarnings)

invokeCustom

protected final java.lang.Object invokeCustom(java.lang.reflect.Method method,
                                              java.lang.Object[] args,
                                              java.lang.String[] voNames,
                                              java.lang.Class interfaceClass,
                                              boolean enableWarnings)

invokeCustom

protected final java.lang.Object invokeCustom(java.lang.reflect.Method method,
                                              java.lang.Object[] args,
                                              java.lang.String[] voNames,
                                              boolean enableWarnings,
                                              java.sql.Date effectiveDate)

invokeCustom

protected final java.lang.Object invokeCustom(java.lang.reflect.Method method,
                                              java.lang.Object[] args,
                                              java.lang.String[] voNames,
                                              java.lang.Class interfaceClass,
                                              boolean enableWarnings,
                                              java.sql.Date effectiveDate)

handleError

protected final java.lang.Object handleError(java.lang.Exception e)

Skip navigation links

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

E52932-01


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