public final class TaskUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ASSIGNEE |
static String |
CREATED_TIME |
static String |
DUEDATE |
static String |
NONE |
static String |
PRIORITY |
static String |
PROJECT |
static String |
RANK |
static String |
STATUS |
static String |
TITLE |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
getDefGroupBys(long currentProject,
ResourceBundle bundle) |
static Map<String,String> |
getDefOrders(ResourceBundle bundle) |
static String |
getPeriod(long time,
ResourceBundle bundle) |
static TaskModel |
getTaskModel(Long id,
boolean loadAllComment,
ResourceBundle bundle,
String username,
TaskService taskService,
org.exoplatform.services.organization.OrganizationService orgService,
UserService userService,
ProjectService projectService) |
static long |
getTaskNum(String username,
List<Long> spaceProjectIds,
Long projectId,
TaskService taskService) |
static String |
getWorkPlan(Date startDate,
long duration,
ResourceBundle bundle) |
static Map<String,List<Task>> |
groupTasks(List<Task> tasks,
String groupBy,
TimeZone userTimezone,
ResourceBundle bundle) |
static Map<String,String> |
resolve(List<String> keys,
ResourceBundle bundle) |
public static final String TITLE
public static final String PRIORITY
public static final String DUEDATE
public static final String CREATED_TIME
public static final String NONE
public static final String STATUS
public static final String ASSIGNEE
public static final String PROJECT
public static final String RANK
public static Map<String,String> getDefOrders(ResourceBundle bundle)
public static Map<String,String> getDefGroupBys(long currentProject, ResourceBundle bundle)
public static long getTaskNum(String username, List<Long> spaceProjectIds, Long projectId, TaskService taskService)
public static TaskModel getTaskModel(Long id, boolean loadAllComment, ResourceBundle bundle, String username, TaskService taskService, org.exoplatform.services.organization.OrganizationService orgService, UserService userService, ProjectService projectService) throws TaskNotFoundException
TaskNotFoundExceptionpublic static Map<String,List<Task>> groupTasks(List<Task> tasks, String groupBy, TimeZone userTimezone, ResourceBundle bundle)
public static String getPeriod(long time, ResourceBundle bundle)
public static String getWorkPlan(Date startDate, long duration, ResourceBundle bundle)
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.