public class TicketingTaskComponent
extends fr.paris.lutece.plugins.workflowcore.web.task.SimpleTaskComponent
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ATTRIBUTE_HIDE_NEXT_STEP_BUTTON |
| Constructor and Description |
|---|
TicketingTaskComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addError(String strMessage)
Add an error message
|
protected void |
addError(String strMessageKey,
Locale locale)
Add an error message
|
String |
doValidateTask(int nIdResource,
String strResourceType,
javax.servlet.http.HttpServletRequest request,
Locale locale,
fr.paris.lutece.plugins.workflowcore.service.task.ITask task) |
protected void |
fillCommons(Map<String,Object> model)
Fill the model with commons objects used in templates
|
String |
getDisplayTaskInformation(int nIdHistory,
javax.servlet.http.HttpServletRequest request,
Locale locale,
fr.paris.lutece.plugins.workflowcore.service.task.ITask task) |
protected Map<String,Object> |
getModel(fr.paris.lutece.plugins.ticketing.business.ticket.Ticket ticket)
Get a model Object filled with default values
|
String |
getTaskInformationXml(int nIdHistory,
javax.servlet.http.HttpServletRequest request,
Locale locale,
fr.paris.lutece.plugins.workflowcore.service.task.ITask task) |
protected fr.paris.lutece.plugins.ticketing.business.ticket.Ticket |
getTicket(int nIdResource,
String strResourceType)
Gives the ticket from resource
|
String |
validateConfig(fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfig config,
javax.servlet.http.HttpServletRequest request) |
doSaveConfig, getDisplayConfigForm, getDisplayTaskFormprotected static final String ATTRIBUTE_HIDE_NEXT_STEP_BUTTON
public String getDisplayTaskInformation(int nIdHistory, javax.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
public String getTaskInformationXml(int nIdHistory, javax.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
public String doValidateTask(int nIdResource, String strResourceType, javax.servlet.http.HttpServletRequest request, Locale locale, fr.paris.lutece.plugins.workflowcore.service.task.ITask task)
doValidateTask in interface fr.paris.lutece.plugins.workflowcore.web.task.ITaskComponentdoValidateTask in class fr.paris.lutece.plugins.workflowcore.web.task.SimpleTaskComponentpublic String validateConfig(fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfig config, javax.servlet.http.HttpServletRequest request)
validateConfig in class fr.paris.lutece.plugins.workflowcore.web.task.TaskComponentprotected void addError(String strMessage)
strMessage - The messageprotected void addError(String strMessageKey, Locale locale)
strMessageKey - The messagelocale - The localeprotected void fillCommons(Map<String,Object> model)
model - The modelprotected Map<String,Object> getModel(fr.paris.lutece.plugins.ticketing.business.ticket.Ticket ticket)
ticket - the ticket used to fill the modelprotected fr.paris.lutece.plugins.ticketing.business.ticket.Ticket getTicket(int nIdResource,
String strResourceType)
nIdResource - the resource idstrResourceType - the resource typenull otherwiseCopyright © 2017 City of Paris. All rights reserved.