com.ibm.mashups.enabler.layouttemplate
Interface LayoutTemplateModel

All Superinterfaces:
Commitable, ListModel, ListModelController, Locator, Model, ResourceLocator

public LayoutTemplateModel
extends ListModelController, ResourceLocator, Commitable

This list model controller exposes layout templates. It allows to add and remove layout templates.

Since:
2.4

Method Summary
 LayoutTemplate create(JSON context)
           Creates a layout template.
 
Methods inherited from interface com.ibm.mashups.enabler.ListModelController
create, confirmCreate, insert, confirmInsert, remove, confirmRemove
 
Methods inherited from interface com.ibm.mashups.enabler.ListModel
iterator
 
Methods inherited from interface com.ibm.mashups.enabler.model.Model
setStrategy, getStrategies, getStrategy, addStrategy, removeStrategy
 
Methods inherited from interface com.ibm.mashups.enabler.Locator
find
 
Methods inherited from interface com.ibm.mashups.enabler.ResourceLocator
findResourceUrl, findResourceURL
 
Methods inherited from interface com.ibm.mashups.enabler.Locator
find
 
Methods inherited from interface com.ibm.mashups.enabler.Commitable
isDirty, commit
 

Method Detail

create

LayoutTemplate create(JSON context)
Creates a layout template. Note that it will not appear in the model unless it is inserted using the insert method.

Parameters:
context - array of predefined information used for the creation of the layout template. Must not be null. You must specify all of following:
  name - name as string; mandatory
Returns:
the created layout template, or null in case it cannot be created.


Copyright IBM Corp. 2010 All Rights Reserved.