Package com.eteam.ems.auth.dao

Examples of com.eteam.ems.auth.dao.GroupDAO



    log.debug("dsName: [" + dsName + "] " + "dbType: [" + dbType + "] " + "SearchVO: [" + searchVO + "]");
    ReportResultsVO groupData = new ReportResultsVO();

    GroupDAO dao = (GroupDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.GroupDAO");
    groupData = dao.searchReportResult(dsName, dbType, searchVO, userId, null);
    int i=1;

    if(searchVO.getSearchBy().equals(IConstants.SEARCH_GROUP_BY_NAME))
    {
      groupData.addColumnInfo(i++, IConstants.HEADER_KEY_BLANK_SPACE, IConstants.DEFAULT_DATA_KEY_BLANKSPACE);
View Full Code Here


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

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

  public ReportResultsVO getGroupByName(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 reportData = new ReportResultsVO();
    //fetch report results
    GroupDAO dao = (GroupDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.GroupDAO");
    reportData = dao.findGroupByName(dsName, dbType, page, sort,userId,profileRepId);
    reportData = super.getDataForDisplay(reportData, linkCol);
     
    //    set report specific header keys and their default value keys
    reportData.addColumnInfo(1, IConstants.HEADER_KEY_GROUP, IConstants.DEFAULT_DATA_KEY_NR);
    reportData.addColumnInfo(2, IConstants.HEADER_KEY_ROLE, IConstants.DEFAULT_DATA_KEY_NR);
View Full Code Here

  public ReportResultsVO getGroupByRole(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 reportData = new ReportResultsVO();
    //fetch report results
    GroupDAO dao = (GroupDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.GroupDAO");
    reportData = dao.findGroupByRole(dsName, dbType, page, sort,userId,profileRepId);
    reportData = super.getDataForDisplay(reportData, linkCol);

    //    set report specific header keys and their default value keys
    reportData.addColumnInfo(1, IConstants.HEADER_KEY_ROLE, IConstants.DEFAULT_DATA_KEY_NR);
    reportData.addColumnInfo(2, IConstants.HEADER_KEY_GROUP, IConstants.DEFAULT_DATA_KEY_NR);
View Full Code Here

   */
  public GroupVO findGroup( String dsName, String dbType, String groupID) throws DAOException, BusinessException
  {
    GroupVO groupVO = null;

    GroupDAO dao = (GroupDAO) DAOFactory.getInstance().
              getDAO("com.eteam.ems.auth.dao.GroupDAO");
    groupVO = dao.findGroup(dsName, dbType, groupID);

    return groupVO;
  }
View Full Code Here

   * @throws DAOException
   * @throws BusinessException
   */
  public void createGroup(String dsName, String dbType, GroupVO groupVOthrows DAOException, BusinessException
  {
    GroupDAO dao = (GroupDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.GroupDAO");
    dao.createGroup(dsName,dbType,groupVO);
  }
View Full Code Here

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

TOP

Related Classes of com.eteam.ems.auth.dao.GroupDAO

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.