|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.fdw.modules.wizard.service.WizardService
public class WizardService
WizardService
| Field Summary | |
|---|---|
static String |
BEAN_SERVICE
|
| Constructor Summary | |
|---|---|
WizardService()
|
|
| Method Summary | |
|---|---|
void |
deleteWorkflow(int nIdWorkflow)
Deletes a given workflow |
int |
doCopyDirectory(fr.paris.lutece.plugins.directory.business.Directory directoryToCopy,
String copyName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy a given directory |
int |
doCopyDirectoryWithWorkflow(fr.paris.lutece.plugins.directory.business.Directory directoryToCopy,
String directoryCopyName,
String workflowCopyName,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
Locale locale)
Copy a given directory and its workflow |
int |
doCopyForm(fr.paris.lutece.plugins.form.business.Form formToCopy,
String copyName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy a given form |
void |
doCopyTaskWithModifiedParam(fr.paris.lutece.plugins.workflowcore.service.task.ITask taskToCopy,
Map<String,String> mapParamToChange)
Copy the task whose key is specified in the Http request and update param if exists |
int |
doCopyWorkflow(fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow workflowToCopy,
String copyName,
Locale locale)
Copy a given workflow |
fr.paris.lutece.plugins.directory.business.Directory |
getDirectory(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Gets a directory |
fr.paris.lutece.plugins.directory.business.Directory |
getDirectoryAssociatedToForm(fr.paris.lutece.plugins.form.business.Form form)
Gets the directory associted to a given form |
fr.paris.lutece.plugins.form.business.Form |
getForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Gets a form |
static WizardService |
getInstance()
Returns the instance of the singleton |
fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow |
getWorkflow(int nIdWorkflow)
Gets a workflow |
void |
init()
Initialize the service |
void |
setActionService(fr.paris.lutece.plugins.workflowcore.service.action.IActionService actionService)
|
void |
setStateService(fr.paris.lutece.plugins.workflowcore.service.state.IStateService stateService)
|
void |
setTaskService(fr.paris.lutece.plugins.workflowcore.service.task.ITaskService taskService)
|
void |
setWorkflowService(fr.paris.lutece.plugins.workflowcore.service.workflow.IWorkflowService workflowService)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BEAN_SERVICE
| Constructor Detail |
|---|
public WizardService()
| Method Detail |
|---|
public void init()
public static WizardService getInstance()
public void setWorkflowService(fr.paris.lutece.plugins.workflowcore.service.workflow.IWorkflowService workflowService)
workflowService - the workflowService to setpublic void setActionService(fr.paris.lutece.plugins.workflowcore.service.action.IActionService actionService)
actionService - the actionService to setpublic void setStateService(fr.paris.lutece.plugins.workflowcore.service.state.IStateService stateService)
stateService - the stateService to setpublic void setTaskService(fr.paris.lutece.plugins.workflowcore.service.task.ITaskService taskService)
taskService - the taskService to set
public fr.paris.lutece.plugins.directory.business.Directory getDirectory(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDirectory - the id of the directoryplugin - the plugin
public fr.paris.lutece.plugins.form.business.Form getForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the id of the formplugin - the plugin
public fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow getWorkflow(int nIdWorkflow)
nIdWorkflow - the id of the workflow
public int doCopyWorkflow(fr.paris.lutece.plugins.workflowcore.business.workflow.Workflow workflowToCopy,
String copyName,
Locale locale)
throws DuplicationException
workflowToCopy - the workflow to copycopyName - the name of the copylocale - the locale
DuplicationException - the duplication exception
public void doCopyTaskWithModifiedParam(fr.paris.lutece.plugins.workflowcore.service.task.ITask taskToCopy,
Map<String,String> mapParamToChange)
throws NoSuchMethodException,
IllegalAccessException,
InvocationTargetException
taskToCopy - the task to copymapParamToChange - the mapNoSuchMethodException - NoSuchMethodException the
NoSuchMethodException
IllegalAccessException - IllegalAccessException the
IllegalAccessException
InvocationTargetException - InvocationTargetException the
InvocationTargetException
public int doCopyDirectory(fr.paris.lutece.plugins.directory.business.Directory directoryToCopy,
String copyName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
directoryToCopy - the directory to copycopyName - the name of the copyplugin - the plugin
public int doCopyForm(fr.paris.lutece.plugins.form.business.Form formToCopy,
String copyName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
formToCopy - the form to copycopyName - the name of the copyplugin - the plugin
public int doCopyDirectoryWithWorkflow(fr.paris.lutece.plugins.directory.business.Directory directoryToCopy,
String directoryCopyName,
String workflowCopyName,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
Locale locale)
throws DuplicationException
directoryToCopy - the directory to copydirectoryCopyName - the name of the copyworkflowCopyName - the name of the copyplugin - the pluginlocale - the locale
DuplicationException - the duplication exceptionpublic fr.paris.lutece.plugins.directory.business.Directory getDirectoryAssociatedToForm(fr.paris.lutece.plugins.form.business.Form form)
form - the form
public void deleteWorkflow(int nIdWorkflow)
nIdWorkflow - the id of the workflow
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||