java.lang.Object
com.pragmatickm.task.servlet.impl.TaskImpl
-
Method Summary
Modifier and TypeMethodDescriptionstatic Priority
getPriorityForStatus
(long now, Task task, StatusResult status) static PageRef
getTaskLogXmlFile
(PageRef pageRef, String taskId) Gets the file that stores the XML data for a task log.static void
writeAfterBody
(Task task, AnyTBODY_c<?, ? extends AnyTABLE_c<?, ?, ?>, ?> tbody, ElementContext context) static AnyTBODY_c<?,
? extends AnyTABLE_c<?, ?, ?>, ?> writeBeforeBody
(ServletContext servletContext, ELContext elContext, HttpServletRequest request, HttpServletResponse response, CaptureLevel captureLevel, AnyPalpableContent<?, ?> palpable, Task task, ValueExpression style) Writes the part before the body.static AnyTBODY_c<?,
? extends AnyTABLE_c<?, ?, ?>, ?> writeBeforeBody
(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, CaptureLevel captureLevel, AnyPalpableContent<?, ?> palpable, Task task, Object style) Writes the part before the body.
-
Method Details
-
writeBeforeBody
public static AnyTBODY_c<?,? extends AnyTABLE_c<?, writeBeforeBody?, ?>, ?> (ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, CaptureLevel captureLevel, AnyPalpableContent<?, ?> palpable, Task task, Object style) throws TaskException, IOException, ServletExceptionWrites the part before the body.- Returns:
- When captureLevel == BODY, the tbody, which may be used to write additional content and must be passed onto
writeAfterBody(com.pragmatickm.task.model.Task, com.aoapps.html.any.AnyTBODY_c, com.semanticcms.core.model.ElementContext)
. For all other capture levels returnsnull
. - Throws:
TaskException
IOException
ServletException
-
writeBeforeBody
public static AnyTBODY_c<?,? extends AnyTABLE_c<?, writeBeforeBody?, ?>, ?> (ServletContext servletContext, ELContext elContext, HttpServletRequest request, HttpServletResponse response, CaptureLevel captureLevel, AnyPalpableContent<?, ?> palpable, Task task, ValueExpression style) throws TaskException, IOException, ServletExceptionWrites the part before the body.- Parameters:
style
- ValueExpression that returns Object, only evaluated for BODY capture level- Returns:
- The tbody, which may be used to write additional content and must be passed onto
writeAfterBody(com.pragmatickm.task.model.Task, com.aoapps.html.any.AnyTBODY_c, com.semanticcms.core.model.ElementContext)
. - Throws:
TaskException
IOException
ServletException
-
writeAfterBody
public static void writeAfterBody(Task task, AnyTBODY_c<?, ? extends AnyTABLE_c<?, throws IOException?, ?>, ?> tbody, ElementContext context) - Throws:
IOException
-
getTaskLogXmlFile
Gets the file that stores the XML data for a task log. -
getPriorityForStatus
-