fr.paris.lutece.plugins.workflow.modules.mappings.web.component
Interface IMappingTypeComponent

All Known Implementing Classes:
AbstractMappingTypeComponent, ActionMappingTypeComponent, SimpleMappingTypeComponent

public interface IMappingTypeComponent

This class represent the representation of the form for each mapping type.


Method Summary
 void addParameter(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.util.url.UrlItem url)
          Add parameters to the url
 java.lang.String getCreateCodeMappingHtml(javax.servlet.http.HttpServletRequest request, java.util.Locale locale)
          Get the HTML code for creating a code mapping
 IMappingType getMappingType()
          Get the mapping type
 java.lang.String getModifyCodeMappingHtml(ICodeMapping codeMapping, javax.servlet.http.HttpServletRequest request, java.util.Locale locale)
          Get the HTML code for modifying a code mapping
 void setMappingType(IMappingType mappingType)
          Set the mapping type
 

Method Detail

getMappingType

IMappingType getMappingType()
Get the mapping type

Returns:
a IMappingType

setMappingType

void setMappingType(IMappingType mappingType)
Set the mapping type

Parameters:
mappingType - the mapping type

getCreateCodeMappingHtml

java.lang.String getCreateCodeMappingHtml(javax.servlet.http.HttpServletRequest request,
                                          java.util.Locale locale)
Get the HTML code for creating a code mapping

Parameters:
request - the HTTP request
locale - the Locale
Returns:
the HTML code

getModifyCodeMappingHtml

java.lang.String getModifyCodeMappingHtml(ICodeMapping codeMapping,
                                          javax.servlet.http.HttpServletRequest request,
                                          java.util.Locale locale)
Get the HTML code for modifying a code mapping

Parameters:
codeMapping - the code mapping
request - the HTTP request
locale - the Locale
Returns:
the HTML code

addParameter

void addParameter(javax.servlet.http.HttpServletRequest request,
                  fr.paris.lutece.util.url.UrlItem url)
Add parameters to the url

Parameters:
request - the HTTP request
url - the url


Copyright © 2012 Mairie de Paris. All Rights Reserved.