public class CodeMappingService extends Object implements ICodeMappingService
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_SERVICE |
| Constructor and Description |
|---|
CodeMappingService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
createCodeMapping(ICodeMapping codeMapping)
Create a code mapping
|
ICodeMapping |
getCodeMapping(int nIdCode)
Get the
ICodeMapping |
fr.paris.lutece.util.ReferenceList |
getListActions(String strMappingTypeKey,
int nIdWorkflow)
Get the list of actions that are not used in the mapping yet.
|
List<ICodeMapping> |
getListCodeMappings()
Get the list of
ICodeMapping |
List<ICodeMapping> |
getListCodeMappingsByFilter(CodeMappingFilter cmFilter)
Get the list of code mappings by filter
|
fr.paris.lutece.util.ReferenceList |
getListWorkflow()
Get the list of workflows
|
boolean |
isCodeMappingValid(ICodeMapping codeMapping)
Check if the code mapping is valid
|
void |
removeCodeMapping(int nIdCode)
Remove the code mapping
|
void |
updateCodeMapping(ICodeMapping codeMapping)
Update the code mapping
|
public static final String BEAN_SERVICE
@Transactional(value="workflow-mappings.transactionManager") public void updateCodeMapping(ICodeMapping codeMapping)
updateCodeMapping in interface ICodeMappingServicecodeMapping - the code mapping@Transactional(value="workflow-mappings.transactionManager") public void removeCodeMapping(int nIdCode)
removeCodeMapping in interface ICodeMappingServicenIdCode - the id code@Transactional(value="workflow-mappings.transactionManager") public boolean createCodeMapping(ICodeMapping codeMapping)
createCodeMapping in interface ICodeMappingServicecodeMapping - the code mappingpublic List<ICodeMapping> getListCodeMappings()
ICodeMappinggetListCodeMappings in interface ICodeMappingServiceICodeMappingpublic List<ICodeMapping> getListCodeMappingsByFilter(CodeMappingFilter cmFilter)
getListCodeMappingsByFilter in interface ICodeMappingServicecmFilter - the filterICodeMappingpublic ICodeMapping getCodeMapping(int nIdCode)
ICodeMappinggetCodeMapping in interface ICodeMappingServicenIdCode - the id codeICodeMappingpublic fr.paris.lutece.util.ReferenceList getListWorkflow()
getListWorkflow in interface ICodeMappingServiceReferenceListpublic fr.paris.lutece.util.ReferenceList getListActions(String strMappingTypeKey, int nIdWorkflow)
getListActions in interface ICodeMappingServicestrMappingTypeKey - the mapping type keynIdWorkflow - the id workflowReferenceListpublic boolean isCodeMappingValid(ICodeMapping codeMapping)
isCodeMappingValid in interface ICodeMappingServicecodeMapping - the code mappingCopyright © 2015 City of Paris. All rights reserved.