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
_catalogsManagerFields inherited from class org.ametys.odf.cdmfr.AbstractCDMfrProcessor
_odfHelper, _sourceResolver -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Source_getCDMfrContent(Program program) Get the CDM-fr of the current program.protected voidprocessProgram(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, serviceMethods inherited from class org.ametys.odf.cdmfr.AbstractCDMfrProcessor
isActive, processProgramsMethods 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:AbstractCDMfrProcessorGet the CDM-fr of the current program.- Overrides:
_getCDMfrContentin classAbstractCDMfrProcessor- Parameters:
program- The program to export as CDM-fr- Returns:
- The
InputStreamwith the CDM-fr content - Throws:
IOException- if an exception occurs
-
processProgram
Description copied from class:AbstractCDMfrProcessorProcess the program and its CDM-fr input stream.- Overrides:
processProgramin classSendCDMfrProcessor- Parameters:
program- The programcdmfrContent- The CDM-fr content asInputStream- Throws:
IOException- if an exception occurs
-