@Deprecated public class InsertDefinitionVModel extends java.lang.Object implements Executable, BodyExecutable
InsertDefinitionModel
to be used in Velocity. For the list of
parameters, see
InsertDefinitionModel.start(org.apache.tiles.TilesContainer, Object...)
, InsertDefinitionModel.end(org.apache.tiles.TilesContainer,
String, String, String, String, String, String, Object...)
and
InsertDefinitionModel.execute(org.apache.tiles.TilesContainer,
String, String, String, String, String, String, Object...)
.Constructor and Description |
---|
InsertDefinitionVModel(InsertDefinitionModel model,
ServletContext servletContext)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Renderable |
end(HttpServletRequest request,
HttpServletResponse response,
Context velocityContext)
Deprecated.
Ends the execution of the commands.
|
Renderable |
execute(HttpServletRequest request,
HttpServletResponse response,
Context velocityContext,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
Executes the command.
|
void |
start(HttpServletRequest request,
HttpServletResponse response,
Context velocityContext,
java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
Starts the execution of the commands.
|
public InsertDefinitionVModel(InsertDefinitionModel model, ServletContext servletContext)
model
- The template model.servletContext
- The servlet context.public Renderable execute(HttpServletRequest request, HttpServletResponse response, Context velocityContext, java.util.Map<java.lang.String,java.lang.Object> params)
execute
in interface Executable
request
- The HTTP request.response
- The HTTP response-velocityContext
- The Velocity context.params
- The map of the parameters.public Renderable end(HttpServletRequest request, HttpServletResponse response, Context velocityContext)
end
in interface BodyExecutable
request
- The HTTP request.response
- The HTTP response-velocityContext
- The Velocity context.public void start(HttpServletRequest request, HttpServletResponse response, Context velocityContext, java.util.Map<java.lang.String,java.lang.Object> params)
start
in interface BodyExecutable
request
- The HTTP request.response
- The HTTP response-velocityContext
- The Velocity context.params
- The map of the parameters.