Examples of MessageParam


Examples of org.projectforge.core.MessageParam

  {
    super(I18N_KEY_STANDARD);
    this.user = user;
    this.accessType = accessType;
    this.operationType = operationType;
    this.msgParams =  new MessageParam[] { new MessageParam(accessType), new MessageParam(operationType) };
    log.info("AccessException: " + this);
  }
View Full Code Here

Examples of org.projectforge.core.MessageParam

    super(I18N_KEY_STANDARD_WITH_TASK);
    this.user = user;
    this.taskId = taskId;
    this.accessType = accessType;
    this.operationType = operationType;
    this.msgParams =  new MessageParam[] { new MessageParam(taskId), new MessageParam(accessType), new MessageParam(operationType) };
    log.info("AccessException: " + this);
  }
View Full Code Here

Examples of org.projectforge.core.MessageParam

  {
    final MessageParam[] result = new MessageParam[3];
    if (taskTree != null && this.taskId != null) {
      final TaskDO task = taskTree.getTaskById(taskId);
      if (task != null) {
        result[0] = new MessageParam(task.getTitle());
      } else {
        result[0] = new MessageParam(taskId);
      }
    } else {
      result[0] = new MessageParam(taskId);
    }
    if (accessType != null) {
      result[1] = new MessageParam(accessType.getI18nKey(), MessageParamType.I18N_KEY);
    }
    if (operationType != null) {
      result[2] = new MessageParam(operationType.getI18nKey(), MessageParamType.I18N_KEY);
    }
    return result;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.