Package org.xooof.xooofoscope.dao

Examples of org.xooof.xooofoscope.dao.IInstrumentDAO


  // class methods

  protected SInstrument ejbHomeQueryImpl(XMLDispatcherContext xdCtx, SObjRef rqst)
    throws XMLDispatcherUserException, XMLDispatcherAppException {

    IInstrumentDAO dao = InstrumentDAOFactory.getInstrumentDAOInstance();
   
    try {
      return dao.fetchByPK(new Integer(rqst.getObjId()));
    }
    catch (DAOException e) {
      logcat.error("DAOError", e)
      throw new XMLDispatcherAppException(e.getMessage());
    }     
View Full Code Here


  }

  protected SInstrumentArrayList ejbHomeQueryByTelescopeImpl(XMLDispatcherContext xdCtx, SObjRef rqst)
  throws XMLDispatcherUserException, XMLDispatcherAppException
  {
    IInstrumentDAO dao = InstrumentDAOFactory.getInstrumentDAOInstance();
     
    try {
      return dao.fetchByTelescopeId(new Integer(rqst.getObjId()));
    }
    catch (DAOException e) {
      logcat.error("DAOError", e)
      throw new XMLDispatcherAppException(e.getMessage());
    }     
View Full Code Here

  }
 
  protected SInstrumentArrayList ejbHomeQueryAllImpl(XMLDispatcherContext xdCtx)
  throws XMLDispatcherUserException, XMLDispatcherAppException
  {
    IInstrumentDAO dao = InstrumentDAOFactory.getInstrumentDAOInstance();
   
    try {
      return dao.fetchAll();
    }
    catch (DAOException e) {
      logcat.error("DAOError", e)
      throw new XMLDispatcherAppException(e.getMessage());
    }    
View Full Code Here

TOP

Related Classes of org.xooof.xooofoscope.dao.IInstrumentDAO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.