Package com.eforce.baby.auth.dao

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


      log.debug("dsName: [" + dsName + "] " + "dbType: [" + dbType + "] " + "linkCol: [" + linkCol + "]" + "startPos: [" + page.getStartPosition() + "] " + "rowCount: [" + page.getCount() + "]");
       ReportResultsVO roleData = new ReportResultsVO();
       try
       {
         //fetch report results
        RoleDAO dao = (RoleDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.RoleDAO");
        roleData = dao.findRoleByName(dsName, dbType, page, sort,userId,profileRepId);
        roleData = super.getDataForDisplay(roleData, linkCol);
       
        //    set report specific header keys and their default value keys
        roleData.addColumnInfo(1, IConstants.HEADER_KEY_ROLE, IConstants.DEFAULT_DATA_KEY_NR);
        roleData.addColumnInfo(2, IConstants.HEADER_KEY_GROUP, IConstants.DEFAULT_DATA_KEY_NR);
View Full Code Here


   * @param dbType
   * @param roleVO
   */
  public void createDistGroup(String dsName, String dbType, RoleVO roleVO) throws BusinessException, DAOException
  {
    RoleDAO dao = (RoleDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.RoleDAO");
    dao.createRole(dsName,dbType,roleVO);
   
  }
View Full Code Here

   */
  public RoleVO getRole(String dsName, String dbType, String roleID) throws BusinessException
  {
    RoleVO roleVO = null;
       
        RoleDAO dao = (RoleDAO)DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.RoleDAO");
        try
        {
          log.debug("calling  dao.findRole");
          roleVO = dao.findRole(dsName, dbType, roleID);
          log.debug("returning  dao.findRole");
        }
        catch (DAOException e)
        {
          BusinessException be=new BusinessException(e.getMessage());
View Full Code Here

   * @param dbType
   * @param roleVO
   */
  public void updateRole(String dsName, String dbType, RoleVO roleVOthrows BusinessException, DAOException
  {
    RoleDAO dao = (RoleDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.RoleDAO");
    dao.updateRole(dsName,dbType,roleVO);
  }
View Full Code Here

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

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

    RoleDAO dao = (RoleDAO) DAOFactory.getInstance().getDAO("com.eteam.ems.auth.dao.RoleDAO");
    try
    {
      dao.delete(dsName,dbType,id);
    }
    catch (DAOException e)
    {
      log.error("ERROR in deleteRole ",e);
      BusinessException be=new BusinessException(e.getMessage());
View Full Code Here

TOP

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

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.