1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 package fr.paris.lutece.plugins.deployment.business;
35
36 import java.util.List;
37 import java.util.Locale;
38
39 public interface IAction
40 {
41 void setCode( String strCode );
42
43 String getCode( );
44
45 void setName( String strName );
46
47 String getName( );
48
49 void setI18nKeyName( String strI18nKeyName );
50
51 String getI18nKeyName( );
52
53 void setStatus( Integer strStatus );
54
55 Integer getStatus( );
56
57 void setUsedForStatus( boolean bUsedForStatus );
58
59 boolean isUsedForStatus( );
60
61 boolean isDisplay( );
62
63 void setDisplay( boolean bDisplay );
64
65 void setParameters( List<String> _listParameters );
66
67 void setServerType( String _strServerType );
68
69 String getServerType( );
70
71 List<String> getParameters( );
72
73 String run( Application application, ServerApplicationInstance serverApplicationInstance, CommandResult commandResult, ActionParameter... parameter );
74
75 boolean canRunAction( Application application, ServerApplicationInstance serverApplicationInstance, CommandResult commandResult,
76 ActionParameter... parameter );
77
78 String getTemplateFormAction( Application application, ServerApplicationInstance serverApplicationInstance, Locale locale );
79
80 void setIconCssClass( String _strIconCssClass );
81
82 String getIconCssClass( );
83
84 boolean isStopWorkflowIfExecutionError( );
85
86 void setStopWorkflowIfExecutionError(
87
88 boolean _bStopWorkflowIfExecutionError );
89 }