public interface ITaskComponent
extends org.springframework.beans.factory.InitializingBean
Modifier and Type | Method and Description |
---|---|
String |
doSaveConfig(javax.servlet.http.HttpServletRequest request,
Locale locale,
ITask task)
Perform the task configuration
|
String |
doValidateTask(int nIdResource,
String strResourceType,
javax.servlet.http.HttpServletRequest request,
Locale locale,
ITask task)
validates the user input associated to the task
|
String |
getDisplayConfigForm(javax.servlet.http.HttpServletRequest request,
Locale locale,
ITask task)
Returns the informations which must be displayed in the task configuration
|
String |
getDisplayTaskForm(int nIdResource,
String strResourceType,
javax.servlet.http.HttpServletRequest request,
Locale locale,
ITask task)
Returns the informations which must be displayed in the tasks form
|
String |
getDisplayTaskInformation(int nIdHistory,
javax.servlet.http.HttpServletRequest request,
Locale locale,
ITask task)
Return for a document the informations store during processing task
|
String |
getTaskInformationXml(int nIdHistory,
javax.servlet.http.HttpServletRequest request,
Locale locale,
ITask task)
Return a xml which contains for a document the informations store during processing task
|
boolean |
isInvoked(String strKey)
Check if the component is invoked
|
void |
setTaskType(ITaskType taskType)
Set the task type
|
void setTaskType(ITaskType taskType)
taskType
- the task typeboolean isInvoked(String strKey)
strKey
- the key of the taskString getDisplayTaskForm(int nIdResource, String strResourceType, javax.servlet.http.HttpServletRequest request, Locale locale, ITask task)
nIdResource
- the resource idstrResourceType
- the resource typerequest
- requestlocale
- localetask
- the taskString getDisplayConfigForm(javax.servlet.http.HttpServletRequest request, Locale locale, ITask task)
request
- requestlocale
- localetask
- the taskString getDisplayTaskInformation(int nIdHistory, javax.servlet.http.HttpServletRequest request, Locale locale, ITask task)
nIdHistory
- the document idrequest
- the requestlocale
- localetask
- the taskString getTaskInformationXml(int nIdHistory, javax.servlet.http.HttpServletRequest request, Locale locale, ITask task)
nIdHistory
- the document idrequest
- the requestlocale
- localetask
- the taskString doValidateTask(int nIdResource, String strResourceType, javax.servlet.http.HttpServletRequest request, Locale locale, ITask task)
nIdResource
- the resource idstrResourceType
- the resource typerequest
- requestlocale
- localetask
- the taskCopyright © 2020 City of Paris. All rights reserved.