Package org.ametys.odf.cdmfr
Class DeleteRemoteProgramProcessor
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.odf.cdmfr.AbstractCDMfrProcessor
org.ametys.odf.cdmfr.SendCDMfrProcessor
org.ametys.odf.cdmfr.DeleteRemoteProgramProcessor
- All Implemented Interfaces:
LogEnabled
,Initializable
,Component
,Serviceable
Processor to delete the program on remote servers.
-
Field Summary
FieldsFields inherited from class org.ametys.odf.cdmfr.SendCDMfrProcessor
_catalogsManager
Fields inherited from class org.ametys.odf.cdmfr.AbstractCDMfrProcessor
_odfHelper, _sourceResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InputStream
_getCDMfrContent
(Program program) Get the CDM-fr of the current program.protected void
processProgram
(Program program, InputStream cdmfrContent) Process the program and its CDM-fr input stream.Methods inherited from class org.ametys.odf.cdmfr.SendCDMfrProcessor
filterPrograms, getConfigActiveParam, getErrorMessage, initialize, isCDMfrForAmetys, service
Methods inherited from class org.ametys.odf.cdmfr.AbstractCDMfrProcessor
isActive, processPrograms
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The component role.
-
-
Constructor Details
-
DeleteRemoteProgramProcessor
public DeleteRemoteProgramProcessor()
-
-
Method Details
-
_getCDMfrContent
Description copied from class:AbstractCDMfrProcessor
Get the CDM-fr of the current program.- Overrides:
_getCDMfrContent
in classAbstractCDMfrProcessor
- Parameters:
program
- The program to export as CDM-fr- Returns:
- The
InputStream
with the CDM-fr content - Throws:
IOException
- if an exception occurs
-
processProgram
Description copied from class:AbstractCDMfrProcessor
Process the program and its CDM-fr input stream.- Overrides:
processProgram
in classSendCDMfrProcessor
- Parameters:
program
- The programcdmfrContent
- The CDM-fr content asInputStream
- Throws:
IOException
- if an exception occurs
-