public final class TaskUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ASSIGNEE |
static String |
CREATED_TIME |
static String |
DUEDATE |
static String |
MEMBERSHIP |
static String |
NONE |
static String |
PRIORITY |
static String |
PROJECT |
static String |
RANK |
static String |
STATUS |
static String |
TITLE |
static String |
URL_TASK_DETAIL |
| Modifier and Type | Method and Description |
|---|---|
static org.exoplatform.calendar.model.Event |
buildEvent(org.exoplatform.calendar.model.Event event,
Task task) |
static String |
buildTaskURL(Task task,
org.exoplatform.portal.mop.SiteKey siteKey,
org.exoplatform.container.ExoContainer container,
org.exoplatform.web.controller.router.Router router) |
static Map<String,String> |
getDefGroupBys(long currentProject,
ResourceBundle bundle) |
static Map<String,String> |
getDefOrders(ResourceBundle bundle) |
static String |
getPeriod(long time,
ResourceBundle bundle) |
static long |
getTaskIdFromURI(String requestPath) |
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(Calendar start,
Calendar end,
ResourceBundle bundle) |
static Map<GroupKey,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 URL_TASK_DETAIL
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 final String MEMBERSHIP
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<GroupKey,List<Task>> groupTasks(List<Task> tasks, String groupBy, TimeZone userTimezone, ResourceBundle bundle)
public static String getPeriod(long time, ResourceBundle bundle)
public static String getWorkPlan(Calendar start, Calendar end, ResourceBundle bundle)
public static long getTaskIdFromURI(String requestPath)
public static String buildTaskURL(Task task, org.exoplatform.portal.mop.SiteKey siteKey, org.exoplatform.container.ExoContainer container, org.exoplatform.web.controller.router.Router router)
public static org.exoplatform.calendar.model.Event buildEvent(org.exoplatform.calendar.model.Event event,
Task task)
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.