fr.paris.lutece.plugins.pluginwizard.service.generator
Class AdminJspControllerGenerator

java.lang.Object
  extended by fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractGenerator
      extended by fr.paris.lutece.plugins.pluginwizard.service.generator.AdminJspControllerGenerator
All Implemented Interfaces:
Generator

public class AdminJspControllerGenerator
extends AbstractGenerator

Admin Jsp Controller Generator


Constructor Summary
AdminJspControllerGenerator()
           
 
Method Summary
 Map generate(PluginModel pm)
          Visiting parts of the file tree structure
 void setBusinessTemplate(String strTemplate)
          Sets the business template
 void setFeatureTemplate(String strTemplate)
          Sets the feature template
 
Methods inherited from class fr.paris.lutece.plugins.pluginwizard.service.generator.AbstractGenerator
build, build, build, build, getFilePath, getFirstCaps, getModel, getTemplate, setTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminJspControllerGenerator

public AdminJspControllerGenerator()
Method Detail

setBusinessTemplate

public void setBusinessTemplate(String strTemplate)
Sets the business template

Parameters:
strTemplate - The template

setFeatureTemplate

public void setFeatureTemplate(String strTemplate)
Sets the feature template

Parameters:
strTemplate - The template

generate

public Map generate(PluginModel pm)
Visiting parts of the file tree structure

Parameters:
pm - The plugin model
Returns:
A hadh map with the name of the file and a string in which is found the corresponding source code


Copyright © 2013 Mairie de Paris. All Rights Reserved.