Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.server.ejb
Class LocalApplicationModuleImpl

java.lang.Object
  extended byoracle.jbo.server.ejb.SessionBeanImpl
      extended byoracle.jbo.server.ejb.LocalApplicationModuleImpl
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean

public class LocalApplicationModuleImpl
extends SessionBeanImpl

See Also:
Serialized Form

Field Summary
 
Fields inherited from class oracle.jbo.server.ejb.SessionBeanImpl
mApplicationModule
 
Constructor Summary
LocalApplicationModuleImpl()
           
 
Method Summary
 byte[] activateState(int id, boolean remove)
           
 byte[] activateState(int id, boolean remove, SessionData info)
           
 byte[] activateStateForUndo(java.lang.String id, int flags)
           
 void addWarning(JboWarning warn)
           
 void clearVOCaches(java.lang.String entityName, boolean recurse)
           
 ApplicationModule createApplicationModule(java.lang.String amName, java.lang.String defName)
           
 ComponentObject createComponentObject(java.lang.String coName, java.lang.String coDefName)
           
 ViewLink createViewLink(java.lang.String vlName, java.lang.String defName, ViewObject master, ViewObject detail)
           
 ViewLink createViewLinkBetweenViewObjects(java.lang.String vlName, java.lang.String accessorName, ViewObject master, AttributeDef[] srcAttrs, ViewObject detail, AttributeDef[] destAttrs, java.lang.String assocClause)
           
 ViewLink createViewLinkFromEntityAssocName(java.lang.String vlName, java.lang.String entityAssocName, ViewObject master, ViewObject detail)
           
 ViewObject createViewObject(java.lang.String voName, java.lang.String defName)
           
 ViewObject createViewObjectFromQueryClauses(java.lang.String vuName, java.lang.String eoName, java.lang.String selectClause, java.lang.String fromClause, java.lang.String whereClause, java.lang.String orderByClause)
           
 ViewObject createViewObjectFromQueryStmt(java.lang.String vuName, java.lang.String sqlStatement)
           
 ApplicationPoolSvcMsgContext doPoolMessage(ApplicationPoolSvcMsgContext ctx)
           
 void ejbCreate(java.util.Hashtable env)
           
 void fetchAttributeProperties(java.lang.String[] voNames, java.lang.String[][] voAttrNames, LocaleContext locale)
           
 ApplicationModule findApplicationModule(java.lang.String amName)
           
 ComponentObject findComponentObject(java.lang.String coName)
           
 RowSetIterator findRSIForEntity(RowSetIterator[] rsis, int eRowHandle)
           
 ViewLink findViewLink(java.lang.String vlName)
           
 ViewObject findViewObject(java.lang.String voName)
           
 ViewObject findViewObjectUsingEntity(ViewObject[] vos, java.lang.String entityName, java.lang.String[] attrName)
           
 java.lang.Class getApplicationModuleComponentClass()
           
 java.lang.String[] getApplicationModuleNames()
           
 JboExceptionHandler getExceptionHandler()
           
 Session getSession()
           
 ClientDocument getStyles(java.lang.String name)
           
 java.lang.Object getSyncLock()
           
 int getSyncMode()
           
 Transaction getTransaction()
           
protected  int getTransactionTimeout()
           
 java.lang.String[] getViewLinkNames()
           
 java.lang.String[] getViewObjectNames()
           
 boolean isRoot()
           
 boolean isValidIdForUndo(java.lang.String id)
           
 int passivateState(byte[] clientData)
           
 int passivateState(int id, byte[] clientData)
           
 java.lang.String passivateStateForUndo(java.lang.String id, byte[] clientData, int flags)
           
 void prepareSession(SessionData info)
           
protected  void registerTransactionHandlerFactory()
           
 void removeState(int id)
           
 int reservePassivationId()
           
 void resetState(boolean reload)
           
 void resetState(int flags)
           
 void setExceptionHandler(JboExceptionHandler hndlr)
           
 void setStoreForPassiveState(byte storageType)
           
 void setStyles(java.lang.String name, ClientDocument clientDocument)
           
 void setSyncMode(int mode)
           
 void sync()
           
 java.lang.Object[] transformExceptionParams(ViewObject[] vos, java.lang.String entityDefName, java.lang.String className, java.lang.Object[] params)
           
protected  boolean useGlobalTransaction()
           
 
Methods inherited from class oracle.jbo.server.ejb.SessionBeanImpl
connectToDataSource, createApplicationModule, createApplicationModule, createTransactionHandlerFactory, disconnectFromDataSource, doMessage, ejbActivate, ejbPassivate, ejbRemove, getApplicationModule, getApplicationModuleDefName, getConfigurationName, getSessionContext, getTransactionTimeOut, isJboBean, isTransactionManagedByBean, postApplicationModuleCreate, removeApplicationModule, setApplicationModuleDefName, setConfigurationName, setCurrentSessionContext, setSessionContext, useDataSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalApplicationModuleImpl

public LocalApplicationModuleImpl()
Method Detail

ejbCreate

public void ejbCreate(java.util.Hashtable env)
               throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

createApplicationModule

public ApplicationModule createApplicationModule(java.lang.String amName,
                                                 java.lang.String defName)
                                          throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

findApplicationModule

public ApplicationModule findApplicationModule(java.lang.String amName)
                                        throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

getApplicationModuleNames

public java.lang.String[] getApplicationModuleNames()
                                             throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

