⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 purviewmanageejbbean.java

📁 公司自己开发的工作流引擎
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
   * @return ArrayList
   * @throws MenuManageException
   */
  public ArrayList getMenuInfo(String up_func_id)
      throws MenuManageException{
    return menuManageControl.getMenuInfo(up_func_id);
  }

  /**
   * 添加新菜单
   * @param la_menu La_Menu
   * @return int
   * @throws MenuManageException
   */
  public int addMenuInfo(WfMenu la_menu)
      throws MenuManageException{
    return menuManageControl.addMenuInfo(la_menu);
  }

  /**
   * 更新菜单信息
   * @param la_menu La_Menu
   * @return int
   * @throws MenuManageException
   */
  public int updateMenuInfo(WfMenu la_menu)
      throws MenuManageException{
    return menuManageControl.updateMenuInfo(la_menu);
  }

  /**
   * 查询菜单信息
   * @param func_id String
   * @return La_Menu
   * @throws MenuManageException
   */
  public WfMenu queryMenuInfo(String func_id)
      throws MenuManageException{
    return menuManageControl.queryMenuInfo(func_id);
  }

  /**
   * 删除菜单信息
   * @param func_id String
   * @return int
   * @throws MenuManageException
   */
  public int deleteMenuInfo(String func_id)
      throws MenuManageException{
    return menuManageControl.deleteMenuInfo(func_id);
  }

  /**
   *取得角色和 功能的信息集合
   * @return ArrayList
   * @throws MenuManageException
   */
  public ArrayList getRole_func_info()
      throws MenuManageException{
    return menuManageControl.getRole_func_info();
  }

  /**
   *添加角色和 功能信息
   * @param role_id String
   * @param menuinfo String
   * @return int
   * @throws MenuManageException
   */
  public int add_Role_func(String role_id,String menuinfo)
      throws MenuManageException{
    return menuManageControl.add_Role_func(role_id,menuinfo);
  }

  /**
   * 删除角色和功能信息
   * @param wf_role_func wf_role_Func
   * @return int
   * @throws MenuManageException
   */
  public int delete_Role_func(WfRoleFunc wf_role_func)
      throws MenuManageException{
    return menuManageControl.delete_Role_func(wf_role_func);
  }

  /**
   *
   * @return ArrayList
   * @throws PurviewManageException
   * @throws MenuManageException
   */
  public ArrayList getRoleActivityInfo()
      throws PurviewManageException,MenuManageException{
    return roleActivityManageControl.getRoleActivityInfo();
  }

  /**
   * 删除角色和活动的关联信息
   * @param role_id String
   * @param act_id long
   * @return int
   * @throws PurviewManageException
   */
  public int deleteRoleActivityInfo(String role_id,String atd_uid)
      throws PurviewManageException{
    return roleActivityManageControl.deleteRoleActivityInfo(role_id,atd_uid);
  }

  /**
   * 添加活动到角色中
   * @param role_id String
   * @param roleactivity String[]
   * @return int
   * @throws PurviewManageException
   */
  public int addRoleActivityInfo(String role_id,String[] roleactivity)
      throws PurviewManageException{
    return roleActivityManageControl.addRoleActivityInfo(role_id,roleactivity);
  }

  /**
   * 到工作流引擎里面取得最新的活动数据
   * @return ArrayList
   * @throws PurviewManageException
   */
  public ArrayList getActivityInfo()
      throws PurviewManageException{
    return roleActivityManageControl.getActivityInfo();
  }

  /**
   * 取得角色和流程的信息集合
   * @return ArrayList
   * @throws PurviewManageException
   * @throws MenuManageException
   */
  public ArrayList getProcdefInfo()
      throws PurviewManageException,MenuManageException{
    return roleProcessManageControl.getProcdefInfo();
  }

  /**
   * 删除角色和流程的信息
   * @param wf_role_Process wf_role_Process
   * @return int
   * @throws PurviewManageException
   */
  public int deleteRoleProcessInfo(WfRoleProcess wf_role_Process)
      throws PurviewManageException{
    return roleProcessManageControl.deleteRoleProcessInfo(wf_role_Process);
  }

  /**
   * 取得所有的最新的流程信息流程信息
   * @return ArrayList
   * @throws PurviewManageException
   */
  public ArrayList getProcessDefInfo()
      throws PurviewManageException{
    return roleProcessManageControl.getProcessDefInfo();
  }

  /**
   *添加角色和流程的关系
   * @param role_id String
   * @param roleprocess String[]
   * @return int
   * @throws PurviewManageException
   */
  public int addRoleProcessInfo(String role_id,String[] roleprocess)
      throws PurviewManageException{
    return roleProcessManageControl.addRoleProcessInfo(role_id,roleprocess);
  }

  /**
   * 根据条件查寻活动信息
   * @param select1 String
   * @param select2 String
   * @param queryname String
   * @return ArrayList
   * @throws QueryDataManageException
   */
  public ArrayList queryActivityInfo(String select1,String select2,
      String queryname)
      throws QueryDataManageException{
    return queryDataManageControl.queryActivityInfo(select1,select2,queryname);
  }

  /**
   * 根据条件查寻用户信息
   * @param select1 String
   * @param select2 String
   * @param queryname String
   * @return ArrayList
   * @throws QueryDataManageException
   */
  public ArrayList queryUserInfo(String select1,String select2,String queryname)
      throws QueryDataManageException{
    return queryDataManageControl.queryUserInfo(select1,select2,queryname);
  }

  /**
   * 更新用户密码
   * @param loginName String
   * @param old_password String
   * @param new_password String
   * @return int
   * @throws Exception
   */
  public int updatePassword(String loginName,String old_password,
      String new_password)
      throws Exception{
    return managePasswordControl.updatePassword(loginName,old_password,
        new_password);
  }

  /**
   * 日历查询分页(rownum==0 为按照当天的日期查询)
   * @param rownum int
   * @param RowsPerPage int
   * @param type String
   * @return ArrayList
   * @throws ManageCalendarException
   */
  public ArrayList query(int rownum,int RowsPerPage,String type)
      throws ManageCalendarException{
    return manageCalendarControl.query(rownum,RowsPerPage,type);
  }

  /**
   *  按时间查询日历
   * @param calendar_date String
   * @return La_calendar
   * @throws ManageCalendarException
   */
  public WfCalendar query(String calendar_date)
      throws ManageCalendarException{
    return manageCalendarControl.query(calendar_date);
  }

  /**
   * 根据时间段按(日期类型)条件查询
   * @param calendar_type String
   * @param begin_time String
   * @param end_time String
   * @return ArrayList
   * @throws ManageCalendarException
   */
  public ArrayList query(String calendar_type,String begin_time,String end_time)
      throws ManageCalendarException{
    return manageCalendarControl.query(calendar_type,begin_time,end_time);
  }

  /**
   * 更新日历信息
   * @param la_calendar La_calendar
   * @return int
   * @throws ManageCalendarException
   */
  public int update(WfCalendar la_calendar)
      throws ManageCalendarException{
    return manageCalendarControl.update(la_calendar);
  }

  /**
   * 取得用户所属行政区
   * @param user UserInfo
   * @throws Exception
   * @return List
   */
  public List getAreaInfo(UserInfo user)
      throws Exception{
    AreaControl control=new AreaControl();
    return control.getAreaInfo(user);
  }

  /**
   * 取得所有行政区信息
   * @param user UserInfo
   * @throws Exception
   * @return List
   */
  public List getAllAreaInfo()
      throws Exception{
    AreaControl control=new AreaControl();
    return control.getAllAreaInfo();
  }

  public void addArea(WfArea area)
      throws Exception{
    WfAreaDAO dao=new WfAreaDAO();
    dao.insert(area);
  }

  public void deleteArea(WfArea area)
      throws Exception{
    WfAreaDAO dao=new WfAreaDAO();
    dao.delete(area);
  }

  public void modifyArea(WfArea area)
      throws Exception{
    WfAreaDAO dao=new WfAreaDAO();
    dao.modify(area);
  }

  public ArrayList  getCollectionInfo(String area_id,String userId)  throws RoleManageException{
    ArrayList list=new ArrayList();
   RoleManageControl ManageControl=new RoleManageControl();
   list=ManageControl.getCollectionInfo(area_id,userId);
   return list;

  }

  public Hashtable  getManagedRoleOperationAuthorization(String managedRoleId,String userId) throws Exception{
    RoleManageControl ManageControl=new RoleManageControl();
    return ManageControl.getManagedRoleOperationAuthorization(managedRoleId,userId);
  }

  public boolean  isLoginUserCreateRole(String userId,String roleId)  throws Exception{
    RoleManageControl ManageControl=new RoleManageControl();
    return ManageControl.isLoginUserCreateRole(userId,roleId);
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -