fr.paris.lutece.plugins.workflow.modules.mappings.business
Class CodeMappingFactory

java.lang.Object
  extended by fr.paris.lutece.plugins.workflow.modules.mappings.business.CodeMappingFactory
All Implemented Interfaces:
ICodeMappingFactory

public class CodeMappingFactory
extends java.lang.Object
implements ICodeMappingFactory

This factory is used for :


Field Summary
static java.lang.String BEAN_FACTORY
           
 
Constructor Summary
CodeMappingFactory()
           
 
Method Summary
 fr.paris.lutece.util.ReferenceList getListMappingTypes(java.util.Locale locale)
          Get the list of mapping types
 IMappingType getMappingType(java.lang.String strMappingTypeKey)
          Get the mapping type
 IMappingTypeComponent getMappingTypeComponent(java.lang.String strMappingTypeKey)
          Get the IMappingTypeComponent type
 java.util.Map<java.lang.String,IMappingTypeComponent> getMappingTypeComponents()
          Get the IMappingTypeComponent
 ICodeMapping newCodeMapping(java.lang.String strMappingTypeKey)
          Create a new instance of ICodeMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_FACTORY

public static final java.lang.String BEAN_FACTORY
See Also:
Constant Field Values
Constructor Detail

CodeMappingFactory

public CodeMappingFactory()
Method Detail

newCodeMapping

public ICodeMapping newCodeMapping(java.lang.String strMappingTypeKey)
Create a new instance of ICodeMapping

Specified by:
newCodeMapping in interface ICodeMappingFactory
Parameters:
strMappingTypeKey - the mapping type key
Returns:
a new instance of ICodeMapping

getMappingTypeComponents

public java.util.Map<java.lang.String,IMappingTypeComponent> getMappingTypeComponents()
Get the IMappingTypeComponent

Specified by:
getMappingTypeComponents in interface ICodeMappingFactory
Returns:
a map of (mapping_type_key, IMappingTypeComponent

getMappingTypeComponent

public IMappingTypeComponent getMappingTypeComponent(java.lang.String strMappingTypeKey)
Get the IMappingTypeComponent type

Specified by:
getMappingTypeComponent in interface ICodeMappingFactory
Parameters:
strMappingTypeKey - the mapping type key
Returns:
a IMappingTypeComponent

getMappingType

public IMappingType getMappingType(java.lang.String strMappingTypeKey)
Get the mapping type

Specified by:
getMappingType in interface ICodeMappingFactory
Parameters:
strMappingTypeKey - the mapping type key
Returns:
a IMappingType

getListMappingTypes

public fr.paris.lutece.util.ReferenceList getListMappingTypes(java.util.Locale locale)
Get the list of mapping types

Specified by:
getListMappingTypes in interface ICodeMappingFactory
Parameters:
locale - the locale
Returns:
a ReferenceList


Copyright © 2012 Mairie de Paris. All Rights Reserved.