Package com.founder.fix.fixflow.core.impl.identity

Examples of com.founder.fix.fixflow.core.impl.identity.UserDefinition


 
  public List<UserTo> execute(CommandContext commandContext) {
   
    List<Map<String, Object>> listmMaps=commandContext.getTaskManager().findAgentUsers(userId);
    List<UserTo> userTos=new ArrayList<UserTo>();
    UserDefinition userDefinition=commandContext.getProcessEngineConfigurationImpl().getUserDefinition();
   
    for (Map<String, Object> map : listmMaps) {
      String userIdDataString=StringUtil.getString(map.get("USERID"));
     
      if(userIdDataString!=null&&!userIdDataString.equals("")){
        UserTo userTo=userDefinition.findUserByUserId(userIdDataString);
        userTos.add(userTo);
      }
     
     
    }
View Full Code Here


    this.userId=userId;
  }
 
 
  public List<GroupTo> execute(CommandContext commandContext) {
    UserDefinition userDefinition=Context.getProcessEngineConfiguration().getUserDefinition();
    return userDefinition.getUserInGroups(this.userId);
  }
View Full Code Here

 
 
  public UserDefinition execute(CommandContext commandContext) {
    // TODO Auto-generated method stub
   
    UserDefinition userDefinition=commandContext.getProcessEngineConfigurationImpl().getUserDefinition();
   
    return userDefinition;
  }
View Full Code Here

            + "Best Regards!<br>诚挚问候!<br>Note: Please do not reply to this email , This mailbox does not allow incoming messages."
            + "<br>注意: 本邮件为工作流系统发送,请勿回复。 ";

      }

      UserDefinition userDefinition = Context.getProcessEngineConfiguration().getUserDefinition();

      List<GroupDefinition> groupDefinitions = Context.getProcessEngineConfiguration().getGroupDefinitions();

      if (taskInstance.getAssignee() != null) {
        String to = taskInstance.getAssignee();
        if (!to.equals("")) {
          UserTo userTo = userDefinition.findUserByUserId(to);
          if (userTo != null) {
            String eamil = StringUtil.getString(userTo.getPropertyValue("EMAIL"));
            if (eamil != null && !eamil.equals("")) {
              sendMail(eamil, mailTitle, mailContent,taskInstance);
            }
View Full Code Here

  }
 
  public List<UserTo> execute(CommandContext commandContext) {
    List<Map<String, Object>> listmMaps=commandContext.getTaskManager().findAgentUsers(userId);
    List<UserTo> userTos=new ArrayList<UserTo>();
    UserDefinition userDefinition=commandContext.getProcessEngineConfigurationImpl().getUserDefinition();
    for (Map<String, Object> map : listmMaps) {
      String userIdDataString=StringUtil.getString(map.get("USERID"));
      if(userIdDataString!=null&&!userIdDataString.equals("")){
        UserTo userTo=userDefinition.findUserByUserId(userIdDataString);
        userTos.add(userTo);
      }
    }
    return userTos;
  }
View Full Code Here

 
  public List<Map<String, Object>> execute(CommandContext commandContext) {
   
    List<Map<String, Object>> returnListMaps=new ArrayList<Map<String,Object>>();
    List<Map<String, Object>> listmMaps=commandContext.getTaskManager().findAgentUsers(userId);
    UserDefinition userDefinition=commandContext.getProcessEngineConfigurationImpl().getUserDefinition();
   
    for (Map<String, Object> map : listmMaps) {
      String userIdDataString=StringUtil.getString(map.get("EID"));
     
      if(userIdDataString!=null&&!userIdDataString.equals("")){
        UserTo userTo=userDefinition.findUserByUserId(userIdDataString);
        if(userTo!=null){
          Map<String, Object> mapDataMap=new HashMap<String, Object>();
          mapDataMap.put("userid", userTo.getUserId());
          mapDataMap.put("username", userTo.getUserName());
          mapDataMap.put("count", 0);
View Full Code Here

    this.userId=userId;
  }
  public List<Map<String, Object>> execute(CommandContext commandContext) {
    List<Map<String, Object>> returnListMaps=new ArrayList<Map<String,Object>>();
    List<Map<String, Object>> listmMaps=commandContext.getTaskManager().findAgentToUsers(userId);
    UserDefinition userDefinition=commandContext.getProcessEngineConfigurationImpl().getUserDefinition();
    for (Map<String, Object> map : listmMaps) {
      String userIdDataString=StringUtil.getString(map.get("EID"));
      if(userIdDataString!=null&&!userIdDataString.equals("")){
        UserTo userTo=userDefinition.findUserByUserId(userIdDataString);
        if(userTo !=null){
          Map<String, Object> mapDataMap=new HashMap<String, Object>();
          mapDataMap.put("userid", userTo.getUserId());
          mapDataMap.put("username", userTo.getUserName());
          mapDataMap.put("count", 0);
View Full Code Here

    this.sysMailConfig = fixFlowConfig.getSysMailConfig();
  }

  protected void initUserDefinition() {

    UserDefinition userDefinitionObj = (UserDefinition) ReflectUtil.instantiate("com.founder.fix.fixflow.expand.identity.UserDefinitionImpl");
    AllUserInfo allUserInfo = fixFlowConfig.getDesignerOrgConfig().getAllUserInfo();
    userDefinitionObj.setUserInfoConfig(allUserInfo);
    this.userDefinition = userDefinitionObj;

  }
View Full Code Here

            + "Best Regards!<br>诚挚问候!<br>Note: Please do not reply to this email , This mailbox does not allow incoming messages."
            + "<br>注意: 本邮件为工作流系统发送,请勿回复。 ";

      }

      UserDefinition userDefinition = Context.getProcessEngineConfiguration().getUserDefinition();

      List<GroupDefinition> groupDefinitions = Context.getProcessEngineConfiguration().getGroupDefinitions();

      if (taskInstance.getAssignee() != null) {
        String to = taskInstance.getAssignee();
        if (!to.equals("")) {
          UserTo userTo = userDefinition.findUserByUserId(to);
          if (userTo != null) {
            String eamil = StringUtil.getString(userTo.getPropertyValue("EMAIL"));
            if (eamil != null && !eamil.equals("")) {
              sendMail(eamil, mailTitle, mailContent,taskInstance);
            }
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.impl.identity.UserDefinition

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.