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

📄 sysmanageejb.java

📁 公司自己开发的工作流引擎
💻 JAVA
字号:
package cn.com.iaspec.workflow.sysmanage.ejb;
import javax.ejb.EJBObject;
import java.util.List;
import java.rmi.RemoteException;
import cn.com.iaspec.workflow.vo.db.WfOrganization;
import cn.com.iaspec.workflow.vo.db.WfUser;
import cn.com.iaspec.workflow.vo.db.WfRole;
import java.util.Hashtable;
import cn.com.iaspec.workflow.client.web.formbean.RoleNodeFormbean;
import java.util.Map;
import cn.com.iaspec.workflow.sysmanage.business.ManagingRoleAuthService;

public interface SysManageEJB
    extends EJBObject{
  public List getOrgUserTree(String upOrgId,String areaId)
      throws Exception,RemoteException;

  public List queryUser(WfUser user)
      throws Exception,RemoteException;

  public List queryOrg(WfOrganization org)
      throws Exception,RemoteException;

  public void saveOrg(WfOrganization org)
      throws Exception,RemoteException;

  public void saveUser(WfUser user,String orgId)
      throws Exception,RemoteException;
  public List queryRole(WfRole role)
      throws Exception,RemoteException;

  public void saveRole(WfRole role)
       throws Exception,RemoteException;

  public void addUserToRole(List userList,String roleId)
      throws Exception,RemoteException;

  public void deleteUserFromRole(String userId,String roleId)
      throws Exception,RemoteException;

  public List getOrgUserTree(String upOrgId,String areaId,String userId)
      throws Exception,RemoteException;

  public List querySelectParentOrgList(String upOrgId,String orgId,
      String areaId,String userId)
      throws Exception,RemoteException;

  public Hashtable getOrgOperationAuthorization(String orgId,String userId)
      throws Exception,RemoteException;

  public Hashtable getManagedUserOperationAuthorization(String managedUserId,
      String userId)
      throws Exception,RemoteException;

  public boolean isLoginUserCreateOrg(String userId,String OrgId)
      throws Exception,RemoteException;

  public boolean isLoginUserCreateUser(String loginUserId,String managedUserId)
      throws Exception,RemoteException;

  public List getRoleOrgUserTree(String parentId,String areaId,String roleId,
      String parentType,String userId,boolean isAdmin)
      throws Exception,RemoteException;

  public void addOrgUserToRole(List orgList,List userList,String roleId,
      List orgOperationList,List userOperationList)
      throws Exception,RemoteException;

  public void moveOrgFromRole(String orgId,String roleId)
      throws Exception,RemoteException;

  public void moveUserFromRole(String userId,String roleId)
      throws Exception,RemoteException;

  public Hashtable getManagedRoleOrgOperationAuthorization(String manageRoleId,
      String orgId)
      throws Exception,RemoteException;

  public void updateOrgOperation(String orgId,String roleId,
      String selectOrgOperations)
      throws Exception,RemoteException;

  public Hashtable getManagedRoleUserOperationAuthorization(String manageRoleId,
      String userId)
      throws Exception,RemoteException;

  public void updateUserOperation(String userId,String roleId,
      String selectUserOperations)
      throws Exception,RemoteException;

  public void addUserToOrg(List userList,String orgId)
      throws Exception,RemoteException;

  public void deleteUser(String userId)
      throws Exception,RemoteException;

  public List queryFreeUser()
      throws Exception,RemoteException;

  public void deleteUserFromOrg(String userId,String orgId)
      throws Exception,RemoteException;

  public List querySelectParentOrgList(String upOrgId,String orgId,
      String areaId)
      throws Exception,RemoteException;

  public List getManagingRoleRoleTree(String areaId,String roleId,
    String managingRoleId,String roleType,String userId,boolean isAdmin)
      throws Exception,RemoteException;

  public RoleNodeFormbean getRoleInfo(String roleId)
      throws RemoteException,Exception;

  public Map getRoleGrantedOprMap(String roleId,String managingRoleId)
      throws RemoteException,Exception;

//  public void addRoleOperation(String roleId,String managingRoleId,List operationList)
//      throws RemoteException,Exception;

  public void updateRoleOperation(String roleId,String managingRoleId,List operationList)
      throws RemoteException,Exception;

  public List getRoleTree(String areaId,String roleId,String userId, boolean isAdmin)
      throws RemoteException,Exception;

  public void addRole2ManagingRole(String managingRoleId,List roleIdList,List operationList)
      throws RemoteException,Exception;

  public List getExtFieldList(String caller)throws Exception,RemoteException;

  public WfOrganization queryOrgById(String orgId)throws Exception,RemoteException;

  public WfRole queryRoleById(String roleId)throws Exception,RemoteException;

  public WfUser queryUserById(String userId)throws Exception,RemoteException;

  public List queryOrgTreeList(String orgId,String areaId,String userId)throws RemoteException,Exception;

  public List queryOrgTreeList(String orgId,String areaId)throws RemoteException,Exception;

  public void transferUser(String originalOrgId,String destinationOrgId,String userId)throws RemoteException,Exception;

  public void removeManagedRel(String managingRoleId,String roleId)throws RemoteException,Exception;
}

⌨️ 快捷键说明

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