Class PilotageHelper
- java.lang.Object
-
- org.ametys.plugins.odfpilotage.helper.PilotageHelper
-
- All Implemented Interfaces:
Initializable
,Component
,Contextualizable
public class PilotageHelper extends Object implements Component, Initializable, Contextualizable
The pilotage helper.
-
-
Field Summary
Fields Modifier and Type Field Description protected Context
_cocoonContext
The cocoon contextprivate File
_pilotageFolder
private File
_pilotageTmpFolder
static String
MCC_MODALITE_SESSION1
MCC Course naturestatic String
MCC_MODALITE_SESSION2
MCC Course naturestatic String
MCC_SESSION_NATURE
MCC Course naturestatic String
NORME
Normestatic String
ROLE
The avalon role
-
Constructor Summary
Constructors Constructor Description PilotageHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextualize(Context context)
File
getPilotageFolder()
Get the pilotage folder.File
getTmpPilotageFolder()
Get the temp pilotage folder.void
initialize()
-
-
-
Field Detail
-
MCC_MODALITE_SESSION1
public static final String MCC_MODALITE_SESSION1
MCC Course nature- See Also:
- Constant Field Values
-
MCC_MODALITE_SESSION2
public static final String MCC_MODALITE_SESSION2
MCC Course nature- See Also:
- Constant Field Values
-
MCC_SESSION_NATURE
public static final String MCC_SESSION_NATURE
MCC Course nature- See Also:
- Constant Field Values
-
NORME
public static final String NORME
Norme- See Also:
- Constant Field Values
-
_cocoonContext
protected Context _cocoonContext
The cocoon context
-
_pilotageFolder
private File _pilotageFolder
-
_pilotageTmpFolder
private File _pilotageTmpFolder
-
-
Constructor Detail
-
PilotageHelper
public PilotageHelper()
-
-
Method Detail
-
contextualize
public void contextualize(Context context) throws ContextException
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
initialize
public void initialize() throws Exception
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
getPilotageFolder
public File getPilotageFolder()
Get the pilotage folder.- Returns:
- The pilotage folder
-
getTmpPilotageFolder
public File getTmpPilotageFolder()
Get the temp pilotage folder.- Returns:
- The sub folder tmp in the pilotage folder
-
-