Package org.projectforge.web.task

Examples of org.projectforge.web.task.TaskFormatter


  public String getString(final TaskDO task)
  {
    if (task == null) {
      return "";
    }
    final TaskFormatter taskFormatter = TaskFormatter.instance();
    if (taskFormatter != null) {
      return taskFormatter.getTaskPath(task.getId(), true, OutputType.PLAIN);
    } else {
      // Only for test-cases (if task tree is not initialized)
      return task.getTitle();
    }
  }
View Full Code Here

TOP

Related Classes of org.projectforge.web.task.TaskFormatter

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.