コード例 #1
0
 /** findProjectsampleByLineitem */
 public java.util.Enumeration findProjectsampleByLineitem(
     com.ardais.bigr.iltds.beans.LineitemKey inKey)
     throws java.rmi.RemoteException, javax.ejb.FinderException {
   EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);
   Object[] _jacc_parms = null;
   java.util.Enumeration _EJS_result = null;
   try {
     if (container.doesJaccNeedsEJBArguments(this)) {
       _jacc_parms = new Object[1];
       _jacc_parms[0] = inKey;
     }
     com.ardais.bigr.iltds.beans.EJSCMPProjectsampleHomeBean_1fc02fe2 beanRef =
         (com.ardais.bigr.iltds.beans.EJSCMPProjectsampleHomeBean_1fc02fe2)
             container.preInvoke(this, 2, _EJS_s, _jacc_parms);
     _EJS_result = beanRef.findProjectsampleByLineitem(inKey);
   } catch (java.rmi.RemoteException ex) {
     _EJS_s.setUncheckedException(ex);
   } catch (javax.ejb.FinderException ex) {
     _EJS_s.setCheckedException(ex);
     throw ex;
   } catch (Throwable ex) {
     _EJS_s.setUncheckedException(ex);
     throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);
   } finally {
     try {
       container.postInvoke(this, 2, _EJS_s);
     } finally {
       container.putEJSDeployedSupport(_EJS_s);
     }
   }
   return _EJS_result;
 }
コード例 #2
0
 /** getHomeHandle */
 public javax.ejb.HomeHandle getHomeHandle() throws java.rmi.RemoteException {
   EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);
   Object[] _jacc_parms = null;
   javax.ejb.HomeHandle _EJS_result = null;
   try {
     if (container.doesJaccNeedsEJBArguments(this)) {
       _jacc_parms = new Object[0];
     }
     com.ardais.bigr.iltds.beans.EJSCMPProjectsampleHomeBean_1fc02fe2 beanRef =
         (com.ardais.bigr.iltds.beans.EJSCMPProjectsampleHomeBean_1fc02fe2)
             container.preInvoke(this, 5, _EJS_s, _jacc_parms);
     _EJS_result = beanRef.getHomeHandle();
   } catch (java.rmi.RemoteException ex) {
     _EJS_s.setUncheckedException(ex);
   } catch (Throwable ex) {
     _EJS_s.setUncheckedException(ex);
     throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);
   } finally {
     try {
       container.postInvoke(this, 5, _EJS_s);
     } finally {
       container.putEJSDeployedSupport(_EJS_s);
     }
   }
   return _EJS_result;
 }
コード例 #3
0
  /** remove */
  public void remove(javax.ejb.Handle arg0)
      throws java.rmi.RemoteException, javax.ejb.RemoveException {
    EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);
    Object[] _jacc_parms = null;

    try {
      if (container.doesJaccNeedsEJBArguments(this)) {
        _jacc_parms = new Object[1];
        _jacc_parms[0] = arg0;
      }
      com.ardais.bigr.iltds.beans.EJSCMPProjectsampleHomeBean_1fc02fe2 beanRef =
          (com.ardais.bigr.iltds.beans.EJSCMPProjectsampleHomeBean_1fc02fe2)
              container.preInvoke(this, 7, _EJS_s, _jacc_parms);
      beanRef.remove(arg0);
    } catch (java.rmi.RemoteException ex) {
      _EJS_s.setUncheckedException(ex);
    } catch (javax.ejb.RemoveException ex) {
      _EJS_s.setCheckedException(ex);
      throw ex;
    } catch (Throwable ex) {
      _EJS_s.setUncheckedException(ex);
      throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);
    } finally {
      try {
        container.postInvoke(this, 7, _EJS_s);
      } finally {
        container.putEJSDeployedSupport(_EJS_s);
      }
    }
    return;
  }
コード例 #4
0
 /** create */
 public com.ardais.bigr.iltds.beans.Projectsample create(
     java.lang.String argSamplebarcodeid,
     com.ardais.bigr.iltds.beans.LineitemKey argLineitem,
     com.ardais.bigr.iltds.beans.ProjectKey argProject)
     throws javax.ejb.CreateException, java.rmi.RemoteException {
   EJSDeployedSupport _EJS_s = container.getEJSDeployedSupport(this);
   Object[] _jacc_parms = null;
   com.ardais.bigr.iltds.beans.Projectsample _EJS_result = null;
   try {
     if (container.doesJaccNeedsEJBArguments(this)) {
       _jacc_parms = new Object[3];
       _jacc_parms[0] = argSamplebarcodeid;
       _jacc_parms[1] = argLineitem;
       _jacc_parms[2] = argProject;
     }
     com.ardais.bigr.iltds.beans.EJSCMPProjectsampleHomeBean_1fc02fe2 beanRef =
         (com.ardais.bigr.iltds.beans.EJSCMPProjectsampleHomeBean_1fc02fe2)
             container.preInvoke(this, 0, _EJS_s, _jacc_parms);
     _EJS_result = beanRef.create(argSamplebarcodeid, argLineitem, argProject);
   } catch (javax.ejb.CreateException ex) {
     _EJS_s.setCheckedException(ex);
     throw ex;
   } catch (java.rmi.RemoteException ex) {
     _EJS_s.setUncheckedException(ex);
   } catch (Throwable ex) {
     _EJS_s.setUncheckedException(ex);
     throw new java.rmi.RemoteException("bean method raised unchecked exception", ex);
   } finally {
     try {
       container.postInvoke(this, 0, _EJS_s);
     } finally {
       container.putEJSDeployedSupport(_EJS_s);
     }
   }
   return _EJS_result;
 }