Package com.eforce.baby.auth.dao

Examples of com.eforce.baby.auth.dao.DistributionGroupDAO


   * @throws DAOException
   * @throws BusinessException
   */
  public void createDistGroup(String dsName, String dbType, DistributionGroupVO distGroupVOthrows DAOException, BusinessException
  {
    DistributionGroupDAO dao = (DistributionGroupDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.DistributionGroupDAO");
    dao.createDistGroup(dsName,dbType,distGroupVO);
  }
View Full Code Here


  public ReportResultsVO getDistributionGroupByName(String dsName, String dbType, String linkCol, PageInfoVO page, SortInfoVO sort, String userId, String profileRepId ) throws DAOException, BusinessException
  {
    log.debug("dsName: [" + dsName + "] " + "dbType: [" + dbType + "] " + "linkCol: [" + linkCol + "]" + "startPos: [" + page.getStartPosition() + "] " + "rowCount: [" + page.getCount() + "]");
    ReportResultsVO distGroupData = new ReportResultsVO();
    //fetch report results
    DistributionGroupDAO dao = (DistributionGroupDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.DistributionGroupDAO");
    distGroupData = dao.findDistributionGroupByName(dsName, dbType, page, sort,userId,profileRepId);
    distGroupData = super.getDataForDisplay(distGroupData, linkCol);
     
    //      set report specific header keys and their default value keys
    distGroupData.addColumnInfo(1, IConstants.HEADER_KEY_DISTGROUP, IConstants.DEFAULT_DATA_KEY_NR);
    distGroupData.addColumnInfo(2, IConstants.HEADER_KEY_USERID, IConstants.DEFAULT_DATA_KEY_NR);
View Full Code Here

   */
  public DistributionGroupVO getDistGroup(String dsName, String dbType, String reportIDthrows DAOException, BusinessException
  {
    DistributionGroupVO distGroupVO = null;
       
    DistributionGroupDAO dao = (DistributionGroupDAO)DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.DistributionGroupDAO");
    distGroupVO = dao.findDistGroup(dsName, dbType, reportID);

    return distGroupVO;
  }
View Full Code Here

   * @throws DAOException
   * @throws BusinessException
   */
  public void updateDistGroup(String dsName, String dbType, DistributionGroupVO distGroupVO) throws DAOException, BusinessException
  {
    DistributionGroupDAO dao = (DistributionGroupDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.DistributionGroupDAO");
    dao.updateDistGroup(dsName,dbType,distGroupVO);
  }
View Full Code Here

   * @throws BusinessException
   */
  public void delete(String dsName, String dbType, String id) throws DAOException, BusinessException
  {

    DistributionGroupDAO dao = (DistributionGroupDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.DistributionGroupDAO");
    dao.delete(dsName,dbType,id);
  }
View Full Code Here

    log.debug("Calling DistGroupBD.search()");


    log.debug("dsName: [" + dsName + "] " + "dbType: [" + dbType + "] " + "SearchVO: [" + searchVO + "]");
    ReportResultsVO distGroupData = new ReportResultsVO();
    DistributionGroupDAO dao = (DistributionGroupDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.DistributionGroupDAO");
    distGroupData = dao.searchReportResult(dsName, dbType, searchVO, userId, null);
    int i=1;
       
    if(searchVO.getSearchBy().equals(IConstants.SEARCH_DIST_GROUP_BY_NAME))
    {
      distGroupData.addColumnInfo(i++, IConstants.HEADER_KEY_BLANK_SPACE, IConstants.DEFAULT_DATA_KEY_BLANKSPACE);
View Full Code Here

   * @throws DAOException
   * @throws BusinessException
   */
    public ArrayList findGroupsForDistribution(String dsName,String dbType) throws DAOException, BusinessException
    {
    DistributionGroupDAO dao = (DistributionGroupDAO) DAOFactory.getInstance().
                            getDAO(IConstants.CLASS_DIST_GROUP_DAO);
        ArrayList list = null;
        list = dao.findGroupsForDistribution(dsName,dbType);
        return list;
    }
View Full Code Here

TOP

Related Classes of com.eforce.baby.auth.dao.DistributionGroupDAO

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.