sync

public void sync()
          throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

setSyncMode

public void setSyncMode(int mode)
                 throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

getSyncMode

public int getSyncMode()
                throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

createViewObject

public ViewObject createViewObject(java.lang.String voName,
                                   java.lang.String defName)
                            throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

createViewObjectFromQueryClauses

public ViewObject createViewObjectFromQueryClauses(java.lang.String vuName,
                                                   java.lang.String eoName,
                                                   java.lang.String selectClause,
                                                   java.lang.String fromClause,
                                                   java.lang.String whereClause,
                                                   java.lang.String orderByClause)
                                            throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

createViewObjectFromQueryStmt

public ViewObject createViewObjectFromQueryStmt(java.lang.String vuName,
                                                java.lang.String sqlStatement)
                                         throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

findViewObject

public ViewObject findViewObject(java.lang.String voName)
                          throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

getViewObjectNames

public java.lang.String[] getViewObjectNames()
                                      throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

createViewLink

public ViewLink createViewLink(java.lang.String vlName,
                               java.lang.String defName,
                               ViewObject master,
                               ViewObject detail)
                        throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

createViewLinkFromEntityAssocName

public ViewLink createViewLinkFromEntityAssocName(java.lang.String vlName,
                                                  java.lang.String entityAssocName,
                                                  ViewObject master,
                                                  ViewObject detail)
                                           throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

createViewLinkBetweenViewObjects

public ViewLink createViewLinkBetweenViewObjects(java.lang.String vlName,
                                                 java.lang.String accessorName,
                                                 ViewObject master,
                                                 AttributeDef[] srcAttrs,
                                                 ViewObject detail,
                                                 AttributeDef[] destAttrs,
                                                 java.lang.String assocClause)
                                          throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

findViewLink

public ViewLink findViewLink(java.lang.String vlName)
                      throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

getViewLinkNames

public java.lang.String[] getViewLinkNames()
                                    throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

createComponentObject

public ComponentObject createComponentObject(java.lang.String coName,
                                             java.lang.String coDefName)
                                      throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

findComponentObject

public ComponentObject findComponentObject(java.lang.String coName)
                                    throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

isRoot

public boolean isRoot()
               throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

getTransaction

public Transaction getTransaction()
                           throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

getSession

public Session getSession()
                   throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

getSyncLock

public java.lang.Object getSyncLock()
                             throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

clearVOCaches

public void clearVOCaches(java.lang.String entityName,
                          boolean recurse)
                   throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

findRSIForEntity

public RowSetIterator findRSIForEntity(RowSetIterator[] rsis,
                                       int eRowHandle)
                                throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

findViewObjectUsingEntity

public ViewObject findViewObjectUsingEntity(ViewObject[] vos,
                                            java.lang.String entityName,
                                            java.lang.String[] attrName)
                                     throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

transformExceptionParams

public java.lang.Object[] transformExceptionParams(ViewObject[] vos,
                                                   java.lang.String entityDefName,
                                                   java.lang.String className,
                                                   java.lang.Object[] params)
                                            throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

getExceptionHandler

public JboExceptionHandler getExceptionHandler()
                                        throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

setExceptionHandler

public void setExceptionHandler(JboExceptionHandler hndlr)
                         throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

addWarning

public void addWarning(JboWarning warn)
                throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

getStyles

public ClientDocument getStyles(java.lang.String name)
                         throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

setStyles

public void setStyles(java.lang.String name,
                      ClientDocument clientDocument)
               throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

reservePassivationId

public int reservePassivationId()
                         throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

passivateState

public int passivateState(int id,
                          byte[] clientData)
                   throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

passivateState

public int passivateState(byte[] clientData)
                   throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

passivateStateForUndo

public java.lang.String passivateStateForUndo(java.lang.String id,
                                              byte[] clientData,
                                              int flags)
                                       throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

activateState

public byte[] activateState(int id,
                            boolean remove)
                     throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

activateState

public byte[] activateState(int id,
                            boolean remove,
                            SessionData info)
                     throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

activateStateForUndo

public byte[] activateStateForUndo(java.lang.String id,
                                   int flags)
                            throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

isValidIdForUndo

public boolean isValidIdForUndo(java.lang.String id)
                         throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

prepareSession

public void prepareSession(SessionData info)
                    throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

doPoolMessage

public ApplicationPoolSvcMsgContext doPoolMessage(ApplicationPoolSvcMsgContext ctx)
                                           throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

resetState

public void resetState(boolean reload)
                throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

resetState

public void resetState(int flags)
                throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

removeState

public void removeState(int id)
                 throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

setStoreForPassiveState

public void setStoreForPassiveState(byte storageType)
                             throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

fetchAttributeProperties

public void fetchAttributeProperties(java.lang.String[] voNames,
                                     java.lang.String[][] voAttrNames,
                                     LocaleContext locale)
                              throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

getApplicationModuleComponentClass

public java.lang.Class getApplicationModuleComponentClass()
                                                   throws oracle.jbo.common.ejb.JboEJBException
Throws:
oracle.jbo.common.ejb.JboEJBException

registerTransactionHandlerFactory

protected void registerTransactionHandlerFactory()

getTransactionTimeout

protected int getTransactionTimeout()

useGlobalTransaction

protected boolean useGlobalTransaction()

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

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