org.ogf.graap.wsag.samples.actions
Class SampleGetTemplateAction
java.lang.Object
org.ogf.graap.wsag.server.actions.AbstractGetTemplateAction
org.ogf.graap.wsag.samples.actions.SampleGetTemplateAction
- All Implemented Interfaces:
- IActionHandler, IGetTemplateAction
public class SampleGetTemplateAction
- extends AbstractGetTemplateAction
SampleGetTemplateAction
- Author:
- hrasheed
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleGetTemplateAction
public SampleGetTemplateAction()
initialize
public void initialize()
throws ActionInitializationException
- Default implementation of action initialization. Subclasses may overwrite this
method in order to provide a custom initialization of a handler.
Initializes an action handler. This method is called when a agreement factory
action initializes its action handlers. It is called once during the the engine initialization.
- Specified by:
initialize
in interface IActionHandler
- Overrides:
initialize
in class AbstractGetTemplateAction
- Throws:
ActionInitializationException
- Indicates an error during handler initialization.
getTemplate
public AgreementTemplateType getTemplate()
- the agreement templates offered by a factory
- Returns:
- the agreement template
getTemplateFilename
public String getTemplateFilename()
- Returns:
- the template filename
setTemplateFilename
public void setTemplateFilename(String templateFilename)
- Parameters:
templateFilename
- the template filename
getTemplateParameters
protected Map<String,Object> getTemplateParameters()
- Returns:
- returns a map with the template parameters used for template creation
Copyright © 2008-2012. All Rights Reserved.