public class OutputProcessorService extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addProcessorAssociation(int nIdForm,
String strKeyProcessor)
Add an association between a form and a processor
|
Collection<IOutputProcessor> |
getAllProcessors()
Get the list of all processors
|
static OutputProcessorService |
getInstance()
Get the instance of this service
|
IOutputProcessor |
getProcessorByKey(String strKey)
Get a processor by its key
|
List<IOutputProcessor> |
getProcessorsByIdForm(int nIdForm)
Get processors associated with a given form
|
boolean |
isUsed(int nIdForm,
String strKeyProcessor)
Check if an association exist between a form and a processor
|
void |
removeProcessorAssociation(int nIdForm,
String strKeyProcessor)
Remove an association between a form and a processor
|
void |
removeProcessorAssociationsByIdForm(int nIdForm)
Remove associations between a form and processors
|
public static OutputProcessorService getInstance()
public Collection<IOutputProcessor> getAllProcessors()
public List<IOutputProcessor> getProcessorsByIdForm(int nIdForm)
nIdForm - The if of the form the processors must be associated withpublic void removeProcessorAssociationsByIdForm(int nIdForm)
nIdForm - The id of the form to remove the associations ofpublic void removeProcessorAssociation(int nIdForm,
String strKeyProcessor)
nIdForm - The id of the formstrKeyProcessor - The key of the processorpublic void addProcessorAssociation(int nIdForm,
String strKeyProcessor)
nIdForm - The id of the formstrKeyProcessor - The key of the processorpublic boolean isUsed(int nIdForm,
String strKeyProcessor)
nIdForm - The id of the formstrKeyProcessor - The key of the processorpublic IOutputProcessor getProcessorByKey(String strKey)
strKey - The key of the processor to getCopyright © 2015 Mairie de Paris. All rights reserved.