public abstract class ServiceImpl extends SessionBeanImpl
Modifier and Type | Class and Description |
---|---|
protected class |
ServiceImpl.NamedParam |
Modifier and Type | Field and Description |
---|---|
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.
|
mApplicationModule
Constructor and Description |
---|
ServiceImpl()
default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
connectToDataSource, createApplicationModule, createApplicationModule, createApplicationModuleInternal, createTransactionHandlerFactory, disconnectFromDataSource, doMessage, ejbActivate, ejbPassivate, getApplicationModuleDefName, getConfigurationName, getSessionContext, getTransactionTimeOut, isJboBean, isTransactionManagedByBean, postApplicationModuleCreate, removeApplicationModule, setApplicationModuleDefName, setClientEnv, setConfigurationName, setCurrentSessionContext, setSessionContext, useDataSource
protected java.util.Stack appModuleStack
public static final boolean SUPPORT_LAZY_LOADING
public static final java.lang.String FND_FLEX_INTEGRATED_EXTENSION
public static final java.lang.String SERVICE_INITIALIZED
protected java.util.Stack exceptionHandlerStack
public ServiceImpl()
public void ejbRemove()
SessionBeanImpl
removeApplicationModule
to remove application moduleejbRemove
in interface javax.ejb.SessionBean
ejbRemove
in class SessionBeanImpl
protected ApplicationModule getApplicationModule()
stack
without removing it from the stack.getApplicationModule
in class SessionBeanImpl
null
if the stack is empty.protected final commonj.sdo.DataObject create(java.lang.Object object, java.lang.String voName)
object
- the DataObject to createvoName
- name of the view instanceprotected final commonj.sdo.DataObject create(java.lang.Object object, java.lang.String voName, java.sql.Date effectiveDate)
object
- the DataObject to createvoName
- name of the view instancepublic AttributeList getParentAttributeList(ViewObject viewObject, ViewRowImpl row, java.lang.String attributeName)
protected final MethodResult delete(java.lang.Object object, java.lang.String voName)
protected final MethodResult delete(java.lang.Object object, java.lang.String voName, java.sql.Date effectiveDate)
protected final commonj.sdo.DataObject get(java.lang.Object[] keyValues, java.lang.String voName, java.lang.Class interfaceClass)
protected final commonj.sdo.DataObject get(java.lang.Object[] keyValues, java.lang.String voName, java.lang.Class interfaceClass, java.sql.Date effectiveDate)
protected final commonj.sdo.DataObject merge(java.lang.Object object, java.lang.String voName)
protected final commonj.sdo.DataObject merge(java.lang.Object object, java.lang.String voName, java.sql.Date effectiveDate)
protected final commonj.sdo.DataObject update(java.lang.Object object, java.lang.String voName)
protected final commonj.sdo.DataObject update(java.lang.Object object, java.lang.String voName, java.sql.Date effectiveDate)
protected final java.lang.Object process(java.lang.String operation, ProcessControl processControl, java.util.List request, java.lang.String voName)
protected final java.lang.Object process(java.lang.String operation, ProcessControl processControl, java.util.List request, java.lang.String voName, java.sql.Date effectiveDate)
protected final ProcessData processChangeSummary(ProcessData request, ProcessControl processControl, java.lang.String voName)
protected final ProcessData processChangeSummary(ProcessData request, ProcessControl processControl, java.lang.String voName, java.sql.Date effectiveDate)
protected final java.lang.Object find(FindCriteria findCriteria, FindControl findControl, java.lang.String voName, java.lang.Class interfaceClass)
protected final java.lang.Object find(FindCriteria findCriteria, FindControl findControl, java.lang.String voName, java.lang.Class interfaceClass, java.sql.Date effectiveDate)
protected final java.lang.Object find(FindCriteria findCriteria, FindControl findControl, java.lang.String voName, java.lang.Class interfaceClass, java.lang.String vcName)
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)
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)
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)
protected final java.util.List<AttrCtrlHints> getCtrlHints(java.lang.String voName, java.lang.String localeName)
voName
- service view instance namelocaleName
- locale nameprotected final java.util.List<AttrCtrlHints> getCtrlHints(java.lang.String voName, java.lang.String localeName, java.sql.Date effectiveDate)
voName
- service view instance namelocaleName
- locale namepublic java.util.List<java.lang.String> getCtrlHintsKey(java.lang.String viewName)
viewName
- service view instance nameprotected final java.util.List<java.lang.String> getCtrlHintsKey(java.lang.String voName, java.sql.Date effectiveDate)
voName
- service view instance nameprotected final java.util.List<AttrCtrlHints> getCtrlHints(commonj.sdo.DataObject dataObject, java.lang.String voName, java.lang.String localeName)
dataObject
- the SDO DataObject that represents the view rowvoName
- service view instance namelocaleName
- locale nameprotected final java.util.List<AttrCtrlHints> getCtrlHints(commonj.sdo.DataObject dataObject, java.lang.String voName, java.lang.String localeName, java.sql.Date effectiveDate)
dataObject
- the SDO DataObject that represents the view rowvoName
- service view instance namelocaleName
- locale namepublic ObjAttrHints getDfltObjAttrHints(java.lang.String viewName, java.lang.String localeName)
viewName
- service view instance namelocaleName
- locale namepublic ObjAttrHints getDfltObjAttrHintsAsync(java.lang.String viewName, java.lang.String localeName) throws ServiceException
ServiceException
public ObjAttrHints getObjAttrHints(commonj.sdo.DataObject row, java.lang.String viewName, java.lang.String localeName)
row
- the SDO DataObject that represents the view rowviewName
- service view instance namelocaleName
- locale nameprotected final ObjAttrHints getObjAttrHints(commonj.sdo.DataObject dataObject, java.lang.String voName, java.lang.String localeName, java.sql.Date effectiveDate)
dataObject
- the SDO DataObject that represents the view rowvoName
- service view instance namelocaleName
- locale namepublic java.sql.Timestamp getServiceLastUpdateTime()
public java.sql.Timestamp getServiceLastUpdateTimeAsync() throws ServiceException
ServiceException
public java.util.List<ServiceViewInfo> getEntityList()
public java.util.List<ServiceViewInfo> getEntityListAsync() throws ServiceException
ServiceException
protected final java.lang.Object invokeCustom(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.String[] voNames, boolean enableWarnings)
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)
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)
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)
protected final java.lang.Object handleError(java.lang.Exception e)