com.ibm.mashups.enabler.model
Interface TemplateModel
- All Superinterfaces:
- Invalidatable, ListModel, ListModelController, Locator, Model, SubmittableFormProvider
public TemplateModel
- extends ListModelController, Invalidatable, SubmittableFormProvider
Interface for a template model.
| Methods inherited from interface com.ibm.mashups.enabler.Locator |
find |
commit
DeferredOperation commit()
-
Commits the modifications applied to this model and all dependent models.
- Returns:
-
a deferred object used to start this operation. The return value when executed through the deferred object is
null
confirmExport
Boolean confirmExport(TemplateNode template)
-
Confirms whether exporting the template is possible.
- Parameters:
template -
template object or template uri (without any scope). Must not be null
- Returns:
-
true if the node can be exported, false otherwise.
getSubmittableImportForm
SubmittableForm getSubmittableImportForm(String id)
-
Returns a SubmittableForm object associated with the given id to import a template. Same as
getSubmittableForm
- Parameters:
id -
the id of the html form this object is associated with
- Returns:
-
SubmittableForm object, maybe
null
Copyright IBM Corp. 2010 All Rights Reserved.